Skip to main content
Glama

pin_message

Idempotent

Pin a message to the top of a Signal DM or group chat so all participants can see it. Specify sender, timestamp, and recipient or group ID.

Instructions

Pin a message at the top of a DM or group conversation for all participants. Pinning is visible to everyone — don't use it as a private bookmark (send_note_to_self instead). Use unpin_message to remove a pin. target_author: E.164 number of the message's sender; target_timestamp: its ms timestamp (message id in get_conversation). Give recipient (E.164) for a DM or group_id for a group; neither is an error. Contacts Signal's servers; pinning an already pinned message changes nothing. Returns {status: 'message pinned'}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
group_idNoGroup ID for group conversations — provide this OR recipient
recipientNoPhone number for DM conversations — provide this OR group_id
target_authorYesPhone number of the message author (E.164)
target_timestampYesTimestamp of the message to pin (from get_conversation)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.1.2
    • changedInput schema / properties / group_id / description
      Previous value: -"Group ID for group conversations"New value: +"Group ID for group conversations — provide this OR recipient"
    • changedInput schema / properties / recipient / description
      Previous value: -"Phone number for DM conversations"New value: +"Phone number for DM conversations — provide this OR group_id"
    • changedInput schema / properties / target_author / description
      Previous value: -"Phone number of the message author"New value: +"Phone number of the message author (E.164)"
    • changedInput schema / properties / target_timestamp / description
      Previous value: -"Timestamp of the message to pin"New value: +"Timestamp of the message to pin (from get_conversation)"
  2. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare openWorldHint, idempotentHint, and non-destructive, so the bar is lower. The description still adds real context beyond them: the pin is publicly visible to all participants, the call contacts Signal's servers, and re-pinning is a no-op (restating idempotency in plain terms). Only the return shape and any auth/rate-limit caveats are left implicit.

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?

Front-loaded with the core action and visibility caveat before the routing advice and parameter notes; every sentence carries information. It is dense as a single block, and the parameter guidance is interleaved with usage guidance rather than separated, which slightly hurts scannability.

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 4-parameter mutation with no output schema, the description covers the missing return contract ('Returns {status: \'message pinned\'}'), the visibility consequence, the idempotent behavior, and both conversation-targeting modes. An agent has everything needed to call it correctly.

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 adds format meaning the schema lacks: E.164 for target_author, millisecond timestamp, and the provenance of the value ('message id in get_conversation'). It also restates the recipient/group_id mutual-exclusivity in prose. It does not, however, clarify failure modes for ambiguous or mismatched identifiers.

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 (pin) and resource (message) with explicit scope: at the top of a DM or group conversation, visible to all participants. It actively distinguishes itself from two siblings by name (send_note_to_self for private bookmarks, unpin_message for removal), so an agent can route correctly without opening any schema.

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?

Explicit when-not guidance ('don't use it as a private bookmark — send_note_to_self instead') plus the inverse operation (unpin_message) and the recipient-vs-group_id selection rule including the 'neither is an error' edge case. Nothing about tool selection is left to inference.

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