Skip to main content
Glama

clear_undo_barriers

DestructiveIdempotent

Remove all undo barriers at once to let undo traverse the entire buffer again. Lifts the floor without undoing changes, affecting barriers from other sessions too.

Instructions

Remove ALL undo barriers at once so undo can traverse the whole buffer again -- including barriers another session or the human placed to protect their work, so prefer remove_undo_barrier for just your own. Nothing is undone by this; it only lifts the floor. WARNING: success is hardcoded true: had_barrier is the oracle, false meaning there was nothing to clear.

Returns: { success: bool (hardcoded), had_barrier: bool (THE oracle -- false = honest no-op), undo_count: int, queue_length: int }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Goes beyond annotations by disclosing that it destroys barriers placed by other sessions or the human, and clarifies 'Nothing is undone by this; it only lifts the floor' — an important nuance against destructiveHint=true. It also warns that success is hardcoded true and had_barrier is the real oracle, which is genuinely useful behavioral context. Slightly short of 5 only because it doesn't say whether the action is reversible or how auth/ownership affects the removal.

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?

Front-loaded with the action and scope, then the safety nuance, then the return-value warning, then a compact Returns block. Every sentence earns its place given the absence of an output schema, though it is denser than strictly necessary for a zero-argument tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, so documenting the return shape inline (success hardcoded, had_barrier as oracle, undo_count, queue_length) is essential and done well. The dangerous cross-session scope and the useless success flag are both surfaced, so an agent has everything needed to call and interpret this correctly.

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

Parameters4/5

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

There are zero parameters, so the baseline is 4 per the rubric; there is no parameter surface for the description to enrich or for an agent to misread. The schema trivially encodes an empty object.

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?

States a specific verb (Remove) and resource (undo barriers) with explicit scope ('ALL undo barriers at once') and the effect ('undo can traverse the whole buffer again'). It also names the sibling it is not, so an agent can distinguish it from remove_undo_barrier without opening either schema.

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

Usage Guidelines5/5

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

Explicitly routes the agent: 'prefer remove_undo_barrier for just your own,' giving both the alternative tool and the condition that selects it. Nothing about when-to-use is left to inference.

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

Deploy Server

Other Tools