Skip to main content
Glama

teams_pin_message

Destructive

Pin or unpin a Teams chat message at the top; personal chats keep one pinned message (new pins replace it), while work chats allow up to 10.

Instructions

Pin or unpin a message at the top of a chat. Personal (Teams free) chats keep one pinned message, so a new pin replaces it; work chats keep up to 10.

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": {
      "conversation_id": "<conversation_id>",
      "message_id": "<message_id>"
    },
    "name": "teams_pin_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
pinnedNo
accountNoAccount alias (see teams_accounts). Defaults to the default account.
message_idYes
conversation_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, yet the description adds genuinely new behavioral detail: personal chats silently replace the single existing pin, work chats cap at 10. That replacement warning is exactly the consequence an agent needs before mutating state. It doesn't cover permissions or failure modes, keeping it below top marks.

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?

Two tight sentences with the action stated first and the retention rules immediately after. No filler, no repetition of the name.

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 four-parameter mutation with no output schema, the description covers the critical behavioral risk (silent replacement, capacity limits) and the operation's scope. Remaining gaps are minor: no mention of required permissions or what the call returns on an already-pinned message.

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 only 25%, so the description carries more weight than usual. It conveys the pin/unpin toggle conceptually and implies the message and conversation targets, but never maps the 'pinned' boolean to its default or clarifies the account alias parameter.

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 pair (pin or unpin), the resource (a message), and the location (top of a chat), so the agent knows exactly what changes. The message-level scope implicitly separates it from chat-level or post-level pinning siblings.

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

Usage Guidelines3/5

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

The replacement behavior and the 10-pin ceiling give useful context for deciding whether to pin, but the description never names an alternative or says when to reach for a different tool. Usage is implied rather than routed.

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