Skip to main content
Glama

Quote Generation

quote_generation
Read-onlyIdempotent

Exact credit cost of a generate_image, edit_image or generate_video call before making it, with the caller's balance and plan eligibility. Use it whenever price or budget comes up instead of estimating. Free; nothing is reserved or started.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolYesThe call being priced
modelNoModel id as that tool accepts it; omitted means the tool's default
durationNogenerate_video only: seconds
resolutionNogenerate_video: 480p, 720p, 768p or 1080p. generate_image and edit_image: 1k, 2k or 4k. Omitted means the model's default.
with_imageNogenerate_video only: true when an image_url will be animated

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / resolution / description
      Previous value: -"generate_video only"New value: +"generate_video: 480p, 720p, 768p or 1080p. generate_image and edit_image: 1k, 2k or 4k. Omitted means the model's default."
    • changedInput schema / properties / resolution / enum
      Previous value: -[
      -  "480p",
      -  "720p",
      -  "768p",
      -  "1080p"
      -]New value: +[
      +  "480p",
      +  "720p",
      +  "768p",
      +  "1080p",
      +  "1k",
      +  "2k",
      +  "4k"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / resolution / enum
      Previous value: -[
      -  "480p",
      -  "720p",
      -  "1080p"
      -]New value: +[
      +  "480p",
      +  "720p",
      +  "768p",
      +  "1080p"
      +]
  3. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false. The description adds value beyond these by stating it is 'Free' and that 'nothing is reserved or started,' which clarifies that no quota is consumed and no side effects occur. This contextualizes the read-only nature with operational implications, exceeding what annotations alone convey.

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 description is two sentences with zero waste. The primary purpose (exact credit cost) is front-loaded, followed by the use case and a critical behavioral note (free, nothing reserved). Every word contributes to agent decision-making.

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 tool with conditional parameters and no output schema, the description covers the essential context: what it does, when to use, and that it is non-committal. It does not detail return structure, but the mention of 'balance and plan eligibility' gives a hint. Given the annotations and schema coverage, the description is sufficiently complete for an agent to invoke it correctly.

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 100%, so all five parameters (tool, model, duration, resolution, with_image) are already fully described in the schema. The description does not add any parameter-specific guidance or clarify conditional usage (e.g., duration only for generate_video), so it provides no extra semantic value beyond the schema. Baseline of 3 is appropriate.

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?

The description clearly states the tool provides the exact credit cost for three specific tool calls (generate_image, edit_image, generate_video) along with the caller's balance and plan eligibility. The verb 'quote' and resource are specific, and it distinguishes itself from executing those calls by saying 'before making it.' It also implicitly differentiates from get_credits by including balance and plan eligibility, not just cost.

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?

The description explicitly says 'Use it whenever price or budget comes up instead of estimating,' which is a clear when-to-use directive. It also notes 'Free; nothing is reserved or started,' indicating it is a non-committal query. However, it does not name alternative tools or explicitly state when not to use it, leaving some inference to the agent.

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