MCP: large tool catalogs make agents spend extra calls on discovery
Hey Twenty team!!!! We use a self-hosted Twenty for our CRM and have been testing how well coding agents can use it through MCP.
One recurring problem: agents spend extra calls figuring out which operation to use before getting to the actual CRM work.
Twenty exposes 7 MCP tools, but get_tool_catalog returned 215 database operations in our workspace, or 300 operations without a category filter. The coding agent often truncated the response or saved it to a file. Some agents then searched again or read that file to find the operation they needed.
There also seems to be conflicting guidance in the upstream code:
- The server instructions tell agents to construct operation names without prior discovery.
- The catalog description says they must call it before using
learn_toolsorexecute_tool.
What we saw
We completed 140 trials across 6 read-only CRM scenarios using Codex, Claude Code and OpenCode. We collected the calls and responses with an eval system.
Completed trials: 140
Catalog calls in saved traces: 102
Responses truncated or
saved to a file: 86 of 102
Database catalog: 215 operations
Full catalog: 300 operationsWe counted each catalog call once, matching it to its saved response by call ID. Of the 86 responses, 43 had a truncation notice only, 42 had both truncation and a saved-file notice, and one had a saved-file notice only. These figures cover all retained task traces, including partial attempts.
Agents sometimes needed more MCP calls or file reads just to find the right operation. The amount of extra work varied by agent and model.
These runs used self-hosted Twenty over HTTP MCP. The server reported v2.38.1 on September 22, 2026; we did not record its version during the September 21 runs or rerun on the latest release.
Suggested direction
Could the instructions make these two paths clear?
- Known object and standard operation: construct the name →
learn_tools→execute_tool. - Unsure which operation exists: browse the relevant catalog category →
learn_tools→execute_tool.
learn_tools should confirm the constructed name exists and provide its arguments. If it doesn't exist, the agent can use discovery. The catalog description could say “use this when you don't know which operation to use” instead of making it mandatory before every operation.
The current catalog input supports category filtering, but no search query, result limit or pagination. The exposed MCP tools don't include a capability-search tool.
Could the catalog accept a query and result limit, or could a small search tool return relevant operations? For example:
search_tools(query, domain?, limit=5)
→ operation names and short descriptions
→ learn_tools for the selected operations
→ execute_toolWe saw the related work in #21183 and #22875. Hopefully these findings help show the effect on real agent tasks.
Happy to share sanitized traces and rerun the same scenarios against a change. We can compare discovery calls per task, response sizes and task outcomes.
Source: twentyhq/twenty