Skip to main content
Glama
aamar-shahzad

MCP Screenshot Server

undo

Revert the most recent annotation on an image by providing its image ID. Restore the previous state after a mistaken edit.

Instructions

Undo the last annotation on an image.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
image_idYesID of the image to undo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYesStatus message
image_idYesImage ID that was annotated

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior2/5

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

With no annotations provided, the description must disclose behavioral traits. It only states the action 'undo' without mentioning side effects, reversibility, error conditions (e.g., no annotation to undo), or whether it applies per image. This leaves the agent without knowledge of what changes occur or what the output schema represents.

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, concise sentence that front-loads the action and object. There is no redundant wording or filler, making it efficient for an agent to parse.

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?

For a simple tool with one parameter and an output schema, the description is minimally adequate. However, it lacks behavioral context such as what happens when there is no annotation to undo, whether the operation is idempotent, or how the output schema relates to the action. Given the simplicity, a 3 is reasonable but it could be improved with a note on undo limits.

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% – the image_id parameter is fully described in the schema. The description adds no additional meaning beyond the schema, so the baseline of 3 applies. No extra context about the parameter's format or constraints is given.

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 states a specific verb (undo) and resource (last annotation on an image), clearly distinguishing it from sibling annotation tools like add_box or annotate. The scope is unambiguous and matches the tool name.

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 description implies usage after a mistaken annotation, but provides no explicit when-to-use guidance or mention of alternatives such as get_undo_count. It does not explain when undo might be unavailable or how it interacts with other tools.

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