Skip to main content
Glama

Estimate Developer API Generation Cost

estimate_generation_cost

Estimate credits for a Cannon Studio generation request before creating billable work. Requires OAuth or a developer API key; it may update key/token usage metadata but does not spend credits, enqueue jobs, or change assets. Use get_api_operation first if operation or input fields are unclear, then pass the same operation/input pair to create_generation_request after user approval.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYesOperation-specific request payload to estimate. Use the exact shape documented by get_api_operation for the selected operation, for example image.generate expects fields like prompt/model/aspect_ratio, video.generate expects prompt/model/duration/aspect_ratio, and three_d.location.generate expects description with optional source_image_urls and angle_context.
operationYesCannon Studio developer API operation id to price. Use get_api_operation first if unsure. Examples: image.generate, video.generate, three_d.model.generate, three_d.location.generate, music.generate, narration.generate, subtitles.generate.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNo
noteNo
errorNo
labelNo
statusNo
responseNo
operationNo
estimatedCreditsNo

TDQS

A4.7/5.0
Behavior5/5

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

All annotations are false and minimally informative; the description compensates by disclosing the non-obvious side effect ('may update key/token usage metadata') and enumerating non-actions (no credit spend, no job enqueue, no asset changes). No contradiction with annotations. This goes beyond the structured data and provides meaningful behavioral context.

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?

The description is two dense sentences with no filler. It front-loads the core purpose, then side effects and workflow; every clause carries information relevant to safe use.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has nested input and output schema, but the description covers purpose, auth, side effects, and integration with two sibling tools. It does not need to explain return values because output schema exists; remaining context is sufficiently addressed.

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%, so the baseline is 3; the schema already documents operation examples and input shape. The description adds workflow context ('same operation/input pair') but does not add parameter-level detail beyond the schema, keeping this at the baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with 'Estimate credits for a Cannon Studio generation request before creating billable work', a specific verb+resource with clear scope. It distinguishes itself from sibling tools by explicitly referencing get_api_operation and create_generation_request, showing where it fits.

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

Usage Guidelines5/5

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

It provides explicit workflow guidance: use get_api_operation first if unclear, then pass the same pair to create_generation_request after approval. It also states exclusions ('does not spend credits, enqueue jobs, or change assets') and required auth, giving clear when-to-use and when-not-to-use boundaries.

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.

TDQS

A4.1/5.0
Disambiguation5/5

Each tool targets a distinct resource or action: status, comparison, creation, estimation, fetching, API docs, checkout, generation polling, model availability, pricing, capabilities, offerings, toolkits, workflow recommendation, and knowledge search. Even the get_* and list_* tools have clear, non-overlapping purposes.

Naming Consistency3/5

Most tools follow a verb_noun pattern (create_generation_request, list_offerings, get_checkout_link), but there are exceptions: api_status is a noun, and fetch and search are single verbs without an object. The mix of get/list/compare/recommend/search/fetch is readable but not perfectly uniform.

Tool Count5/5

15 tools is at the upper bound of the well-scoped range, but each tool serves a clear, distinct purpose in the Cannon Studio domain—from estimation and creation to knowledge retrieval and workflow recommendation. No tool feels redundant or superfluous.

Completeness3/5

The surface covers creation, estimation, polling, knowledge, and commercial operations, but the generation lifecycle is incomplete: there is no update, cancel, or list tool for generation requests, and the create tool explicitly cannot be cancelled through MCP. This is a notable gap for agents managing ongoing work.

Resources