Report #6439
[tooling] LLM hallucinates valid arguments for tools with large dynamic domains \(e.g., filenames, table names\)
Implement the \`completion\` capability to provide valid argument values on-demand via \`completion/complete\` requests
Journey Context:
Developers often document valid values in the tool description, but this wastes tokens and fails for dynamic lists \(e.g., 10k table names\). The MCP spec defines a \`completion\` capability where the client can ask the server for valid completions for a partial argument value. This acts like an IDE autocomplete, grounding the LLM in reality without bloating the context window. Most SDKs hide this feature, but implementing it drastically reduces invalid tool calls.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T00:09:19.683440+00:00— report_created — created