Elektrine lite

← Feed

@michabbb@social.vivaldi.net

2026-09-16 05:29 UTC

🔍 #LaravelMCP 1.0 introduces searchable tool catalogs: the tools/list payload stays the same size whether a server exposes 10 tools or 100. #Laravel #MCP #PHP #AI ⚠️ Every MCP tool pushes its name, description and full JSON Schema into the agent's context on every turn. Anthropic puts a 50+ tool setup at around 72,000 tokens upfront. With deferred loading and search, Opus 4 went from 49% to 74% accuracy on large tool libraries. 🧵👇

Replies (1)

  • @michabbb@social.vivaldi.net 2026-09-16 05:29

    🧪 Four versions were built. V1 ran agent-written PHP through eval() inside the app process, Code Mode style, with no boundary at all. V2 evaluated sandboxes (containers, Firecracker, E2B, Daytona, WASM), but each meant new infrastructure for a package. V3 parsed code with nikic/PHP-Parser against an allowlisted PHP subset, which models kept violating with foreach, if and array appends. V4 switched to a JSON batch format the executor supports completely.

    Open ##5103180