Skip to main content
Glama

x402-integration-audit

x402 Integration White-Box Audit: AI white-box audit of your x402 payment integration source (JS/Py/Go) against the x402 Payment Security Checklist v2 — payment verification, replay, delivery races, allowance, custody, denial. status=needs-confirmation findings.

Input Schema

NameRequiredDescriptionDefault
codeNo
langNo
sourceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 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 / source / description
      Removed value: -"Source to process"
  2. Changed1 schema field changed
    • addedInput schema / properties / code
      Added value: +{
      +  "description": "Code to process",
      +  "type": "string"
      +}
  3. Changed2 schema fields changed
    • addedInput schema / properties / lang
      Added value: +{
      +  "description": "Lang to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / source
      Added value: +{
      +  "description": "Source to process",
      +  "type": "string"
      +}
  4. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses the checklist being applied and that findings carry status=needs-confirmation, implying a non-mutating analysis of supplied source. It stops short of stating auth requirements, whether source is transmitted externally, limits, or the shape of results.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One dense, front-loaded sentence that names the tool, the artifact, the languages, and the checklist. The slash-heavy clauses hurt readability slightly but there is essentially no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema and no annotations mean the description has to do more. It covers what is audited and the checklist scope, but the three undocumented, all-optional parameters (including why any is required in practice) and the return structure are absent.

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

Parameters3/5

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

Schema description coverage is 0%, so the description must compensate. It does partially: it indicates the source is JS/Py/Go (hinting at the lang parameter) and that source is the audited artifact. But the distinction between the 'code' and 'source' parameters, and their expected formats, is left entirely unexplained.

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?

Specific verb (audit) plus resource (x402 payment integration source) and it enumerates the security domain in scope (payment verification, replay, delivery races, allowance, custody, denial). It does not, however, distinguish itself from close siblings like x402-payment-audit, x402-ai-audit, or x402-contract-scan, leaving overlap ambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied: you run this when you have x402 integration source in JS/Py/Go that you want checked against the Payment Security Checklist v2. There is no explicit when-not guidance and no routing to the near-identical sibling tools, so an agent still has to infer which audit variant fits.

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