Skip to main content
Glama

firefly_generate_image

Generates images from text prompts through Firefly web controls, requiring explicit user approval and confirmation before any credit-consuming generation.

Instructions

Atajo WEB para imagen; para API use firefly_prepare_operation. Genera imagen desde texto. Puede consumir créditos. Solo después de aprobación explícita del usuario; confirm_generation=true, modo y generación habilitados. No auto-reintentar UNKNOWN.

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": {
      "mode": "<mode>",
      "request_id": "<request_id>",
      "confirm_generation": "<confirm_generation>",
      "prompt": "<prompt>"
    },
    "name": "firefly_generate_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYes
sizeNosquare_1024
countNo
promptYes
request_idYes
confirm_generationYesSolo true tras aprobación explícita del usuario para esta generación y su consumo. No inferir aprobación.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=false, openWorldHint=true), the description discloses credit consumption, an approval gate that must not be inferred, the required confirm_generation=true / mode / generation-enabled state, and a no-auto-retry policy on UNKNOWN outcomes. The credit cost and approval requirements are the highest-value behavioral facts for this tool and both are present.

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 with the disambiguation and kept to a few short clauses, but the telegraphic style produces ambiguity such as 'modo y generación habilitados', which does not plainly state what must be enabled.

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?

Gating, cost, and retry policy are covered, which is strong for a costly mutation. However, with no output schema and no statement of what comes back (job id? immediate asset? how to poll via firefly_job_status), an agent cannot plan the follow-up step, and four required parameters remain unexplained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 17%, so the description must carry the parameter burden but does not. It only restates confirm_generation=true (already described in the schema) and vaguely references 'modo'; the purpose of request_id (the required idempotency-style key with an 8-80 char pattern), size, count, and prompt constraints are never explained.

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 ('Genera imagen desde texto') and immediately distinguishes the web shortcut from the API path ('para API use firefly_prepare_operation'). An agent can identify this tool and its counterpart without opening either 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?

Explicit routing guidance: use firefly_prepare_operation for API, this one for web. It adds a hard precondition ('Solo después de aprobación explícita del usuario') and an exclusion ('No auto-reintentar UNKNOWN'), which is exactly the when/when-not information an agent needs.

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