Skip to main content
Glama

teams_pin_post

Pin or unpin a Microsoft Teams channel or community post using channel and post IDs, with optional team and account selection; pin permission is required.

Instructions

Pin or unpin a post in a channel or community; needs permission to pin (both account kinds).

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": {
      "channel_id": "<channel_id>",
      "post_id": "<post_id>"
    },
    "name": "teams_pin_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
pinnedNo
accountNoAccount alias (see teams_accounts). Defaults to the default account.
post_idYes
team_idNoTeam or community thread id (19:…); found from your teams when omitted
channel_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and openWorldHint=true, so the mutating and external-visibility profile is covered. The description adds the permission requirement and implicitly conveys that this is a toggle operation (pin or unpin), but says nothing about effects on other users, notification behavior, or what an unpin does to existing state.

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 compact sentence with no filler, front-loading the verb and resource before the permission caveat. Nothing is wasted, though the semicolon clause is dense enough that it could have been split for readability.

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 5-parameter mutating tool with 40% schema coverage and no output schema, the description should identify at least the target entities (channel_id vs post_id) and the behavior of the `pinned` flag. It covers neither return expectations nor the required identifiers, leaving meaningful gaps an agent must resolve by opening the schema.

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 only 40% (account and team_id described; post_id, channel_id, and pinned undocumented), so the description must compensate. 'Pin or unpin' does map meaningfully onto the untyped `pinned` boolean (default true), which is the most semantically opaque parameter and would otherwise be a guess. The remaining required ids are still unexplained, so it adds partial but real value over the schema.

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 (pin/unpin) against a specific resource (a post in a channel or community), which is materially more precise than the sibling names teams_pin_chat and teams_pin_message alone would suggest. It does not explicitly contrast itself with those siblings, so it stops 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 Guidelines3/5

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

The description supplies a real prerequisite — 'needs permission to pin (both account kinds)' — which tells the agent a permission gate exists before calling. However, it gives no guidance on when to choose this over teams_pin_message or teams_pin_chat, leaving the post-vs-message-vs-chat distinction to inference.

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