Skip to main content
Glama

Teams MCP

by floriscornel

get_channel_messages

Retrieve recent messages, sender details, and timestamps from a specific Microsoft Teams channel using Team ID and Channel ID. Supports fetching up to 50 messages at a time.

Instructions

Retrieve recent messages from a specific channel in a Microsoft Team. Returns message content, sender information, and timestamps.

Input Schema

NameRequiredDescriptionDefault
channelIdYesChannel ID
limitNoNumber of messages to retrieve (default: 20)
teamIdYesTeam ID

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "channelId": { "description": "Channel ID", "type": "string" }, "limit": { "default": 20, "description": "Number of messages to retrieve (default: 20)", "maximum": 50, "minimum": 1, "type": "number" }, "teamId": { "description": "Team ID", "type": "string" } }, "required": [ "teamId", "channelId" ], "type": "object" }

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/floriscornel/teams-mcp'

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