Skip to main content
Glama

Checkout for a quote

buy_credits
Read-only

For a project quote, not a role. Refresh the quote card and its Stripe link for the exact credits a saved quote is short. Renders the same card as get_quote. Call this only to refresh. There are no credit bundles. Custom returns the call link instead.

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

Input Schema

NameRequiredDescriptionDefault
quote_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations only supply readOnlyHint=true, and the description usefully adds that this is a refresh/link render rather than an actual purchase and that 'there are no credit bundles'. It does not say whether refreshing invalidates or replaces the prior Stripe link, nor what the caller receives back, which matters for an operation that regenerates a payment artifact.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short with no filler, but it is written as a chain of telegraphic fragments ('For a project quote, not a role.' / 'There are no credit bundles.') rather than a front-loaded statement of what the tool does. The reader must assemble the core action from several disconnected clauses.

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?

There is no output schema and only a readOnly annotation, so the description must cover the return shape; 'renders the same card as get_quote' defers that to another tool rather than describing it, and the 'Custom' branch is mentioned without saying what the call link is for. For a one-parameter tool this is adequate but leaves the response ambiguous.

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% for the single required quote_id, so the description has to carry the meaning. It obliquely implies quote_id identifies a saved project quote and that only the shortfall in credits is priced, but it never states that the parameter is the quote identifier or that it must be an already-saved quote.

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?

The description states a concrete action on a concrete resource: refresh the quote card and its Stripe link for a saved project quote. It explicitly scopes away from the alternative ('For a project quote, not a role') and anchors itself to a sibling ('Renders the same card as get_quote'), so an agent can tell what it does. The phrase 'exact credits a saved quote is short' is slightly cryptic but still names the computation.

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?

It gives an explicit use condition ('Call this only to refresh') and an exclusion ('not a role'), plus a branch note ('Custom returns the call link instead'). What's missing is when to call this rather than get_quote, given the description says both render the same card — the refresh vs. initial-render distinction is asserted but not spelled out as a selection rule.

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