Skip to main content
Glama
olegfour3

Gemini Image Generator MCP Server

by olegfour3

transform_image_from_file

Modify an existing image by applying changes described in a text prompt using Gemini's AI model.

Instructions

Transform an existing image file based on the given text prompt using Google's Gemini model.

Args: image_file_path: Path to the image file to be transformed prompt: Text prompt describing the desired transformation or modifications output_image_path: Optional path to save the transformed image. If not provided, uses default path.

Returns: Path to the transformed image file saved on the server

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYes
image_file_pathYes
output_image_pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses the use of Google's Gemini model, the optional output path, and the return of a file path. However, it does not clarify whether the original file is modified or if there are constraints like file size limits.

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, using a single introductory sentence followed by a well-structured argument list and return value description. It is front-loaded with the transformation purpose and uses no redundant text.

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 the presence of an output schema and the tool's moderate complexity, the description covers core functionality and return type. It lacks details on error handling, file format support, or a note distinguishing from transform_image_from_encoded, which would improve completeness.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must provide parameter meaning. It explains image_file_path, prompt, and output_image_path clearly, including the optional nature and default behavior, adding significant value beyond the schema.

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 tool transforms an existing image file using a text prompt with Google's Gemini model. It specifies the verb (transform) and resource (existing image file), distinguishing it from sibling tools like generate_image_from_text and transform_image_from_encoded.

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

Usage Guidelines2/5

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

The description does not provide explicit guidance on when to use this tool versus its siblings. It only describes what the tool does, leaving the agent to infer usage context without any exclusion or alternative recommendations.

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/olegfour3/mcp-server-gemini-image-generator'

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