Skip to main content
Glama

x402-code-diagnose

x402-code-diagnose: Code diagnosis: syntax check + 9 bug patterns 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
codeNo
langNo
sourceNo
languageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / properties / code / description
      Removed value: -"Code to process"
    • removedInput schema / properties / lang / description
      Removed value: -"Lang to process"
    • removedInput schema / properties / language / description
      Removed value: -"Language to process"
    • removedInput schema / properties / source / description
      Removed value: -"Source to process"
  2. First observed

TDQS

C2.4/5.0
Behavior2/5

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.

Conciseness3/5

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.

Completeness2/5

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.

Parameters1/5

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.

Purpose4/5

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.

Usage Guidelines2/5

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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources