Skip to main content
Glama

Pin Memory

memory_pin

Pin a stored memory to boost its search ranking and protect it from casual pruning, keeping important context prioritized for AI assistant retrieval.

Instructions

Pins a memory so it gets a ranking boost and is protected from casual pruning.

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": {
      "id": "<id>"
    },
    "name": "memory_pin"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
user_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose two real effects (ranking boost, pruning protection), but says nothing about permission requirements, idempotency if the memory is already pinned, whether pinning is limited or reversible, or what the call returns.

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 front-loaded sentence with the effect stated immediately and no filler. It is tight, though on the sparse side for a mutation tool with no annotation coverage.

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

Completeness2/5

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

With no annotations, no output schema, and 0% parameter coverage, the description should do more: it omits permission/auth needs, behavior on already-pinned memories, reversibility, and the meaning of user_id. For a state-changing tool this leaves meaningful gaps.

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% for both parameters, and the description adds nothing about them — it never explains that 'id' identifies the memory to pin or what 'user_id' scopes. The name 'id' is somewhat self-evident, but the second parameter is entirely undocumented in both schema and prose.

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 ('Pins') and resource ('a memory') plus the resulting effect (ranking boost, protection from pruning), so the agent knows exactly what the tool does. It stops short of distinguishing itself from the obvious inverse sibling (memory_unpin) or from ranking-related siblings like memory_search/memory_list.

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 stated effect ('ranking boost', 'protected from casual pruning') implies when an agent would want this, but there is no explicit when-to-use, when-not-to-use, or named alternative. The agent must infer that retrieval/promotion scenarios call for this and that memory_unpin reverses it.

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