Skip to main content
Glama

Create an image

create_image

Make a new picture from a description, optionally in a ready-made style (list_presets) or with a saved character kept the same (character_id). Uses PopNow credits; the tool quotes the price. Returns the picture and a link.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "prompt": "<prompt>"
    },
    "name": "create_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoOptional PopNow model id (see list_models). Leave empty for the default, Nano Banana 2.1.
styleNoOptional picture style id from list_presets (kind styles), for example anime-key-visual. PopNow applies the style's own wording and model.
promptYesWhat the picture should show, in plain words. Describe the subject, setting, style and mood.
max_creditsNoThe most PopNow credits the user agreed to spend on this. Only set it after the user confirmed a quoted price.
aspect_ratioNoShape of the picture, for example 1:1 (square), 16:9 (wide), 9:16 (phone screen), 4:5 (portrait post). Default 1:1.
character_idNoOptional character from list_characters (or create_character): keeps the same face, look or product in the result.
production_idNoOptional. Run this inside a production opened with open_production: it is paid from that production's budget and needs no separate approval while the budget lasts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / production_id
      Added value: +{
      +  "description": "Optional. Run this inside a production opened with open_production: it is paid from that production's budget and needs no separate approval while the budget lasts.",
      +  "type": "string"
      +}
  2. Changed5 schema fields changed
    • addedInput schema / properties / character_id
      Added value: +{
      +  "description": "Optional character from list_characters (or create_character): keeps the same face, look or product in the result.",
      +  "type": "string"
      +}
    • removedInput schema / properties / currency
      Removed value: -{
      -  "description": "Billing unit: USD for API keys; credits for OAuth (optional for existing OAuth clients).",
      -  "type": "string"
      -}
    • changedInput schema / properties / max_credits / description
      Previous value: -"OAuth only: the most site credits the user agreed to spend on this. Only set it after the user confirmed a quoted price."New value: +"The most PopNow credits the user agreed to spend on this. Only set it after the user confirmed a quoted price."
    • removedInput schema / properties / max_usd
      Removed value: -{
      -  "description": "API key only: maximum approved USD as a decimal string with up to 9 fractional digits. Set currency to USD. Only set after the user confirms the quoted cost_usd. Never convert max_credits.",
      -  "type": "string"
      -}
    • addedInput schema / properties / style
      Added value: +{
      +  "description": "Optional picture style id from list_presets (kind styles), for example anime-key-visual. PopNow applies the style's own wording and model.",
      +  "type": "string"
      +}
  3. Changed3 schema fields changed
    • addedInput schema / properties / currency
      Added value: +{
      +  "description": "Billing unit: USD for API keys; credits for OAuth (optional for existing OAuth clients).",
      +  "type": "string"
      +}
    • changedInput schema / properties / max_credits / description
      Previous value: -"The most credits the user agreed to spend on this. Only set it after the user confirmed a quoted price."New value: +"OAuth only: the most site credits the user agreed to spend on this. Only set it after the user confirmed a quoted price."
    • addedInput schema / properties / max_usd
      Added value: +{
      +  "description": "API key only: maximum approved USD as a decimal string with up to 9 fractional digits. Set currency to USD. Only set after the user confirms the quoted cost_usd. Never convert max_credits.",
      +  "type": "string"
      +}
  4. 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 this is a non-read-only, non-destructive, non-idempotent, closed-world operation. The description adds genuinely useful context beyond that: it consumes PopNow credits, quotes the price, and returns the picture plus a link. It does not spell out failure modes (e.g. insufficient credits) or whether repeated calls produce different results, which the idempotentHint false implies but isn't explained.

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?

Two compact sentences: the first covers purpose and the two optional flavors, the second covers cost and return value. Front-loaded and free of filler.

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?

For a 7-parameter generation tool with full schema coverage and annotations, the definition covers purpose, cost implications, and output shape. Missing only edge details such as what happens when credits run out or whether the returned link expires.

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 all seven parameters are already documented at the field level (model, style, max_credits, aspect_ratio, character_id, production_id). The description only highlights style and character_id, adding little semantic detail beyond the schema. Baseline 3 is appropriate when the schema does the heavy lifting.

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 ('Make a new picture from a description') and distinguishes itself from siblings by naming the optional paths (list_presets for styles, character_id for saved characters). An agent can tell this apart from edit_image or expand_image because it produces a new picture from a prompt.

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 clear context for how to invoke: pass a style from list_presets, keep a face via character_id, and only set max_credits after a quoted price is confirmed. It does not explicitly say when to prefer edit_image or expand_image over creating fresh, but the creation framing is clear enough.

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.