Skip to main content
Glama

Quote a generation

quote
Read-onlyIdempotent

Price a generate_image, generate_video, generate_speech or generate_sound call without spending anything. The number returned is exactly what the matching call will charge.

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": {
      "media": "<media>"
    },
    "name": "quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageNo
mediaYes
soundNo
videoNo
speechNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

The readOnly/idempotent/non-destructive annotations already cover the safety profile, and the description adds two things they cannot: the call costs nothing, and the returned number is guaranteed to equal the eventual charge. It stops short of stating whether a quote can expire, is tied to a token, or how validation errors are surfaced.

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?

Two short sentences, front-loaded with the action and the cost guarantee, with zero filler or restatement of the title.

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

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a stateless pricing tool with no output schema, the description covers the essentials: what to pass, that it is free, and that the figure is authoritative. Minor gaps remain around whether a quote is reusable/expiring and what happens on invalid arguments.

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?

Reported schema coverage is 0%, but the nested schema properties are in fact heavily described, so the structured side is not really empty. The description contributes one useful semantic — the parameters must mirror the matching generate_* call to get a correct price — but never explains the media discriminator or the per-modality sub-objects itself.

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?

"Price a generate_image, generate_video, generate_speech or generate_sound call" states a specific verb and resource, and enumerates exactly which sibling operations it covers, which also implicitly separates it from the quote_video / quote_ad_video / quote_faceless_video composed variants.

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?

"without spending anything" establishes the condition that selects this tool: price before committing to a paid generation. It gives clear when-to-use context but names no exclusion case (e.g. when to use quote_video instead) and says nothing about what happens if the supplied params are invalid.

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