Skip to main content
Glama

Pin Item

pin_item
Idempotent

Pins or unpins an item to/from the top shelf of the library.

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": {
      "item_id": "<item_id>"
    },
    "name": "pin_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
pinnedNo
item_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare mutable, idempotent, non-destructive behavior, so the safety profile is covered. The description adds the useful detail that the effect is shelf placement rather than data change, but says nothing about behavior when the item is already in the target state, ordering among pinned items, or whether unpinning relocates the item.

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 well-formed sentence with no filler, front-loaded with the action. It is terse to the point of omission, but the wording itself wastes nothing.

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?

For a two-parameter mutation tool with no output schema and no parameter documentation, the description is too thin. The agent cannot determine from the definition alone how to invoke unpinning versus pinning, or what happens to shelf order.

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 coverage is 0%, so the description must explain the two parameters and does not. Critically, the 'pinned' boolean is the switch between pinning and unpinning, but the description only says 'pins or unpins' without tying either action to that flag or stating its default when omitted.

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 (pins/unpins) and resource (item) with a clear effect location (top shelf of the library). It is distinguishable from siblings like tag_item or update_item, though it never mentions the 'pinned' flag that actually selects the direction.

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?

No when-to-use guidance, no prerequisites, and no statement about how this relates to alternatives such as update_item or set_item_tags. The agent must guess both the trigger condition and that this is the only shelf-placement tool.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.