Skip to main content
Glama
VideoToken MCP Server
by luow-y

estimate_video_cost

Estimate exact USD cost for generating video clips using live pricing rates, and compare per-second models against benchmark references before you generate.

Instructions

Estimate exact USD cost for generating video clips on VideoToken using live /api/pricing rates, and compare per-second models against public reference benchmarks.

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

Input Schema

NameRequiredDescriptionDefault
clipsNoNumber of clips to estimate. Defaults to 1.
modelYesPublic VideoToken model ID (e.g. "dreamina-seedance-2-5-cheap" or "wan3.0-video").
resolutionNoTarget resolution such as "480p", "720p", or "1080p". Defaults to model first available spec.
duration_secondsNoClip duration in seconds (for per-second models). Defaults to 5.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It discloses that rates are live from /api/pricing (implying a remote call and possibly varying results), but says nothing about whether the call is read-only in effect, whether it requires auth, what 'exact' versus 'estimate' actually means in precision, or how the benchmark comparison is surfaced.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler, and the core resource is stated first. It does pack two distinct capabilities (estimation and benchmark comparison) into one clause, which slightly muddies structure but wastes no words.

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 four-parameter, non-mutating tool with no annotations and no output schema, the description covers purpose but not return shape or the mechanics of the promised comparison. An agent still cannot tell what the response contains, which matters more here because no output schema exists to fill that gap.

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 the parameters are already fully documented and the baseline is 3. The description adds only the notion of 'per-second models', which loosely connects to duration_seconds, but the advertised benchmark comparison has no corresponding parameter, leaving it unclear how that behavior is triggered.

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 gives a specific verb and resource ('Estimate exact USD cost for generating video clips') plus the pricing source ('live /api/pricing rates'), which clearly separates it from siblings like generate_video or list_video_models. It does not explicitly name a sibling to differentiate against, but the cost-estimation scope is unmistakable.

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?

Usage is only implied: an agent can infer this is a pre-generation cost check, but the description never states when to call it, when not to, or what alternative to use. The 'compare per-second models' clause hints at a comparison use case without saying how to invoke it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.