Skip to main content
Glama

Get x402 rental status

get_x402_rental
Read-only

Track payment and delivery status of an x402 rental quote, returning states like payment_required, settling, fulfillment_pending, succeeded, failed, or expired.

Instructions

Payment and delivery status of an x402 quote: payment_required, settling, fulfillment_pending, succeeded, failed or expired.

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": {
      "quote_id": "<quote_id>"
    },
    "name": "get_x402_rental"
  }
}

Input Schema

NameRequiredDescriptionDefault
quote_idYesquote_id returned by create_x402_quote.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds value by enumerating the six possible status values, which tells the agent what a response can look like, but it does not explain what any state means, which states are terminal, or whether repeated polling is expected. Since there is no output schema, more return-value context would have been warranted.

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 short sentence with zero filler, and the key information (the status set) is front-loaded. It is telegraphic to the point of lacking a verb, but nothing is wasted.

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?

For a simple one-parameter read tool this is close, and the status enumeration covers the headline return value. However, the title promises 'delivery status' while the description does not indicate what delivery-related data comes back, and with no output schema the description carries the full burden of describing the response.

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?

Single parameter with 100% schema description coverage; the schema already explains that quote_id comes from create_x402_quote and constrains it to a UUID pattern. The description adds nothing about the parameter, which is acceptable at full coverage.

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?

Names the specific resource (an x402 quote) and precisely what is returned: payment and delivery status. It is written as a noun phrase rather than a verb+resource, but the intent is unmistakable and it is naturally distinct from create_x402_quote. No explicit sibling callout, so a 4 rather than 5.

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?

No explicit when-to-use statement, no mention of calling it after create_x402_quote, and no guidance on polling or terminal states. Usage is only implied by the enumeration of lifecycle states.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.