Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as minia2a — hosted x402 API marketplace (HTTP). If you published it, claim ownership there.

x402-code-diagnose

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

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "code": "<code>"
    },
    "name": "x402-code-diagnose"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes
langNo
sourceNo
languageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "code"
      +]
  2. 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"
  3. First observed

TDQS

C2.2/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 behavioral burden. It does disclose a quota (5 free trial calls per signed wallet), which hints at paid/auth-gated operation, but it never says what happens when the quota is exhausted, what a 'signed wallet' requires, or what the diagnosis result looks like.

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?

It is a single short line with the substantive detail ('syntax check + 9 bug patterns') front-loaded, so there is little waste. But the redundant restatement of the tool name and the promotional emoji/quota tail dilute the signal.

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?

With no annotations, no output schema, and four fully undocumented parameters, the definition leaves too much unspecified for a tool an agent must call correctly. Only the free-trial quota and the 'syntax + 9 bug patterns' scope are conveyed.

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?

All four parameters have 0% schema description coverage and the description says nothing about any of them. It is especially unhelpful that both 'lang' and 'language' exist, plus an unexplained 'source' field, with no clarification of which one controls the language or how they interact.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the resource (code) and adds a concrete scope note, 'syntax check + 9 bug patterns', which tells an agent roughly what the tool returns. However, the leading 'x402-code-diagnose: Code diagnosis' merely restates the tool name, and nothing distinguishes it from siblings such as x402-ai-code-review or x402-ai-code-explain.

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 guidance, no prerequisites, and no mention of alternatives. The only extra sentence concerns pricing ('5 free trial calls per signed wallet'), which does not help an agent decide between this and the code-review/code-explain siblings.

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