Skip to main content
Glama
ClipCloud MCP server
by alexmrgit

Estimate cost

estimate_cost
Read-only

Calculate the price of up to 10 images by style before generating them, so you can review costs without creating images or charging your balance.

Instructions

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, and the description adds genuinely new behavior: no generation occurs, no charge is made, and pricing interacts with a free daily allowance of up to 25 images when the paid balance is empty. It does not explain how the returned price is structured (per image vs. total for count) despite there being no output schema.

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?

Three short sentences, front-loaded with the core action and immediately followed by the safety reassurance. The wording "This is the paid price" is slightly awkward and the free-tier clause is compressed into a semicolon, but nothing is wasted.

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 simple two-parameter read tool this is mostly sufficient, but with no output schema the description carries the burden of describing the result and doesn't say whether the price is per image or for the requested count, nor what it reports in the free-tier case. That is a meaningful gap for a cost-estimation tool.

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% – both count and style are documented in the schema with defaults, bounds, and style examples. The description adds no parameter-level meaning beyond that, so the 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?

"Tell the price of a generation before making it" names a specific verb (price estimation) and resource (an image generation), and the phrase "before making it" implicitly contrasts it with generate_image. An agent can distinguish this from the siblings in generate_image/get_balance without opening a schema.

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?

The description clearly establishes the usage context: call this before generating to learn the price, and it explicitly reassures that nothing is generated or charged, so it is safe to call speculatively. It stops short of naming alternatives or explicit exclusions (e.g. when to skip estimation and call get_balance directly).

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