Skip to main content
Glama

Quote Generation Cost

quote_generation
Read-onlyIdempotent

For ElevenLabs Voice Changer, pass workspaceId and sourceAudioMediaId so the quote uses the recording duration and returns its exact sourceAudioVersion. Get a read-only USD quote for an image, video, or audio generation. Use it to build an initial project estimate or check a job against an existing budget. Pass the known exact model ID and all billable settings. Complete paid quotes check available credits before offering approval. Creates no media and spends no credits.

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": {
      "model": "<model>"
    },
    "name": "quote_generation"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNo
modelYesExact Sequencer model ID. Use get_model_catalog to resolve unfamiliar choices.
goFastNo
durationNoDuration in seconds. For LTX HDR, use the source duration.
frameCountNo
resolutionNoOutput resolution. For LTX HDR, use the source resolution or exact dimensions as WIDTHxHEIGHT.
aspectRatioNo
outputWidthNo
workspaceIdNoWorkspace containing sourceAudioMediaId.
modelVariantNoPublic variant setting from get_model_catalog, when required.
outputHeightNo
generateAudioNo
modelSettingsNoAudio/music controls, MAGI-2 seed, or video controls for models with frame-rate duration limits. Pass these same settings when generating.
characterCountNo
outputImageCountNo
sourceAudioMediaIdNoOriginal recording to convert with elevenlabs-sts-v2.
sourceAudioVersionNoPin a specific source recording version if known.
referenceImageCountNo
referenceAudioDurationsNoDuration in seconds of each MAGI-2 audio reference.
referenceVideoDurationsNoDuration of each billable reference or source video, in seconds.
referenceImageMegapixelsNoSize of each reference image in megapixels, used by models that bill for input pixels.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / sourceAudioMediaId
      Added value: +{
      +  "description": "Original recording to convert with elevenlabs-sts-v2.",
      +  "pattern": "^(?!\\.\\.?$)[\\w.-]{1,128}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / sourceAudioVersion
      Added value: +{
      +  "description": "Pin a specific source recording version if known.",
      +  "exclusiveMinimum": 0,
      +  "maximum": 9007199254740991,
      +  "type": "integer"
      +}
    • addedInput schema / properties / workspaceId
      Added value: +{
      +  "description": "Workspace containing sourceAudioMediaId.",
      +  "pattern": "^(?!\\.\\.?$)[\\w.-]{1,128}$",
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / modelSettings / description
      Previous value: -"Audio/music model controls or video controls for models with frame-rate duration limits. Pass these same settings when generating."New value: +"Audio/music controls, MAGI-2 seed, or video controls for models with frame-rate duration limits. Pass these same settings when generating."
    • addedInput schema / properties / referenceAudioDurations
      Added value: +{
      +  "description": "Duration in seconds of each MAGI-2 audio reference.",
      +  "items": {
      +    "exclusiveMinimum": 0,
      +    "maximum": 3600,
      +    "type": "number"
      +  },
      +  "maxItems": 50,
      +  "type": "array"
      +}
  3. Changed6 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / characterCount / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / frameCount / maximum
      Added value: +9007199254740991
    • removedInput schema / properties / modelSettings / additionalProperties / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "boolean"
      -  }
      -]
    • addedInput schema / properties / modelSettings / additionalProperties / type
      Added value: +[
      +  "string",
      +  "number",
      +  "boolean"
      +]
    • addedInput schema / properties / modelSettings / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • changedInput schema / properties / model / description
      Previous value: -"Exact model ID from get_model_catalog."New value: +"Exact Sequencer model ID. Use get_model_catalog to resolve unfamiliar choices."
  5. Changed1 schema field changed
    • addedInput schema / properties / referenceImageMegapixels
      Added value: +{
      +  "description": "Size of each reference image in megapixels, used by models that bill for input pixels.",
      +  "items": {
      +    "exclusiveMinimum": 0,
      +    "type": "number"
      +  },
      +  "maxItems": 8,
      +  "type": "array"
      +}
  6. Changed2 schema fields changed
    • changedInput schema / properties / duration / description
      Previous value: -"Output duration in seconds."New value: +"Duration in seconds. For LTX HDR, use the source duration."
    • addedInput schema / properties / resolution / description
      Added value: +"Output resolution. For LTX HDR, use the source resolution or exact dimensions as WIDTHxHEIGHT."
  7. Changed3 schema fields changed
    • changedInput schema / properties / duration / description
      Previous value: -"Duration in seconds. For LTX HDR, use the source duration."New value: +"Output duration in seconds."
    • changedInput schema / properties / modelSettings / description
      Previous value: -"Audio/music model controls from the catalog. Pass these same settings when generating."New value: +"Audio/music model controls or video controls for models with frame-rate duration limits. Pass these same settings when generating."
    • removedInput schema / properties / resolution / description
      Removed value: -"Output resolution. For LTX HDR, use the source resolution or exact dimensions as WIDTHxHEIGHT."
  8. Changed2 schema fields changed
    • changedInput schema / properties / duration / description
      Previous value: -"Output duration in seconds."New value: +"Duration in seconds. For LTX HDR, use the source duration."
    • addedInput schema / properties / resolution / description
      Added value: +"Output resolution. For LTX HDR, use the source resolution or exact dimensions as WIDTHxHEIGHT."
  9. Changed1 schema field changed
    • addedInput schema / properties / modelSettings
      Added value: +{
      +  "additionalProperties": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "number"
      +      },
      +      {
      +        "type": "boolean"
      +      }
      +    ]
      +  },
      +  "description": "Audio/music model controls from the catalog. Pass these same settings when generating.",
      +  "type": "object"
      +}
  10. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish readOnly, non-destructive, and idempotent, so the bar is lower, and the description still adds real behavior: 'Creates no media and spends no credits' and the note that complete paid quotes check available credits before offering approval. That credit-checking behavior is not derivable from the annotations or schema. It stops short of describing the quote's shape or how partial/incomplete quotes differ.

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?

The prose is dense and mostly free of filler, but it is not front-loaded: it opens with a narrow ElevenLabs Voice Changer edge case before stating the tool's general purpose in the second sentence. The result-vs-behavior split across sentences is coherent but would read better with the core purpose first.

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?

For a 21-parameter, nested-object tool with no output schema, the description covers purpose, credit behavior, and the key input pairing, but leaves return values largely unstated beyond a passing mention of sourceAudioVersion. An agent still lacks guidance on the shape of the quote response and on how the many optional billing parameters affect the result.

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?

With 21 parameters and only 52% schema description coverage, the schema leaves real gaps, and the description compensates only partially by explaining the workspaceId + sourceAudioMediaId pairing and the 'pass the known exact model ID and all billable settings' rule. Many parameters (count, goFast, aspectRatio, generateAudio, frameCount) get no additional meaning in either place. Baseline 3 reflects that the schema still does most of the work.

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 specific verb and resource: 'Get a read-only USD quote for an image, video, or audio generation.' That is enough for an agent to distinguish it from mutation tools like create_edit or add_node. It never names the actual sibling quote tools (quote_live_avatar_session, quote_workflow_run), so sibling differentiation is only implicit via the covered media types.

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 concrete usage contexts: 'build an initial project estimate or check a job against an existing budget,' plus a specific precondition for the ElevenLabs Voice Changer path (pass workspaceId and sourceAudioMediaId so duration and sourceAudioVersion resolve correctly). There is no explicit when-not or a pointer to the sibling quote tools for avatar sessions or workflow runs, which keeps it short of a 5.

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.