Skip to main content
Glama

Restore drawing

restore_drawing
Idempotent

Restores a trashed drawing to its original folder, or to the nearest parent or top level if that folder no longer exists.

Instructions

Takes a drawing out of the trash, back to its folder. If that folder is gone, it lands in the nearest folder above it, or at the top level.

Input Schema

NameRequiredDescriptionDefault
idYesThe id of a trashed drawing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish that this is a non-read-only, idempotent, non-destructive mutation. The description adds genuinely non-obvious behavior the annotations cannot express: restoration to the original folder, and the fallback chain to the nearest ancestor folder or top level when that folder is gone. What's missing is failure behavior for a drawing that isn't trashed.

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?

Two short sentences, front-loaded with the primary action and followed by the edge-case outcome. Every clause carries information; nothing is redundant with the title or schema.

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 one-parameter mutation with no output schema, the description covers the action, the precondition, and the folder-fallback semantics well. It omits error/return behavior, a minor gap given how simple the tool is.

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?

There is a single parameter with 100% schema description coverage ('The id of a trashed drawing.'), so the schema already carries the semantics. The description adds nothing about the id beyond the trash precondition, which matches the baseline 3.

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?

The description names a specific verb and resource ('takes a drawing out of the trash') and implies the trash-to-folder transition, which cleanly separates it from restore_folder. It stops short of explicitly naming siblings, but the resource noun makes the distinction obvious.

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 is only implied through the precondition that the drawing is in the trash. There is no explicit statement of when not to use it, nor a pointer to trash_drawing/restore_folder as alternatives, so the agent must infer routing.

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