Skip to main content
Glama

memory_pin

Pin or unpin a memory as a guardrail slot, or update its importance and source authority to control recall behavior; admin role required.

Instructions

Pin/unpin a memory as a guaranteed guardrail slot or update its importance/source_authority (admin role required).

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
importanceNo
source_authorityNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so safety is partly covered; the description adds the admin-role requirement, which annotations do not carry. It still omits what pinning actually does to retrieval behavior, whether unpinning wipes the slot, and whether updates without pinning are allowed.

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?

One tight sentence with no filler, leading with the primary action. The trailing '(admin role required)' is slightly ambiguous about whether it scopes only the update case or the whole tool.

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?

For a four-parameter mutation with no output schema and zero parameter documentation in the schema, the definition is on the thin side. It covers the operations and the permission gate but leaves default behavior, reversibility, and return shape unstated.

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 description coverage is 0%, so the description must carry parameter meaning. It does map its phrases onto all four params (pin/unpin → pinned, importance, source_authority, memory_id implied), but leaves the source_authority enum values and the 0.1–5 importance range unexplained, and never mentions that pinned defaults to true.

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 names a concrete verb pair (pin/unpin) and resource (a memory), plus the secondary operation of updating importance/source_authority. It is specific enough to select among the memory_* siblings, though it does not explicitly contrast itself with any of them.

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?

It states a key precondition ('admin role required'), which is genuine usage guidance. However, it never says when to pin versus when to merely adjust importance/source_authority, nor does it point to any alternative tool such as memory_suppress or memory_reclassify.

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