Skip to main content
Glama

wanyra_estimate_cost

Estimate exact CNY cost for a specific Wanyra model using live public catalog rates (1,000 points = CN¥1). Works without an API key.

Instructions

Estimate exact CNY cost for a specific Wanyra model using live public catalog rates (1,000 points = CN¥1). Works without an API key.

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

Input Schema

NameRequiredDescriptionDefault
modelYesWanyra model ID (e.g. star1age-minimax-h3, star1age-claude-sonnet-5.5).
secondsNoVideo/audio duration in seconds (for per_second models).
resolutionNoOptional resolution key such as 480P, 720P, 1080P, 2K, 4K.
input_tokensNoEstimated input tokens (for text models).
output_tokensNoEstimated output tokens (for text models).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the rate source ('live public catalog rates'), the unit conversion (1,000 points = CN¥1), and that no API key is required. It does not say whether an unknown model produces an error or a null, nor whether the call hits the network, which keeps it from a 5.

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 compact sentences, front-loaded with the core action and unit, followed by the access note. No filler or redundant restatement of the tool name.

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?

Covers purpose, rate basis, currency, and authentication status — the essentials for a five-parameter calculator. The main gap is the absence of an output schema combined with no description of the return shape (total only, or a breakdown by component), which an agent would want to know before parsing the result.

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 each parameter (model, seconds, resolution, input_tokens, output_tokens) is already documented in the schema, including the per-model conditionality. The description adds no parameter-level meaning beyond restating that a specific model ID is required, so the 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: 'Estimate exact CNY cost for a specific Wanyra model'. This is clearly distinct from the sibling generation/chat tools, though it does not explicitly name them as alternatives. The currency and model scoping make the purpose unambiguous.

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 infers it should call this when it needs pricing for a model before or after generating. There is no explicit when-to-use statement, no guidance on pairing it with wanyra_generate_video or wanyra_chat, and no conditions under which not to call it. The 'Works without an API key' note gives a useful prerequisite hint but is not routing guidance.

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