Skip to main content
Glama

gemini_end_image_edit_tool

Terminate an active image editing session, releasing system resources and closing the session.

Instructions

End an image editing session and free resources.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesThe session ID to end.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/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 does disclose that resources are freed and the session is ended, which is useful behavioral context. But it omits other important traits such as whether the action is irreversible, whether pending edits are lost, or whether any special permissions are required.

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 a single, front-loaded sentence with no filler. Every word contributes: the verb identifies the action, the object identifies the resource, and 'free resources' adds behavioral context.

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 simple one-parameter lifecycle tool with an output schema, the description is mostly complete: it states the action and a key side effect. It could be improved by noting that ending is terminal or that the session cannot be reused afterward, but the current scope is adequate for this complexity level.

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%, and the single parameter's description ('The session ID to end.') already fully communicates its meaning. The tool description adds no further parameter-level detail, so the baseline score of 3 is appropriate.

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 uses a specific verb ('End') with a clear resource ('an image editing session') and adds a meaningful consequence ('free resources'). It clearly distinguishes from sibling tools like start_image_edit, continue_image_edit, and list_image_sessions by marking the terminal lifecycle action.

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?

Usage context is implied by the verb and the session-based sibling tools: an agent would call this after finishing edits. However, the description does not explicitly state when to use it versus alternatives, nor does it mention any preconditions or side effects such as the loss of ability to continue the session.

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