Skip to main content
Glama

gemini_generate_image_with_input_tool

Edit a local image by sending it to Gemini with instructions. Apply watermarks, change styles, or composite images using a file path and prompt.

Instructions

Generate/edit an image using a local image file as input.

Upload a local image and give Gemini instructions for how to modify it. Use cases: add watermarks, change styles, composite images, etc.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesInstructions for what to do with the input image.
file_pathYesAbsolute path to a local image file.
_aspect_ratioNoDesired aspect ratio for the output (currently unused).1:1

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

With no annotations provided, the description carries the full burden of disclosing behavior. It implies a generative/editing operation but does not state side effects (e.g., whether the original file is modified, what output format/URL is returned), limitations, or prerequisites. It mentions that the aspect ratio parameter is 'currently unused,' which is a start, but more transparency is needed for a mutation-type tool.

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?

The description is concise and front-loaded, starting with the core action, followed by usage instructions and example use cases in a compact list. Every sentence adds value without redundancy. It is appropriately sized for a tool with two required parameters.

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?

Given that an output schema exists (so return values need not be described) and the parameter schema covers all inputs, the description is largely complete for its scope. It clearly states the input type (local file) and typical modifications. It could note any constraints like file format or size, but that is beyond what most descriptions provide; the current content is adequate.

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% for both required parameters, so the baseline is 3. The description does not add extra parameter-level nuance beyond the schema's definitions; it emphasizes general use cases but doesn't elaborate on how to construct the prompt or path requirements. It neither helps nor hinders interpretation, hence the baseline score.

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?

The description clearly states the purpose: 'Generate/edit an image using a local image file as input.' It explicitly differentiates from sibling tools like gemini_generate_image_tool (no input) and edit-session tools by focusing on a standalone edit with a local file. Use cases (watermarks, style changes, compositing) further clarify its utility.

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?

It provides clear context on when to use it ('Upload a local image and give Gemini instructions for how to modify it') and lists typical use cases. However, it doesn't explicitly contrast it with alternative image-editing workflows (e.g., session-based editing via start/continue/end tools), so the guidance is good but not exhaustive.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/crunchtools/mcp-gemini'

If you have feedback or need assistance with the MCP directory API, please join our Discord server