x402-code-diagnose
x402-code-diagnose: Code diagnosis: syntax check + 9 bug patterns 🆓 5 free trial calls per signed wallet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| lang | No | ||
| source | No | ||
| language | No |
x402-code-diagnose: Code diagnosis: syntax check + 9 bug patterns 🆓 5 free trial calls per signed wallet
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| lang | No | ||
| source | No | ||
| language | No |
Changes observed during successful MCP inspections.
Input schema / properties / code / descriptionRemoved value: -"Code to process"Input schema / properties / lang / descriptionRemoved value: -"Lang to process"Input schema / properties / language / descriptionRemoved value: -"Language to process"Input schema / properties / source / descriptionRemoved value: -"Source to process"Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are supplied, so the description carries the full disclosure burden. It does add one genuine behavioral fact — a quota of 5 free trial calls per signed wallet — but says nothing about read-only nature, supported languages, output shape, or what happens when the free tier is exhausted.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The core sentence is front-loaded and short, but it redundantly restates the tool name as a prefix and appends an emoji-decorated billing blurb that dilutes the diagnostic content. Nothing is verbose, but some of the space is spent on non-selection-relevant text.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a four-parameter tool with no annotations, no output schema, no enums, and no schema descriptions, the description is far too thin. An agent cannot tell which parameters to supply, which languages are accepted, or what the diagnosis output contains.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0% across four parameters, and the description adds no parameter meaning whatsoever. Critically, it does not disambiguate the overlapping pairs 'code' vs 'source' and 'lang' vs 'language', and since zero parameters are required, an agent has no basis for deciding which to pass.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Names a specific verb and resource ('Code diagnosis') and enumerates the checks performed ('syntax check + 9 bug patterns'), which is enough for an agent to distinguish it from generic siblings like x402-ai-code-review or x402-code-pipeline. It stops short of explicitly naming the alternative tools, so sibling differentiation is only implied by capability wording.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no when-to-use or when-not-to-use guidance and no reference to alternatives, despite a crowded neighborhood of overlapping siblings (x402-ai-code-review, x402-sql-check, x402-code-pipeline, x402-lint-style tools). The only extra clause is a pricing note ('5 free trial calls per signed wallet'), which is billing information rather than invocation guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.