Skip to main content
Glama

Generate Image

generate_image

Create images from text prompts using your logged-in Google AI Pro quota, with selectable aspect ratios and custom output paths.

Instructions

Generate an image using the logged-in Google AI Pro quota (Antigravity), by calling the image generation endpoint directly instead of running the agy agent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesDetailed description of the image to generate.
output_pathNoDestination path (e.g. "./assets/logo.png"). Empty = generated_image.<ext> in cwd.
aspect_ratioNoImage aspect ratio. One of: 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9.1:1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It usefully discloses that the call consumes the Google AI Pro quota and bypasses the agent, but does not cover rate limits, authentication requirements, whether an existing output file is overwritten, or failure modes.

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?

A single front-loaded sentence with the action first and the clarifying method second; no filler. It is efficient, though the trailing 'instead of running the `agy` agent' clause reads slightly as implementation trivia.

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?

Given three well-documented parameters and no output schema, the description covers the core action and quota source but omits what the tool returns and where the artifact lands (only inferable from the output_path default). Adequate but with clear gaps for a generation tool.

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 prompt, output_path, and aspect_ratio (with its enum) are already fully documented. The description adds no syntax or format detail beyond the schema, so the baseline 3 applies.

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?

States a specific verb and resource ('Generate an image') and adds distinguishing scope: it uses the logged-in Google AI Pro quota and hits the image generation endpoint directly rather than via the `agy` agent. This differentiates it from the sibling antigravity_status, though it never names that sibling to make the contrast explicit.

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?

Implies when it applies by contrasting with the agent path ('instead of running the `agy` agent'), which hints at a direct-call use case, but gives no explicit when-to-use/when-not guidance, no prerequisites for the logged-in quota, and no mention of the antigravity_status alternative.

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