Skip to main content
Glama

teams_get_pinned_posts

Read-only

Retrieve pinned posts from a Microsoft Teams channel or community to surface rules, links, and announcements without scrolling through message history.

Instructions

Pinned posts of a channel or community: rules, links, announcements (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>"
    },
    "name": "teams_get_pinned_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
accountNoAccount alias (see teams_accounts). Defaults to the default account.
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

C2.9/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and openWorldHint=true, so the description only needs to add context beyond safety. It adds that pinned posts include rules, links, and announcements, but leaves pagination, ordering, and the meaning of 'both account kinds' unexplained.

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?

The definition is a single front-loaded sentence with no wasted wording. The phrase 'both account kinds' is terse and somewhat unclear, but the overall structure is efficient.

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?

This is a read-only retrieval tool with four parameters, no output schema, and only 50% schema description coverage. The description does not explain pagination/limit behavior, result ordering, or how team_id resolution works when omitted, leaving important operational details unspecified.

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

Parameters2/5

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

Schema description coverage is 50%, and the description does not compensate for the undocumented parameters. It implies channel/community scope for channel_id and team_id but adds no syntax or behavior for limit, account, or the missing channel_id description.

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 states a specific resource ('Pinned posts') and scope ('of a channel or community'), and gives examples of content types ('rules, links, announcements'). It does not explicitly differentiate itself from siblings such as teams_get_channel_posts or teams_get_post_replies, 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 Guidelines2/5

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

There is no explicit when-to-use guidance, no when-not-to-use guidance, and no named alternative. The phrase 'of a channel or community' implies context but does not tell an agent how to choose this tool over related retrieval tools.

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