Skip to main content
Glama

Estimate clip cost

estimate_cost
Read-only

Cost of one clip from the VidFare calculator. Credit-plan rows use plan price ÷ credits × credits per clip, then the percent of credits used. API rows are billed seconds times the stated dollars per second. A length, resolution, audio value, or input the vendor page does not state is returned without a price.

Input Schema

NameRequiredDescriptionDefault
planNoCredit-plan id, such as hf-starter. Optional.
usedNoPercent of plan credits actually used, from 1 to 100. Defaults to 100.
audioNowith or without audio. on and off are accepted. Omit to leave audio unset.
inputNoInput mode: t2v, i2v, ref2v, v2v, extend, or lip-sync. Omit to leave input unset.
modelYesModel slug, such as wan-3-0 or kling-3-0, or the model name.
secondsYesClip length in whole seconds, at least 1.
providerNoPlatform name, such as fal, Higgsfield, Krea, or Magnific. A credit-plan platform selects that platform's first plan, the same way the calculator does.
resolutionNoResolution such as 480p, 720p, 1080p, or 4K. Use 'not listed' when the vendor page does not list one.
apply_dealsNoWhen true, apply today's credit-plan deals the way the calculator toggle does. Defaults to false.
window_secondsNoSeconds made during an unlimited window. Defaults to 60. Used only for the break-even note, which is not $0 per second.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already cover the read-only, non-destructive, closed-world profile. Beyond that, the description discloses the two billing models (credit-plan proration vs API per-second billing) and, importantly, the failure behavior: unstated length/resolution/audio/input yields a result without a price. That edge case is exactly the kind of context an agent cannot infer from the schema.

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?

Three sentences, front-loaded with purpose, then the two pricing branches, then the edge case. Every sentence carries information, though the credit-plan sentence is dense and reads like a formula transcription rather than agent-directed guidance.

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 10-parameter read-only calculation tool with no output schema, the description covers the two computational paths and the no-price case, which is most of what an agent needs to interpret results. It stops short of describing the return shape, particularly the break-even note that window_seconds feeds, which is only alluded to in the schema.

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 schema already documents all 10 parameters well, and the baseline is 3. The description adds some semantic weight by naming which inputs (length, resolution, audio, input) can legitimately be missing and what that produces, but it does not clarify the plan-vs-provider interaction that the schema leaves slightly ambiguous.

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?

Opening sentence states a specific quantity (cost of one clip) and the source (the VidFare calculator), which tells an agent this is a compute-one-estimate tool rather than a price listing. It doesn't explicitly distinguish itself from siblings like get_model_prices or cheapest_options, which is the main thing keeping it from a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance and no naming of alternatives. The description explains the math behind the estimate but never says why an agent should call this instead of get_model_prices or cheapest_options, nor what prerequisites (plan vs provider) select which path.

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.