Skip to main content
Glama

Agent-readiness audit (paid, x402) — $0.05

audit_agent_ready
Read-onlyIdempotent

Use when you need to check whether a website or x402 API is discoverable and usable by AI agents. Agent-readiness audit ($0.05/call, USDC on Base via x402) for any public website or x402 API: checks llms.txt, robots.txt AI rules, sitemap, OpenAPI, /.well-known/x402, agent card, MCP initialize, a live unpaid 402 challenge, Bazaar metadata and x402 directory listings; returns score 0-100, grade, pass/warn/fail per check with evidence and fixes. Deterministic, no LLM. Free example: get_audit_sample. Example: GET https://cryptofeed402.site/audit/agent-ready?url=https%3A%2F%2Fexample.com

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "https://example.com"
    },
    "name": "audit_agent_ready"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesDomain or http(s) URL of the site to audit (public hosts, ports 80/443)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "anyOf": [
      +    {
      +      "properties": {
      +        "accepts": {
      +          "items": {
      +            "properties": {
      +              "amount": {
      +                "description": "USDC atomic units (6 decimals)",
      +                "type": "string"
      +              },
      +              "asset": {
      +                "type": "string"
      +              },
      +              "extra": {
      +                "type": "object"
      +              },
      +              "maxTimeoutSeconds": {
      +                "type": "number"
      +              },
      +              "network": {
      +                "const": "eip155:8453",
      +                "type": "string"
      +              },
      +              "payTo": {
      +                "type": "string"
      +              },
      +              "scheme": {
      +                "const": "exact",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "scheme",
      +              "network",
      +              "amount",
      +              "asset",
      +              "payTo"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "error": {
      +          "type": "string"
      +        },
      +        "resource": {
      +          "properties": {
      +            "description": {
      +              "type": "string"
      +            },
      +            "mimeType": {
      +              "type": "string"
      +            },
      +            "url": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "x402Version": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "x402Version",
      +        "accepts"
      +      ],
      +      "title": "x402 PaymentRequired (what this MCP tool returns, isError=true)",
      +      "type": "object"
      +    },
      +    {
      +      "properties": {
      +        "audit_version": {
      +          "description": "Audit version",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "audited_at": {
      +          "description": "ISO-8601 UTC",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "checks": {
      +          "description": "[{id, name, weight, status, points, evidence{}, fix}]",
      +          "items": {
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "counts": {
      +          "description": "{pass, warn, fail}",
      +          "properties": {
      +            "fail": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "pass": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "warn": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "disclaimer": {
      +          "description": "Scope notice",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "duration_ms": {
      +          "description": "Audit duration",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "grade": {
      +          "description": "Letter grade",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "method": {
      +          "description": "How checks run",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "provenance": {
      +          "description": "Optional provenance on paid 200s",
      +          "properties": {
      +            "data_sha256": {
      +              "type": "string"
      +            },
      +            "fetched_at": {
      +              "type": "string"
      +            },
      +            "max_age_s": {
      +              "type": "number"
      +            },
      +            "source": {
      +              "type": "string"
      +            },
      +            "sources": {
      +              "type": "array"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "score": {
      +          "description": "0-100",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "summary": {
      +          "description": "One-line summary",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "target": {
      +          "description": "{input, origin, host}",
      +          "properties": {
      +            "host": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "input": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "origin": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "audit_version",
      +        "audited_at",
      +        "checks",
      +        "counts",
      +        "disclaimer",
      +        "duration_ms",
      +        "grade",
      +        "method",
      +        "score",
      +        "summary",
      +        "target"
      +      ],
      +      "title": "Paid HTTP 200 body of GET /audit/agent-ready",
      +      "type": "object"
      +    }
      +  ],
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "url": "https://example.com"
      +  }
      +]
    • addedInput schema / properties / url / examples
      Added value: +[
      +  "https://example.com"
      +]
  3. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations cover the safety profile (readOnly/idempotent/non-destructive), and the description adds genuinely new behavioral facts: a $0.05 USDC-on-Base x402 charge per call, a deterministic non-LLM approach, and the output contract (0-100 score, grade, pass/warn/fail per check with evidence and fixes). The pricing/payment mechanism is exactly the kind of thing an agent needs before invoking a paid endpoint.

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?

Front-loaded with the usage trigger, then the resource, checks, and return shape, ending with a free-sample pointer and a callable example. Dense but nearly every clause carries information; the long enumerated check list is justified by the tool's breadth.

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

Completeness5/5

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

For a single-parameter, fully-schema-covered, output-schema-bearing read tool, this is complete: cost and payment rail, what is inspected, what comes back, determinism, a free alternative, and a worked request example. Nothing an agent needs to invoke it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100% and the single url parameter is already documented in-schema (domain or http(s) URL, max 2048). The description adds a concrete encoded example URL that shows the expected query-string format, a small but real increment over the schema.

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

Purpose5/5

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

Specific verb+resource: audit agent-readiness of a public website or x402 API, with an enumerated checklist (llms.txt, robots.txt AI rules, sitemap, OpenAPI, /.well-known/x402, agent card, MCP initialize, live 402 challenge, Bazaar/directory listings). An agent can immediately tell this apart from the crypto-data siblings like get_price or get_candles.

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

Usage Guidelines4/5

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

Opens with an explicit trigger condition ("Use when you need to check whether a website or x402 API is discoverable and usable by AI agents") and points to a free counterpart (get_audit_sample) for sampling before paying. No explicit when-not-to-use or exclusions, but the paid-vs-free routing is clear.

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.