Skip to main content
Glama

Get exact terms for an invocation

get_quote
Read-onlyIdempotent

Returns exact, expiring terms for one intended invocation: amount, currency, expiry and payment offers. Free capabilities return an explicit zero quote — no wallet or payment handshake is ever required for free routes.

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": {
      "capability_id": "<capability_id>"
    },
    "name": "get_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
capability_idYes

Output Schema

NameRequiredDescriptionDefault
quoteYes
next_stepNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": {},
      +  "properties": {
      +    "next_step": {
      +      "type": "string"
      +    },
      +    "quote": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "amount": {
      +          "type": "string"
      +        },
      +        "capability_id": {
      +          "type": "string"
      +        },
      +        "currency": {
      +          "type": "string"
      +        },
      +        "expires_at": {
      +          "type": "string"
      +        },
      +        "id": {
      +          "type": "string"
      +        },
      +        "note": {
      +          "type": "string"
      +        },
      +        "payment_offers": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "capability_id",
      +        "amount",
      +        "currency",
      +        "expires_at",
      +        "payment_offers"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "quote"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already establish that this is a read-only, idempotent, non-destructive operation. Beyond that, the description adds meaningful behavior: quotes expire, free capabilities return an explicit zero quote, and free routes never require a wallet or payment handshake. It does not explain paid-route authorization or any rate limits, but it adds real context beyond 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.

Conciseness5/5

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

The definition is two compact sentences with the key behavior front-loaded. Every sentence contributes either return-content detail or a meaningful free-route exception.

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?

An output schema exists, so the description need not enumerate return fields, and the annotations cover the safety profile. Still, for correct invocation the agent needs to understand the required capability_id and when this tool is preferable to the sibling route or invocation tools. Those gaps keep it at a minimum-viable level.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is one required parameter, capability_id, and the schema provides 0% description coverage. The description mentions 'one intended invocation' but does not explain what capability_id is, where to obtain it, or how it relates to the returned quote. With the schema carrying no parameter meaning, the description should compensate but does not.

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 uses a specific verb and resource: it returns exact, expiring quote terms (amount, currency, expiry, payment offers) for one intended invocation. This is clearly more than a restatement of the name, though it does not explicitly distinguish the tool from siblings such as get_route or invoke_capability.

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 phrase 'for one intended invocation' implies this is a pre-invocation pricing step, and the free-route note clarifies one important case. However, it does not explicitly say when to use get_quote instead of get_route or invoke_capability, nor does it state any when-not conditions.

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.