Skip to main content
Glama

generate_image

Create images from text prompts using Agnes Image 2.1 Flash. Specify size, aspect ratio, and negative prompt to get an image URL or base64 data.

Instructions

Generate an image using Agnes Image 2.1 Flash. Returns the image URL or base64 data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sizeNoResolution tier: 1K (default), 2K, or 4K
ratioNoAspect ratio (default 1:1). Options: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3
promptYesText description of the image to generate
negative_promptNoThings to avoid in the generated image

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations provided, the description carries the behavioral disclosure burden. It usefully discloses the model and that the output is a URL or base64 data. It does not mention rate limits, costs, or other operational behaviors, but for a straightforward generation tool this is reasonable.

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 short sentences with no filler. The action, model, and return type are front-loaded, and every part contributes useful information.

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?

The description plus the schema gives enough to call the tool with the required prompt and optional parameters. It lacks guidance about when to use list_image_options or limitations on the generation output, but the core callable information is present.

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 all four parameters including defaults and enums. The description adds no parameter-level meaning beyond saying what generation does, which matches the baseline expectation.

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

Purpose4/5

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

The description clearly states the action ('Generate an image'), names the specific model ('Agnes Image 2.1 Flash'), and describes the output form. However, it does not explicitly distinguish the tool from its sibling list_image_options, so it stops short of a 5.

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?

The use case is implied: call this tool when an image needs to be generated. It does not state when to use an alternative, mention any exclusions, or contrast with list_image_options, so the guidance is only implicit.

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

Deploy Server

Other Tools