Skip to main content
Glama

Stash — Shared AI Memory

Remove a session pin

unpin
DestructiveIdempotent

Owner only. Call only when the user explicitly asks to remove a pin. Use the entry_uuid and path shown on the pin in init. Removes the snapshot at that scope, leaving the memory available. Repeating the call is safe.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "entry_uuid": "<entry_uuid>",
      "path": "<path>"
    },
    "name": "unpin"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesExisting namespace where the pin was set or moved. Pass / explicitly for the root.
entry_uuidYesUUID of the pinned memory.

Output Schema

NameRequiredDescriptionDefault
pathYes
pinnedYes
entry_uuidYes
next_actionsNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, but the description adds what they cannot express: an owner-only authorization requirement and the scope of what is destroyed versus preserved (snapshot removed, memory retained). 'Repeating the call is safe' largely restates idempotentHint, which costs it a point.

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?

Five short sentences, front-loaded with the precondition and the call-gating rule before the mechanics. Almost every sentence earns its place; the idempotency restatement at the end is the only mild redundancy against the annotations.

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 two fully described required parameters, a full annotation set, and an output schema covering return values, nothing an agent needs in order to invoke this correctly is missing. The authorization, identification, and effect semantics are all present.

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?

Schema coverage is 100%, so the baseline would be 3, but the description goes further by telling the agent where the values come from ('the entry_uuid and path shown on the pin in init'), which prevents the common error of fabricating or copying IDs from the wrong source. It does not explain the scope semantics of path beyond the schema.

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 ('Remove a session pin' / 'Removes the snapshot at that scope') and, crucially, distinguishes it from destruction tools by noting it leaves the memory itself available. An agent can tell this apart from rm or brain_remove without inspecting anything else.

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 an explicit gating condition ('Call only when the user explicitly asks to remove a pin') plus a prerequisite ('Owner only') and a pointer to init for obtaining the correct identifiers. It does not name an alternative tool outright, but 'leaving the memory available' implies when a different deletion tool would be appropriate.

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