Skip to main content
Glama

Teams MCP

by floriscornel

search_messages

Search across Microsoft Teams channels and chats using advanced KQL filters for sender, mentions, attachments, and more. Retrieve relevant messages with customizable scope and result limits.

Instructions

Search for messages across all Microsoft Teams channels and chats using Microsoft Search API. Supports advanced KQL syntax for filtering by sender, mentions, attachments, and more.

Input Schema

NameRequiredDescriptionDefault
enableTopResultsNoEnable relevance-based ranking
limitNoNumber of results to return
queryYesSearch query. Supports KQL syntax like 'from:user mentions:userId hasAttachment:true'
scopeNoScope of searchall

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "enableTopResults": { "default": true, "description": "Enable relevance-based ranking", "type": "boolean" }, "limit": { "default": 25, "description": "Number of results to return", "maximum": 100, "minimum": 1, "type": "number" }, "query": { "description": "Search query. Supports KQL syntax like 'from:user mentions:userId hasAttachment:true'", "type": "string" }, "scope": { "default": "all", "description": "Scope of search", "enum": [ "all", "channels", "chats" ], "type": "string" } }, "required": [ "query" ], "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