Skip to main content
Glama

quote_endpoint_health

Read-only

Whether an x402 API answers right now and whether its payment request is complete. One unpaid GET; it does not pay the URL. Not a security review. Returns the x402 payment quote for this read (price, network, asset, pay-to, and the exact URL). It does not return data. To buy, GET the returned URL over HTTP and pay with x402; check get_x402_health first.

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": "quote_endpoint_health"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYeshttps address of the API to check

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only supply readOnlyHint and openWorldHint; the description goes well beyond them by disclosing the request shape (a single unpaid GET), the explicit non-effect (no payment is made), the non-goal (not a security review), and the fact that it returns a quote rather than the resource data. That is exactly the behavioral context an agent needs before calling an open-world endpoint, and none of it is inferable from the annotations.

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?

Purpose is front-loaded in the first clause and the following short sentences each carry a distinct constraint (unpaid, not a security review, return contents, next step). A minor cost is that the return contents and the negative 'It does not return data' sit in separate sentences from the first mention of the quote, adding slight repetition.

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?

There is no output schema, so the description must describe the return, and it does so concretely: price, network, asset, pay-to, and the exact URL of the quote. Combined with the disclosure that it does not return data and the exact follow-up call needed to purchase, nothing essential for correct invocation is missing for a single-parameter read tool.

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?

With one parameter and 100% schema description coverage, the schema already carries the meaning of 'url' as 'https address of the API to check'. The description adds only indirect context by mentioning 'the exact URL' in the return value, without clarifying a required scheme, auth expectations, or whether the URL must be a paid x402 endpoint. Baseline 3 is appropriate when the schema does the work.

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?

Names the specific resource (an x402 API endpoint) and the specific thing checked (does it answer now, and is its payment request complete), which is a real verb+resource statement rather than a restatement of the tool name. It also explicitly carves itself out from adjacent tools with 'Not a security review' and 'check get_x402_health first', so the agent can place it in the family without opening schemas.

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

Usage Guidelines5/5

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

'One unpaid GET; it does not pay the URL' states the exact invocation mode and what the call will not do, while 'To buy, GET the returned URL over HTTP and pay with x402' routes the agent to the correct follow-up action. It names an alternative (get_x402_health) and the ordering condition for consulting it, so both when-to-use and when-not-to-use are covered.

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