Skip to main content
Glama

list_pins

Read-onlyIdempotent

Lists a thread's pinned messages oldest-first, returning message references and pin metadata so you can locate pins before reading their bodies with list_messages or get_thread_context.

Instructions

List the pinned messages of a thread, oldest pin first, as records of thread_id, message_id, the pinning member_id and created_at. It returns references only, not message text; read the bodies with list_messages or get_thread_context. Pin and unpin with pin_message and unpin_message. Requires workspace:read and read access to the thread's channel.

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": {
      "thread_id": "<thread_id>"
    },
    "name": "list_pins"
  }
}

Input Schema

NameRequiredDescriptionDefault
thread_idYesUUID of the thread whose pins to list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv479.0.2
    • addedInput schema / properties / thread_id / description
      Added value: +"UUID of the thread whose pins to list."
  2. First observedv479.0.0

TDQS

A4.7/5.0
Behavior4/5

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

With readOnlyHint, idempotentHint and destructiveHint already declared, the description still adds real context: results are references only (not message text), ordered oldest pin first, and access requires workspace:read plus read access to the thread's channel. Only pagination/result-volume behavior is left unstated.

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?

Three compact sentences, front-loaded with what is returned and in what order, followed by the read-bodies pointer, the mutation alternatives, and the permission requirement. No sentence is redundant.

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

Completeness5/5

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

For a single-parameter read tool with no output schema, the description covers the returned fields (thread_id, message_id, member_id, created_at), ordering, the fact that bodies are absent, and the auth prerequisites. An agent has everything needed to call and interpret it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is a single parameter, fully documented in the schema at 100% coverage (UUID of the thread whose pins to list). The description's 'of a thread' framing is consistent but adds no new syntax or constraint beyond the schema, so it sits at the baseline-plus level rather than earning a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (list pinned messages of a thread) plus the ordering and record shape returned. It draws a clear line against list_messages and get_thread_context by noting this returns references only, not message text.

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

Usage Guidelines5/5

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

Explicitly routes the agent: use list_messages or get_thread_context to read bodies, and pin_message / unpin_message to modify pins. Both the alternative for content and the alternative for mutation are named with the condition that selects them.

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

Deploy Server

Other Tools