Skip to main content
Glama

Viral AI Video MCP

estimate_video_credits

Read-onlyIdempotent

Calculate exact credit cost and estimated USD cost per video using the live Viral AI Video credit matrix.

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_video_credits"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugNoOptional template slug to use its default duration.
modelNoOptional model ID filter. If omitted, returns quotes across all compatible enabled models.
resolutionNoOptional resolution filter (480p, 720p, or 1080p).
durationSecondsNoClip duration in seconds (4 to 30). Defaults to template duration or 10s.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world behavior, so the safety profile is covered. The description usefully signals that pricing comes from a 'live' credit matrix and distinguishes exact credits from estimated USD, but it does not disclose that omitting model yields a multi-model quote set or how the duration defaults resolve.

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?

A single front-loaded sentence with the verb first and the two cost outputs named; no filler, no redundancy.

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?

With no output schema, the description carries more of the return-value burden, and it only loosely indicates that credit and USD figures come back per video. It does not explain the shape of the result when model is omitted (quotes across all compatible models) or the units/currency assumptions, leaving meaningful gaps for a zero-required-parameter quoting tool.

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%, including enum meanings, min/max duration, and default behavior, so the schema does the heavy lifting. The description adds no parameter-level meaning beyond what the schema already documents, which is the baseline-3 case.

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 (calculate) and specific outputs (exact credit cost and estimated USD cost per video), naming the pricing source it draws from. It is clear what the tool produces, but it never contrasts itself with the sibling get_pricing_and_policies, which an agent could plausibly confuse for cost lookups.

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 explicit when-to-use, when-not-to-use, or alternative routing. The agent is left to infer that this is a pre-generation cost check and that get_pricing_and_policies covers subscription-level pricing rather than per-video credits.

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