Skip to main content
Glama

memory_pin

Pin or unpin a memory to keep it in the session brief, ensuring key facts stay visible to the agent.

Instructions

Pin or unpin a memory so it stays in the session brief.

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": "memory_pin"
  }
}

Input Schema

NameRequiredDescriptionDefault
pinnedNo
memory_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does convey that this is a reversible state toggle (pin/unpin) with a visible downstream effect on the session brief, which is useful behavioral context. It does not mention whether the pin persists across sessions, what happens if the memory_id doesn't exist, or whether the call is idempotent.

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?

A single short sentence with the action front-loaded and the effect attached. Nothing is wasted, though the brevity comes at the cost of parameter detail rather than being purely efficient.

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

Completeness3/5

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

The tool is simple (two params) and an output schema exists, so return values needn't be explained. Still, one of the two parameters (the pinned flag and its default) is undocumented anywhere, which is a meaningful gap for a toggle-style tool.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate and largely doesn't. The 'pinned' boolean is never explained: an agent must infer that 'unpin' corresponds to pinned=false, and the default of true is invisible from the description. The memory_id parameter is left entirely implicit.

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 pair (pin or unpin) applied to a clear resource (a memory) and gives the effect: it stays in the session brief. That distinguishes it from siblings like memory_forget or memory_add, though it doesn't name any 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 Guidelines3/5

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

The phrase 'so it stays in the session brief' implies the use case for pinning, and 'unpin' implies the reverse. However, there is no explicit when-to-use or when-not guidance, no mention of prerequisites, and no comparison to alternatives such as removing a memory entirely with memory_forget.

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