Skip to main content
Glama

teams_get_channel_messages_graph

Read-only

Retrieves Microsoft Teams channel messages via Microsoft Graph for work or school accounts, as an alternative when reply counts are not needed.

Instructions

Channel messages via Microsoft Graph, an alternative to teams_get_channel_posts with reply counts (work/school).

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": {
      "team": "<team>",
      "channel_id": "<channel_id>"
    },
    "name": "teams_get_channel_messages_graph"
  }
}

Input Schema

NameRequiredDescriptionDefault
teamYes
limitNo
accountNoAccount alias (see teams_accounts). Defaults to the default account.
channel_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds only 'via Microsoft Graph' and a vague reply-count note; it says nothing about pagination, rate limits, auth requirements, or how the Graph-backed result differs from the sibling's. For a read tool with annotations, this is thin added context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single compact sentence with no wasted words, and the resource is front-loaded. But the brevity comes at the cost of clarity: the trailing 'with reply counts (work/school)' clause is ambiguous and reads as an afterthought rather than a specification.

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?

With 4 parameters, low schema coverage, no output schema, and a Graph-specific behavior, the definition should do more. It omits parameter meaning, return format, and how the Graph path differs from the sibling, leaving significant gaps for an agent to call it correctly.

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 only 25%, so the description must compensate for undocumented parameters, yet it explains none of them. It says nothing about 'team', 'channel_id', 'limit' (max 50), or 'account' defaults. Only the 'account' param has a schema description, and the prose adds no meaning beyond it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

It names the resource (channel messages) and the API surface (Microsoft Graph), but the sentence is syntactically muddled: 'an alternative to teams_get_channel_posts with reply counts' leaves it unclear whether reply counts belong to this tool or to the sibling. The agent can guess it retrieves channel messages, but the distinguishing characteristic is ambiguous.

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?

It names a sibling (teams_get_channel_posts) as an alternative and parenthetically flags '(work/school)', which implies a scope condition. However, it never states when to prefer this tool over that one or what the reply-count difference means for selection, so the choice 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.

Deploy Server

Other Tools