Skip to main content
Glama

Quick x402 endpoint check (free)

x402_quick_check
Read-only

Free: does this x402 endpoint work for a paying agent? Returns pass, warn or fail with the number of problems and the top three. Limited to 10 calls per hour.

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": {
      "url": "<url>"
    },
    "name": "x402_quick_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe x402 endpoint (public http(s) URL), e.g. https://api.example.com/paid
bodyNoExample JSON request body, for a POST route that checks its input before the 402 (implies POST). Without it, {} is sent and the requestBody example in the endpoint's /openapi.json is tried.

Output Schema

NameRequiredDescriptionDefault
urlNo
nextNo
overallYespass, warn or fail
failuresYes
warningsYes
top_problemsYesUp to three problems, failures first

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / method
      Removed value: -{
      -  "description": "HTTP method of the paid route (default: GET, then POST)",
      -  "enum": [
      -    "GET",
      -    "POST"
      -  ],
      -  "type": "string"
      -}
  2. Changed2 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +{}
  3. Changed1 schema field changed
    • addedInput schema / properties / body
      Added value: +{
      +  "description": "Example JSON request body, for a POST route that checks its input before the 402 (implies POST). Without it, {} is sent and the requestBody example in the endpoint's /openapi.json is tried.",
      +  "maxLength": 16384,
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": true,
      +  "properties": {
      +    "failures": {
      +      "type": "number"
      +    },
      +    "next": {
      +      "type": "string"
      +    },
      +    "overall": {
      +      "description": "pass, warn or fail",
      +      "type": "string"
      +    },
      +    "top_problems": {
      +      "description": "Up to three problems, failures first",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "url": {
      +      "type": "string"
      +    },
      +    "warnings": {
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "overall",
      +    "failures",
      +    "warnings",
      +    "top_problems"
      +  ],
      +  "type": "object"
      +}
  5. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered; the description adds genuinely new behavior: it is free and rate-limited to 10 calls per hour. It also states the result vocabulary (pass/warn/fail) and that only the top three problems are surfaced, which tells the agent this is a shallow triage rather than an exhaustive report.

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

Conciseness5/5

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

Three short sentences, each carrying distinct load: the question it answers, the return shape, and the rate limit. The 'Free:' prefix and rate cap are front-loaded where an agent will see them first, and there is no filler.

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

Completeness4/5

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

With an output schema present and annotations covering read-only/open-world behavior, the description only needs to add cost, limits, and depth, all of which it does. The one gap is the lack of positioning against the deeper x402 check siblings, which matters given how crowded that namespace is.

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 100%, so both the url and body parameters are fully documented in the schema, including the POST implication of body and the {} / openapi.json fallback. The description adds no parameter meaning beyond that, so the baseline 3 applies.

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?

The description states a specific question the tool answers ('does this x402 endpoint work for a paying agent?') plus the outcome shape (pass/warn/fail, problem count, top three). It is clear about what it does, but never distinguishes itself from the many x402_* siblings such as x402_preflight or x402_diagnose, which an agent could easily confuse it with.

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?

The 'free' framing and 10-calls-per-hour cap imply a lightweight first-pass smoke test, so the when-to-use context is present but only implied. There is no explicit statement of when NOT to use it or which deeper sibling (x402_preflight_deep, x402_diagnose) to pick instead.

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.