Skip to main content
Glama

Unpin

unpin

Remove a memory's pin status, making it eligible for auto-eviction from the hot cache and freeing space for other memories.

Instructions

Unpin a memory, making it eligible for auto-eviction from hot cache.

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": {
      "memory_id": "<memory_id>"
    },
    "name": "unpin"
  }
}

Input Schema

NameRequiredDescriptionDefault
memory_idYesID of memory to unpin

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does disclose the key behavioral consequence, that the memory becomes evictable from hot cache rather than being deleted, which is valuable. However, it says nothing about idempotency, whether it requires the memory to currently be pinned, error behavior for unknown IDs, or whether the memory survives elsewhere, all of which matter for a mutation tool with zero annotation coverage.

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

Conciseness5/5

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

A single front-loaded sentence that states the action first and the consequence second, with no filler. Nothing could be removed without losing information.

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?

The tool is simple: one required integer parameter and an output schema, so return values need no explanation. The description covers the action and its state effect adequately for this complexity, with the only meaningful gap being edge-case behavior (unpinning a non-pinned memory, unknown IDs) left unaddressed in the absence of annotations.

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 exactly one parameter with 100% schema description coverage ("ID of memory to unpin"), so the schema already does the work. The description adds no format, sourcing, or validation detail beyond the schema, which is the expected baseline here.

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?

The description gives a specific verb plus resource ("Unpin a memory") and states the resulting state change (eligible for auto-eviction from hot cache). It is immediately distinguishable from a destructive sibling like forget because it frames the effect as eviction eligibility rather than deletion. It stops short of explicitly contrasting with pin or demote, hence 4 rather than 5.

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

Usage Guidelines3/5

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

There is no explicit when-to-use or when-not-to-use guidance and no named alternative. The clause about auto-eviction implicitly tells an agent the context is hot-cache management, but the agent must infer that this is the inverse of pin and not a substitute for forget.

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