Skip to main content
Glama

topup_quote

Reusing a key returns the original quote (HTTP 200); a changed amount/method returns 409. Quote expires in 30 minutes. No charge until authorized. Check /v1/payment-methods before choosing a method.

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": {
      "request_key": "<request_key>",
      "body": "<body>"
    },
    "name": "topup_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
request_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / body / properties / amount_cents / minimum
      Previous value: -1000New value: +500
  2. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, idempotentHint=false and destructiveHint=false; the description adds substantive behavior on top: request_key replay returns the original quote with HTTP 200, a changed amount/method yields 409, quotes expire after 30 minutes, and no charge occurs until authorization. These are exactly the operational details an agent needs before invoking. It falls short of 5 only because it never says what the response body contains or how to recover from a 409/expiry.

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?

Four short, dense sentences with no filler, and the most decision-relevant facts (idempotency, 409, expiry, no charge) come early. The weakness is ordering: it front-loads error semantics instead of leading with what the tool does.

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?

With no output schema, the description bears responsibility for describing the return value, yet it only says a quote is returned and nothing about its shape (quote id, expiry timestamp, amount echoed). For a two-parameter mutation with a nested body and no annotations detail, it is adequate but leaves real gaps an agent would hit on the second call.

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 0%, so the description must carry the load; it does explain the request_key replay semantics and warns that method selection depends on /v1/payment-methods. But it says nothing about amount_cents bounds or the three method enum values beyond the schema itself, and the nested body object is not disambiguated. Partial compensation only.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description never states plainly that this tool creates a top-up quote; the purpose is only inferable from phrases like 'returns the original quote' and the name topup_quote. Nothing in the text distinguishes the quote step from topup_pay or topup_status beyond the implied sequence. The reader can guess the resource but must assemble the verb themselves.

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?

'Check /v1/payment-methods before choosing a method' is a concrete prerequisite for one parameter, which is genuinely useful. However, there is no statement of when to call this versus topup_pay or topup_status, nor what to do with an expired or 409-returning quote. Guidance is implied rather than explicit.

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.