Skip to main content
Glama

Generate ai image

generate_ai_image
Destructive

Create AI images from prompts with selectable models and aspect ratios; confirm each request before the provider executes the render.

Instructions

POST /v5/tools/generate_ai_image. Current Bannerbear V5 operation; provider scopes, locks and credits apply. Mandatory confirmation before provider execution; one submission only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountNoExact private workspace profile label; no fallback to another profile key.
confirmNoMust be true for this exact requested render, upload, edit, install or delete.
payloadNoComplete current native JSON body. Use payload or payload_file exclusively.
payload_fileNoRegular non-symlink local JSON file, at most 1 MiB.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true, so the safety profile is covered. The description adds context beyond that: provider scopes and credit consumption apply, confirmation is mandatory before execution, and only one submission is permitted (reinforcing non-idempotency in practice). These are genuinely useful operational facts.

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?

Two tight sentences with the endpoint front-loaded and constraints packed densely behind it. No filler, though the phrasing is somewhat terse and jargon-laden ('provider scopes, locks and credits apply') rather than explanatory.

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 parameterless-required mutation tool with no output schema, the description covers the critical behavioral facts an agent needs: confirmation requirement, credit/scope implications, and single-submission semantics. It is fairly complete, with the main gap being no mention of what the call returns or how jobs are polled.

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 the schema already documents account, confirm, payload and payload_file thoroughly (including the payload_file size limit and payload/payload_file exclusivity). The description adds no parameter-level detail beyond what the schema provides, so the baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with the HTTP endpoint (POST /v5/tools/generate_ai_image) and labels it a 'Current Bannerbear V5 operation,' but never states in words what the tool does beyond the self-evident name. It does not distinguish it from siblings like generate_ai_video or generate_voiceover. Purpose is inferable from the name but the prose adds little.

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

Usage Guidelines3/5

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

It gives real usage constraints — 'Mandatory confirmation before provider execution; one submission only' — which tells the agent a confirm flag is required and retries are not allowed. However, it never states when to choose this tool over the many sibling generation tools, nor any preconditions. Usage is partially implied rather than routed.

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