Skip to main content
Glama

x402 Pay — USDC API Payment Helper

Check Status

check_status
Read-onlyIdempotent

Read the current SqueezeOS backend status and payment-readiness evidence. Returns both upstream envelopes and autonomous_spend=false. Use to diagnose readiness before purchase; HTTP availability or readiness flags alone do not establish settled or accepted delivery.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
okYes
coreYes
hostingYes
autonomous_spendYes
payment_readinessYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "autonomous_spend": {
      +      "const": false
      +    },
      +    "core": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "body": {
      +          "description": "Exact upstream JSON or a bounded text excerpt; missing evidence is not filled in."
      +        },
      +        "ok": {
      +          "description": "Whether the selected upstream returned HTTP 2xx; not settlement proof.",
      +          "type": "boolean"
      +        },
      +        "payment_required": {
      +          "type": "boolean"
      +        },
      +        "source": {
      +          "description": "The queried local upstream path.",
      +          "type": "string"
      +        },
      +        "status_code": {
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "ok",
      +        "status_code",
      +        "source",
      +        "body",
      +        "payment_required"
      +      ],
      +      "type": "object"
      +    },
      +    "hosting": {
      +      "type": "string"
      +    },
      +    "ok": {
      +      "type": "boolean"
      +    },
      +    "payment_readiness": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "body": {
      +          "description": "Exact upstream JSON or a bounded text excerpt; missing evidence is not filled in."
      +        },
      +        "ok": {
      +          "description": "Whether the selected upstream returned HTTP 2xx; not settlement proof.",
      +          "type": "boolean"
      +        },
      +        "payment_required": {
      +          "type": "boolean"
      +        },
      +        "source": {
      +          "description": "The queried local upstream path.",
      +          "type": "string"
      +        },
      +        "status_code": {
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "ok",
      +        "status_code",
      +        "source",
      +        "body",
      +        "payment_required"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "ok",
      +    "hosting",
      +    "core",
      +    "payment_readiness",
      +    "autonomous_spend"
      +  ],
      +  "type": "object"
      +}
  2. 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 readOnly, idempotent, openWorld, and non-destructive, so safety is covered. The description adds genuine interpretive context beyond that: it warns that HTTP availability or readiness flags alone do not establish settled or accepted delivery, which is a real caveat about what the output means.

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?

Three sentences, purpose front-loaded, no filler. The middle sentence about 'upstream envelopes and autonomous_spend=false' is somewhat cryptic and partly redundant given an output schema exists, but the overall size is appropriate.

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 rich annotations and an output schema present, the description only needs to supply purpose, usage, and interpretive caveats, all of which are covered. Nothing an agent strictly needs to invoke a zero-arg read tool 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?

The tool takes zero parameters, so the baseline is 4. There is no parameter surface for the description to explain and none is needed.

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?

States a specific verb and resource ('Read the current SqueezeOS backend status and payment-readiness evidence'), so the agent knows it is a status-read tool. It does not explicitly distinguish itself from the closely related sibling check_payment, leaving some ambiguity about which readiness endpoint to call.

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?

'Use to diagnose readiness before purchase' gives clear usage context, but no when-not conditions and no routing against siblings like check_payment or payment_info, which are adjacent in purpose. The agent must infer the boundary itself.

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