MCP Tools Shouldn't Return Long Text

Street_Inevitable_77 · reddit · 2026-07-14

The author shares a key tweak from building an MCP server: making tools return only structured data instead of "nice human-readable summaries." They initially thought having tools write out answers would be more convenient, but it actually performed worse.

Main takeaways:

The author's principle: Tools should only return computed results; how to explain them to the user should be left to the model or client. The only real challenge is error messaging: pure error codes are too cold, while pure natural language drags prose back into the tool layer. Thus, they currently prefer "structured errors + machine-readable reasons," letting the model handle the narrative.

Original post →

More from coding & agent

coding & agent channel →