Skip to main content
Glama

Remove a Ledger plan item

ledger_plan_delete
Destructive

Removes one plan item while its decision is open, for an item added by mistake or work that's no longer planned. If the work was planned and then dropped, prefer ledger_plan_update with status 'skipped' so settlement can see it. Fails with conflict once the decision is settled. May return needs_confirmation.

Input Schema

NameRequiredDescriptionDefault
itemIdYes
workspaceNoWorkspace slug. Personal tokens with no default workspace MUST pass this; tokens with a default can override per call. Ignored for workspace API keys.
approvalIdNoApproval id from a prior needs_confirmation envelope.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered. The description adds real behavioral detail beyond that: a conflict failure once the decision is settled, and the possibility of a needs_confirmation response envelope. It stops short of saying whether removal is reversible or what happens to the settled record.

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?

Four short sentences, front-loaded with the action and scope before the alternative and failure modes. Efficient overall, though the alternative-tool sentence is slightly clause-heavy and could be tightened.

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 destructive mutation with no output schema, the description covers the main behavioral risks: the precondition (open decision), the failure mode, and the confirmation flow. It omits permissions requirements and whether the removal is permanent, but nothing critical to invoking it correctly is missing.

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 coverage is 67%; workspace and approvalId carry their own descriptions, while itemId is undocumented in the schema. The description ties the needs_confirmation return to the approvalId flow, which adds some meaning, but it never clarifies the itemId format or what identifying a plan item entails. Baseline 3 for partial coverage with modest added value.

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 and resource ('Removes one plan item') and immediately scopes it ('while its decision is open'), which separates it from ledger_plan_add, ledger_plan_list and ledger_plan_update. An agent can identify the operation without opening the 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?

Gives explicit when-to-use ('added by mistake or work that's no longer planned') and when-not, naming the alternative tool and argument ('prefer ledger_plan_update with status "skipped"') with the reason ('so settlement can see it'). This is a complete routing rule, not an implied one.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources