Skip to main content
Glama

check_pricing

Look up RunAPI pricing for kie image and video upscale endpoints by model or action so you can confirm costs before creating tasks.

Instructions

Look up RunAPI pricing for the kie model line.

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

Input Schema

NameRequiredDescriptionDefault
modelNoModel slug. Defaults to the line's primary model.
actionNoEndpoint name. Defaults to the endpoint that offers the model.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden and does little: it doesn't state that the operation is read-only/side-effect free, whether pricing is live or cached, the currency or units returned, or whether any auth is required. 'Look up' weakly implies a safe read, but nothing is confirmed.

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 zero filler, but it is arguably under-specified rather than efficiently concise given how much behavioral context is left out.

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 two-optional-parameter lookup with full schema coverage and no output schema, the essential calling mechanics are covered. The absence of any statement about what pricing data comes back or which line/endpoint combination is valid leaves an agent guessing on the result shape.

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%, with both the model slug and the action enum already documented including their defaulting behavior, so the schema does the work. The description only adds the 'kie model line' scoping context and clarifies nothing about the upscale action values.

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 ('look up') and resource ('RunAPI pricing') scoped to the 'kie model line'. An agent can tell this is a read-only pricing lookup rather than a task or image operation, though the description never names how it differs from the upscale siblings it likely precedes.

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 guidance on when to call this versus the upscale_image/upscale_video siblings, nor any mention of prerequisites such as needing to check pricing before invoking an endpoint. Usage is only implied by the tool name.

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