Skip to main content
Glama

Price an AI credit pack

quote_credits
Idempotent

A quote for one credit pack (tier from list_credit_tiers).

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": {
      "tier": "<tier>"
    },
    "name": "quote_credits"
  }
}

Input Schema

NameRequiredDescriptionDefault
tierYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare idempotent, non-destructive, openWorld=false, but crucially readOnlyHint=false. The description does not clarify whether requesting a quote creates persistent state, whether it reserves inventory, or whether it costs anything. For a non-read-only pricing tool, that gap matters.

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 no waste, and the useful provenance hint is front-loaded. It is efficient but the fragmentary phrasing makes it slightly less clear than a full verb-led sentence.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/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 should say what a quote contains (price, currency, expiry) and whether it is binding. It also leaves the readOnly=false behavior unexplained, so an agent cannot fully predict what invoking it does.

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 coverage is 0%, so the description must carry weight; it does add value by naming list_credit_tiers as the source of valid tier values. It still says nothing about valid ranges beyond the schema's minimum or about whether tiers are contiguous identifiers.

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 phrase 'A quote for one credit pack' identifies the resource and outcome, and the parenthetical identifies list_credit_tiers as the source of the tier. But it is a noun fragment rather than a verb+resource statement, and it does not distinguish this tool from quote_subscription, checkout_quote, or start_topup, which plausibly also price things.

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?

The parenthetical 'tier from list_credit_tiers' implies a prerequisite call and is genuine routing guidance. However, there is no statement of when to choose this over checkout_quote or start_topup, and no when-not guidance.

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