Skip to main content
Glama

History

history

Retrieve recent undoable steps so you can review or revert edits made to a painting over MCP.

Instructions

List recent undoable steps.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "history"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNodefault 30

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, yet 'List' is the only signal that this is a read-only operation. It does not disclose whether the list is per-project/per-document, whether the current undo/redo cursor position is reflected, how far back 'recent' reaches, or what each entry contains.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with zero filler. It is efficient, though the brevity borders on under-specification for a tool with no annotations or output schema.

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?

Low complexity (one optional parameter) keeps the definition viable, but with no annotations and no output schema the description should at least sketch the returned entry shape and its relationship to undo/redo. Those gaps are noticeable but not disqualifying for a simple listing tool.

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 optional parameter with 100% schema description coverage ('default 30'), so the baseline is 3. The description adds nothing about ordering, truncation, or what happens when limit is omitted or exceeds the stack depth.

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?

States a concrete verb ('List') and resource ('recent undoable steps'), so an agent knows it enumerates the undo stack rather than performing an undo. It does not differentiate from nearby tools such as redo, get_state, or snapshot, so scope within the history/state family is left implicit.

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?

No when-to-use guidance is given: nothing says whether this is for inspecting history before an undo, for auditing edits, or as a precursor to redo. No alternatives or exclusions are named, leaving routing entirely to inference.

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