Skip to main content
Glama
knowledge-mcp

knowledge-mcp

by kvmadden

Pin record

records.pin

Pin or unpin a knowledge record by ID to mark priority items in the shared store; set pinned=false to remove the pin.

Instructions

Pin or unpin a record (meta.pinned, meta.pinnedAt).

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": "records.pin"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRecord id.
pinnedNoDefaults to true. Pass false to unpin.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations only say it is a write that is not destructive; the description adds the useful detail of which fields are mutated (meta.pinned, meta.pinnedAt). It does not disclose what happens to pinnedAt on unpin, whether the operation is idempotent, permission requirements, or failure behavior for a nonexistent id — gaps that matter for a mutation tool.

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 short sentence with the affected fields parenthesized immediately after the action, front-loading the essential information. Nothing is wasted and nothing is buried.

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 two-parameter toggle with full schema coverage and existing annotations, the core is covered: what it does and which fields it changes. It is still thin on operational behavior — return value, behavior when the record is missing, and whether unpinning clears pinnedAt — which an agent invoking a mutation would benefit from.

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% and already documents both id and pinned, including the default-true/false-to-unpin semantics, so the description needs to add little. It contributes only the framing that the parameters drive the meta.pinned/meta.pinnedAt fields, which is marginal beyond the schema. Baseline 3 applies.

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) and the exact resource state affected (meta.pinned, meta.pinnedAt), so an agent immediately knows this is a toggle on an existing record rather than a create/get. It does not name a sibling, but the record-state framing is distinct enough from records.create/get/list that differentiation is implicit.

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

Usage Guidelines2/5

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

There is no guidance on when to pin versus using another tool, no prerequisites (e.g., record must exist or be owned by the caller), and no note on side effects of toggling. The only usage-like information is the schema's note that pinned defaults to true and false unpins, which lives in structured data, not the description.

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