Skip to main content
Glama

Price an image

quote_image

Use this when the user wants Deepnia to make an image: gets its exact price in Deepnia credits before anything is created. Nothing is charged. Reference images keep the exact product/person: give the product photo here. Show the price to the user; once they accept, call create_image with the quote_id and credits it returns: that call makes the image (a quote alone creates nothing).

Input Schema

NameRequiredDescriptionDefault
countNoImages to make in this creation, each one charged. Default and limits: settings.count in list_creation_options.
modelNoImage model id from list_creation_options. Default: Deepnia's default.
promptYesWhat to create, in the user's words.
resolutionNoResolution, for example 1K or 2K. Default: the model's default; see list_creation_options.
aspect_ratioNoAspect ratio, for example 1:1, 16:9 or 9:16. With pictures: their own shape when the model allows it. Default: the model's default; see list_creation_options.
reference_imagesNoReference images keep the exact product/person: give the product photo here. The image is made from them (the product in a new scene, a poster with it). Each is { creation_id } or { url }; how many each model takes: max_reference_images in list_creation_options.

Output Schema

NameRequiredDescriptionDefault
noteYes
typeYes
modelYes
creditsYes
quote_idYes
can_createYes
expires_atYes
available_creditsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Adds real context beyond the annotations: 'Nothing is charged' and 'a quote alone creates nothing' disclose the cost and side-effect profile, which matters for a tool whose readOnlyHint is false. There is mild tension with readOnlyHint=false (a quote presumably persists some server-side record), but the description's claim is about images and charges, not quote storage, so it is not a contradiction. It stops short of saying how long a quote_id stays valid.

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?

Front-loaded and dense, with the key constraint ('Nothing is charged') placed early. The colon-chained phrasing makes it slightly run-on but nearly every clause carries actionable information; the closing parenthetical is mildly redundant with the earlier 'before anything is created'.

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?

Covers the full quote-then-create workflow, and an output schema exists so return values need not be explained beyond the mention of quote_id and credits. With six fully described parameters and annotations present, an agent has everything needed to call it correctly.

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 every parameter including nested reference_images is already documented. The description adds a usage hint for reference_images ('give the product photo here') but adds no format, default, or constraint detail beyond the schema. Baseline 3 is correct when the schema carries the semantics.

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 ('gets its exact price in Deepnia credits') and immediately scopes it against what it is not ('before anything is created'). An agent can distinguish it from create_image and from quote_video/quote_voiceover without opening any schema.

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?

Gives explicit when-to-use ('when the user wants Deepnia to make an image') and the concrete next step: show the price, then call create_image with the returned quote_id and credits. It also names the condition that selects that alternative ('once they accept'), leaving nothing to inference.

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.