Skip to main content
Glama

channels_pins

📌 People pinned to another workspace on one of this workspace's channels: their NEW chats with that channel are created there (channels.move_chat pins the other party of a DM by default).

action='list' shows them; 'add' pins peer_refs to target_workspace_id (a person is pinned to one workspace per channel: pinning again moves the pin, and the answer says from where); 'remove' unpins peer_refs. Chats that already exist never move by a pin. Needs owner or admin (and, to add, owner or admin of the target).

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": {
      "action": "<action>",
      "channel_account_id": "<channel_account_id>"
    },
    "name": "channels_pins"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYeslist, add or remove.
peer_refsNoFor add / remove: people by their DM's channel_ref on this account, e.g. ['whatsapp:+15550001111']. OMIT for list.
in_workspaceNoRun this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected.
channel_account_idYesThe channel account (channels.list).
target_workspace_idNoFor add: the workspace their new chats go to. OMIT otherwise.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare the generic profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), so the description's added detail matters: authorization requirements for both source and target workspace, the fact that re-pinning moves the pin and reports the previous location, and the guarantee that existing chats are unaffected. It doesn't describe the response payload or failure modes, which keeps it at 4.

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?

It is front-loaded with the core concept, then action semantics, then caveats and permissions — a logical order with no filler sentences. Density is high and the emoji plus a long parenthetical make the first line harder to scan than necessary.

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 5-parameter mutation tool with no output schema, the description covers permissions, per-action parameter usage, and the key side-effect boundary (existing chats never move). What's missing is any sense of the return shape for list/add/remove, though the low complexity and full schema coverage limit the impact.

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?

Schema coverage is 100%, so baseline is 3, but the description goes further by binding parameters to actions: peer_refs is 'OMIT for list' and target_workspace_id is 'OMIT otherwise', which prevents mis-populating optional fields. The peer_refs format example duplicates the schema, so the gain is in per-action applicability rather than new syntax.

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 the resource (channel pins / people pinned to another workspace) and the three verbs via the action enum, and it explicitly contrasts pins with chat movement by noting that 'Chats that already exist never move by a pin' and referencing channels.move_chat. The opening sentence is slightly indirect in defining pins as a concept rather than stating plainly 'manage channel pins', which keeps it just short of a 5.

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

Usage Guidelines4/5

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

It spells out what each action does ('list' shows them, 'add' pins peer_refs to target_workspace_id, 'remove' unpins) and states the permission precondition (owner or admin, plus owner/admin of the target to add). It doesn't give a hard exclusion like 'do not use this to move existing chats — use channels_move_chat', leaving that contrast implied rather than directive.

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.