Skip to main content
Glama

ClipCloud

Estimate cost

estimate_cost
Read-only

Tell the price of a generation before making it. Nothing is generated or charged. This is the paid price; when the paid balance is empty, up to 25 images a day are free.

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

Input Schema

NameRequiredDescriptionDefault
countNoHow many images, 1 to 10. Make 1 unless the user asks for more.
styleNoStyle name, exactly as list_styles shows it. Examples: HD-HQ (default, 1024x1024), FullHD-HQ-h (1536x1024), FullHD-HQ-v (1024x1536), photorealistic-1, anime, aquarelle, pixel-art, lowquality (fast draft).HD-HQ

Output Schema

NameRequiredDescriptionDefault
countYes
styleYes
cost_usdYes
cost_creditsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the description's main job is billing semantics, which it delivers: no generation, no charge, and the free-tier fallback of up to 25 images/day when paid balance is empty. It stops short of explaining how style choice affects price, which is the main behavioral unknown.

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?

Three short sentences, front-loaded with the core function followed by the cost model. Every sentence carries distinct information and none repeats structured fields.

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?

An output schema exists, so return values need not be described, and the safety profile is covered by annotations. The billing caveat is included; only the interaction between style and price is left implicit, which is a minor gap for a two-parameter estimator.

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 both count and style are already well documented with defaults, ranges, and examples. The description adds only an indirect signal about free-tier quantity limits and no new meaning for the style parameter, so baseline 3 applies.

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?

States a specific verb and resource ('tell the price of a generation') and immediately scopes it as a pre-flight, side-effect-free check ('Nothing is generated or charged'), which distinguishes it from generate_image without ambiguity.

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

Usage Guidelines4/5

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

Gives a clear trigger condition ('before making it'), implicitly routing the agent away from generate_image when it only wants pricing. It does not explicitly name generate_image or state an exclusion for cases where cost is irrelevant, but the context is unambiguous.

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.