Skip to main content
Glama
adkins-amdg

Microsoft Teams MCP Server

by adkins-amdg

Read channel messages

teams_list_channel_messages
Read-onlyIdempotent

Retrieve the most recent messages from a specified Microsoft Teams channel. Get details like sender, timestamp, content, and link in JSON or Markdown.

Instructions

Read recent top-level messages from a team channel, newest first.

Args:

  • team_id (string): the team ID

  • channel_id (string): the channel ID (from teams_list_channels)

  • limit (number, 1-50): max messages (default 20)

  • response_format ('markdown' | 'json'): output format (default markdown)

Returns: JSON { count, messages: [{ id, from, createdDateTime, text, webUrl }] }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of items to return (1-50)
team_idYesThe Microsoft Teams team (group) ID. Get it from teams_list_joined_teams.
channel_idYesThe channel ID (e.g. '19:...@thread.tacv2'). Get it from teams_list_channels.
response_formatNoOutput format: 'markdown' for human-readable or 'json' for machine-readablemarkdown
Behavior4/5

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

Annotations already provide readOnlyHint=true, idempotentHint=true, destructiveHint=false. The description adds sorting ('newest first'), return format details, and output format options. It also mentions the limit parameter. This adds value beyond annotations, though it could specify that only top-level messages are returned.

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?

The description is very concise: a single sentence for the action, followed by a bullet list of parameters and a return format description. No unnecessary words, front-loaded with the main operation.

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?

Given the absence of an output schema, the description includes the return structure which is helpful. It covers all parameters and their sources. However, it does not mention pagination or behavior when no messages exist, and it could clarify that replies are not included.

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 100%, so baseline is 3. The description restates parameter information in a readable format but does not add new semantic meaning beyond what the schema already provides (types, defaults, constraints).

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?

The description explicitly states 'Read recent top-level messages from a team channel, newest first.' It uses a specific verb ('read') and resource ('top-level messages from a team channel'), and distinguishes from siblings like teams_get_chat_messages (chat vs channel) and teams_send_channel_message (write vs read).

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

Usage Guidelines4/5

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

The description implies the tool is for reading messages, not sending or replying. It mentions top-level messages, which excludes replies. However, it does not explicitly name alternatives or state when not to use. Sibling tools provide context, but the description could be more direct.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/adkins-amdg/teams-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server