Menu

1 / 2

Your search tool should say no: building an MCP server for an unreliable caller

DEV Community: rust·Goran Cvijanovic·about 7 hours ago
#bdR9sONM
#devtorust#devto#dev#agent#field
Long article (888 words) — no AI summary yet.
Reading 0:00
15s threshold

An agent with a search tool makes typos. It writes platfrom:hn instead of platform:hn , or it asks for a field that exists in one index and not the one it's querying. What happens next depends on the server. Many search engines drop the clause they can't read and answer the rest. The tool call succeeds, the agent gets a confident list of hits, and nothing tells it the hits answer a different question.

For a human at a search box that's a minor annoyance, because you look at the results and notice. An agent doesn't notice. It reasons over what came back.

I build CameoDB , a search database (full-text, key-value and documents in one Rust binary) with an MCP server built in.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.