Skip to main content
Glama

Estimate a run

estimate_run
Read-onlyIdempotent

Prices a run without starting it: the most it may cost, in credits. Give one of tool, model and workflow, and the inputs. Nothing is written and nothing is charged.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "estimate_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
toolNoA tool id from list_tools.
modelNoA model id from list_models.
inputsNoThe inputs, as list_tools, list_models or list_workflows describe them.
workflowNoA workflow id from list_workflows.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / model / enum
      Previous value: -[
      -  "seedance-2",
      -  "seedance-2-fast",
      -  "seedance-2.5",
      -  "hailuo-03",
      -  "flux-3",
      -  "h3-max",
      -  "wan-3",
      -  "omni-1.2-flash",
      -  "ltx-2.5-fast",
      -  "ltx-2.5-pro",
      -  "nano-banana-2",
      -  "nano-banana-2.1",
      -  "gpt-image-2",
      -  "gpt-image-2.5",
      -  "gpt-image-2.6",
      -  "seedream-5.5"
      -]New value: +[
      +  "seedance-2",
      +  "seedance-2-fast",
      +  "seedance-2.5",
      +  "hailuo-03",
      +  "flux-3",
      +  "h3-max",
      +  "wan-3",
      +  "omni-1.2-flash",
      +  "ltx-2.5-fast",
      +  "ltx-2.5-pro",
      +  "nano-banana-2",
      +  "nano-banana-2.1",
      +  "gpt-image-2",
      +  "gpt-image-2.5",
      +  "gpt-image-2.6",
      +  "seedream-5.5",
      +  "flux-3.1",
      +  "flux-3.1-fast"
      +]
  2. First observed

TDQS

A4/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, so the safety profile is covered. The description still adds genuine context beyond them: the returned figure is an upper bound ("the most it may cost") and the call is explicitly free ("nothing is charged"), which the annotations do not 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?

Three short sentences, front-loaded with purpose and cost units, then the input contract, then the safety reassurance. No redundant or filler wording.

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?

With no output schema, the description correctly covers the return value (a maximum credit cost) and confirms no side effects. It is close to complete; only the exact relationship to start_run and the behavior when multiple identifiers are supplied remain unstated.

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 description coverage is 100%, so the enum descriptions and the "inputs as list_tools/list_models/list_workflows describe them" documentation already carry the parameter meaning. The description adds a soft exclusivity hint ("Give one of tool, model and workflow") that the schema does not encode, but it is ambiguous since the schema permits all three at once.

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?

"Prices a run without starting it: the most it may cost, in credits" gives a specific verb (price/estimate), a specific resource (a run), and the units of the result. The phrase "without starting it" immediately separates it from start_run and run-mutating siblings.

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 description implies the pre-flight use case ("without starting it", "nothing is charged") but never explicitly says "call this before start_run" or names an alternative tool. The only directive is about which identifiers to pass, not when to prefer this tool over starting a run directly.

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.