Skip to main content
Glama

Status of a delivery check (free)

x402_delivery_status
Read-only

Free: the status of a paid delivery check (GET /api/v1/delivery-check or the paid delivery-check tool), by its job id: awaiting_payment, queued or done, and once done the result: paid_and_delivered, the outcome, the charge measured on chain and the transaction.

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": {
      "id": "<id>"
    },
    "name": "x402_delivery_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe job id the delivery check answered with

Output Schema

NameRequiredDescriptionDefault
idYes
urlNo
resultNoOnce done: paid_and_delivered, result, charged_usd, transaction, cache (could a CDN serve the paid answer to callers who did not pay)
statusYesawaiting_payment, queued or done
status_urlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / id / description
      Previous value: -"The job id x402_delivery_check answered with"New value: +"The job id the delivery check answered with"
  2. Changed3 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / result / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "propertyNames": {
      +      "type": "string"
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  3. Added

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the readOnlyHint/openWorldHint annotations, the description discloses the job lifecycle (awaiting_payment, queued, done) and the resolved payload (paid_and_delivered, outcome, on-chain charge, transaction). That is meaningful behavioral context an agent needs in order to interpret a response. It does not cover what happens for an unknown or expired job id, which would have earned a 5.

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?

The key distinction ('Free') is front-loaded and the sentence carries no filler, but the single run-on construction with layered colons ('...by its job id: awaiting_payment, queued or done, and once done the result: ...') makes it harder to scan than it needs to be.

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?

The tool is simple (one required id), annotations already declare it as a safe read, and an output schema exists, so return values need not be exhaustively explained. The description still sketches the state machine and resolved fields, giving an agent everything needed to call and interpret it correctly.

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% and the sole parameter is already documented as 'The job id the delivery check answered with', including a regex pattern. The description's mention of 'by its job id' restates the schema rather than adding new meaning, so the baseline 3 applies.

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?

The description gives a specific verb, resource, and identifier: it retrieves the status of a paid delivery check by job id. It also names the two origin points for the job (GET /api/v1/delivery-check or the paid delivery-check tool) and distinguishes itself as the 'free' counterpart, so an agent can separate it from the paid check tool in the sibling list.

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?

Usage is clearly implied: call this with a job id returned by a previously initiated delivery check, and no payment is required because it is the free path. The absence of explicit polling guidance (whether to call repeatedly, expected cadence until 'done') and of any when-not-to-use statement keeps this below a 5.

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.