12:36
2026-07-26
dev.to
developer-tools
I Gave My MCP Tool an ERROR: Convention. I Only Taught It to One of Its Two Failure Paths.
A developer found and fixed a convention mismatch in an MCP tool called `generate_commit_message` that had two different failure formats: one returning an `ERROR:` prefix and another returning a plainβ¦