Skip to main content
Glama

Pin

pin

Lock hot cache memories to prevent auto-eviction and keep them available when new items need space; works only for memories already in hot cache.

Instructions

Pin a hot cache memory to prevent auto-eviction.

Pinned memories stay in hot cache even when space is needed for new items. Only works on memories already in 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": "pin"
  }
}

Input Schema

NameRequiredDescriptionDefault
memory_idYesID of hot memory to pin

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 provided, so the description must carry the behavioral burden. It usefully explains that pinned memories remain in hot cache even under space pressure and that only existing hot-cache memories can be pinned, but it omits idempotency, permissions, error behavior, and how to undo the pin beyond the existence of unpin as a sibling.

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?

The description is short, front-loaded, and every sentence adds relevant information about the effect and the hot-cache precondition. There is no unnecessary wording.

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?

For a simple one-parameter tool with full schema coverage and an output schema, the description is largely complete. The main remaining gap is lack of explicit guidance on unpinning or how pinning interacts with related promotion or eviction workflows.

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% for the single memory_id parameter, so the schema already documents the parameter. The description only adds contextual qualification that the memory must already be in hot cache, which is useful but minimal beyond the schema.

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 states a specific verb and resource: pinning a hot cache memory to prevent auto-eviction. It clearly explains the intended effect, though it does not explicitly contrast with siblings such as unpin or promote.

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 description gives an implied usage condition: use this to keep a hot-cache memory from being auto-evicted, and it only works on memories already in hot cache. It does not explicitly say when to use unpin, promote, or other alternatives.

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