Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-ai-contract

AI Contract: Analyze a smart contract with AI.

Input Schema

NameRequiredDescriptionDefault
textNo
contractNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / allOf
      Added value: +[
      +  {
      +    "anyOf": [
      +      {
      +        "required": [
      +          "contract"
      +        ]
      +      },
      +      {
      +        "required": [
      +          "text"
      +        ]
      +      }
      +    ]
      +  }
      +]
  2. Changed2 schema fields changed
    • removedInput schema / properties / contract / description
      Removed value: -"Contract to process"
    • removedInput schema / properties / text / description
      Removed value: -"Text to process"
  3. First observed

TDQS

C2.4/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations exist, so the description carries the full disclosure burden, and it discloses almost nothing: it does not say whether the tool is read-only, whether it incurs a payment (the x402 prefix suggests one), whether it fetches the contract itself, or what the result looks like. "With AI" adds no verifiable behavior.

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 short and not padded, but the leading "AI Contract:" label merely restates the tool name and title, so the one meaningful clause is buried behind redundant framing. Efficient in length, weak in front-loading.

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 tool with zero annotations, no output schema, and completely undocumented parameters, a single generic sentence is not enough for an agent to invoke it correctly. The critical input-choice decision and any cost or safety expectations are unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for both parameters, and the schema's anyOf requirement (contract OR text) is the single most important thing to explain. The description never clarifies that "contract" is likely an address/identifier while "text" is likely source code, leaving the agent to guess which to supply.

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 a verb+resource ("analyze a smart contract"), so the topic is identifiable, but "analyze" is generic and the definition never distinguishes itself from contract-scan, contract-triage, or smart-contract-audit. An agent can tell it is contract-related but not what kind of analysis it produces.

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 any alternative tool for contract work. With three closely named sibling contract tools available, the absence of any routing signal is a real gap.

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.