Skip to main content
Glama

Estimate cost

auteo_estimate_cost
Read-only

Estimate the list price in credits for a generation with the given parameters, without generating anything, and check it against the user's balance. Returns credits=null with a reason when the parameter combination is invalid. unlimitedEligible=true means Plus / Ultra subscribers are not charged for this model; unlimitedForYou=true means this user is not charged. When enoughCredits=false, do not submit: tell the user the price and their balance, and ask them to top up at topUpUrl.

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": "auteo_estimate_cost"
  }
}

Input Schema

NameRequiredDescriptionDefault
nNoImages per request (image models) or takes (speech models).
textNoText to speak (speech models); required to price speech, which is charged per character.
modelYes
durationNoVideo length in seconds (video models).
resolutionNoRequired for models with resolution tiers.
aspectRatioNo
inputImageCountNoNumber of reference images; some models charge extra per image.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true, and the description is consistent with that while adding substantial behavior: it returns credits=null with a reason for invalid parameter combinations, and it defines unlimitedEligible (Plus/Ultra subscribers not charged) versus unlimitedForYou (this user not charged). It also prescribes the exact agent action on insufficient balance, which is behavior no annotation conveys.

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?

Four sentences, each carrying distinct information: purpose, invalid-input behavior, the two unlimited flags, and the insufficient-credit protocol. The most actionable instruction (do not submit when enoughCredits=false) is placed last but is unambiguous and self-contained.

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

Completeness5/5

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

There is no output schema, so the description must carry the return-value burden, and it does: credits, the null-with-reason case, unlimitedEligible, unlimitedForYou, enoughCredits, and topUpUrl are all explained. For a read-only pricing tool with 7 parameters, nothing an agent needs to act correctly is missing.

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 71%, so the schema already documents most parameters (n, text, duration, resolution, inputImageCount). The description refers only to 'the given parameters' generically and adds no per-parameter meaning, such as which parameters are required for which model family. Baseline 3 is appropriate at this coverage level.

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 opens with a specific verb and resource: 'Estimate the list price in credits for a generation with the given parameters.' The clause 'without generating anything' explicitly separates it from the auteo_generate_* siblings, so an agent can route correctly without opening a schema.

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 a concrete conditional rule: when enoughCredits=false, do not submit, tell the user the price and balance, and point them to topUpUrl. That is real when/when-not guidance. It stops short of explicitly saying 'call this before auteo_generate_image/video/speech', leaving the pre-flight relationship to inference.

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