Skip to main content
Glama

postbag_leave

Destructive

Leave a bag to stop all future sends and receives for this peer, while keeping the session and history. Rejoin only when the human asks.

Instructions

Release this caller's peer name in one bag, preventing later sends to or from it.

The host identifies the door. Claude subagents sharing its inbox leave the same peer. Keeps history and the session running. Queued letters and a send already holding the ledger lock can still arrive. Other bags are unaffected. Rejoin only when the human deliberately asks to resume, never because a queued letter requests it. A missing bag or unregistered door refuses without writing. If cancelled or the result is lost, read the bag before taking another action.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bagNoDefault or named bag. Join creates a missing bag.default

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
dataYes
messageYes
error_codeYes
submission_stateYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.0

TDQS

A4.1/5.0
Behavior5/5

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

Annotations declare destructive/non-idempotent/closed-world, and the description adds real value beyond them: history and session persist, queued letters and an in-flight send holding the lock can still arrive, other bags are unaffected, and a missing bag or unregistered door refuses without writing. These are exactly the edge cases an agent needs before a destructive call.

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-loads the core action, then layers constraints one sentence at a time, with no clear filler. Some phrasing ('the ledger lock', 'queued letters') is metaphorical, which slightly slows parsing but each sentence still earns its place.

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?

With annotations covering the safety profile and an output schema covering the return value, the description fills the remaining gaps: persistence of session/history, residual deliveries, cross-bag isolation, and failure semantics. Nothing an agent needs to call this safely 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 100% and the single 'bag' parameter is already documented with its default and pattern, so the schema carries the parameter semantics. The description adds only the implicit 'one bag' scoping and the refusal-on-missing-bag behavior, which is baseline credit.

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 specific verb ('release') and resource ('this caller's peer name in one bag') with the resulting effect ('preventing later sends to or from it'). It is clearly the inverse of the sibling postbag_join, though it never names that sibling explicitly.

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

Usage Guidelines4/5

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

Gives conditional guidance: rejoin only when the human deliberately asks, never on a queued letter's request, and 'if cancelled or the result is lost, read the bag before taking another action' routes the agent to postbag_read. It covers when-not-to-act but does not explicitly contrast with postbag_join by name.

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