Skip to main content
Glama

Vhoo.ai

Estimate Generation Credits

estimate_credits
Read-onlyIdempotent

Calculate the exact credit cost for a basic Vhoo.ai image or video generation before running it. No API key required.

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": {
      "kind": "<kind>",
      "model": "<model>",
      "resolution": "<resolution>"
    },
    "name": "estimate_credits"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesWhether to estimate an image or video generation.
sizeNoAspect ratio (e.g. "auto", "1:1", "16:9", "9:16").
modelYesModel identifier from list_models (e.g. "seedream-5-5", "gpt-image-2.6-sunburst-ext", "seedance-2.5", "kling-v4").
qualityNoImage quality level for GPT Image 2.6 SVG output.
durationNoVideo duration in seconds (required when kind is "video").
resolutionYesOutput resolution supported by the model (e.g. "1k", "2k" for images; "480p", "720p", "1080p" for videos).
outputFormatNoImage output format. Defaults to "png".
referenceImageCountNoNumber of reference images (defaults to 0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered elsewhere. The description contributes one genuinely new behavioral fact — that no API key is required — but says nothing about whether the estimate is authoritative, whether it accounts for reference images or quality tiers, or how the result is returned.

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?

Two short sentences with the action and scope front-loaded and the auth caveat placed second. Nothing is redundant, and every clause contributes either purpose or a practical constraint.

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 an eight-parameter, read-only estimation tool with full schema coverage and no output schema, the description covers what matters: what is computed, for which media kinds, and when to call it. The main residual gap is that it never characterizes the response — whether it returns a single credit figure or a breakdown — which matters given the absence of an output schema, and it leaves 'basic' undefined.

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% and eight parameters are each individually documented, including the conditional 'required when kind is video' for duration, so the schema carries the load. The description adds no parameter-level meaning beyond restating that image or video is the choice axis; baseline 3 applies.

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?

States a specific verb and resource ('Calculate the exact credit cost') scoped to image or video generation, which separates it from the generate_* siblings by making clear it is a pre-flight cost estimate rather than a generation call. It never names an alternative tool explicitly and the qualifier 'basic' is unexplained, which keeps 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 Guidelines3/5

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

The phrase 'before running it' gives a clear temporal use case for the tool, but there is no exclusion or routing guidance relative to get_credit_balance, get_pricing_plans, or list_models, all of which an agent could plausibly pick for cost questions. The 'No API key required' note hints at a low-friction context but does not function as a when-to-use rule.

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