Skip to main content
Glama

Teams Chats

ms_chat
Read-onlyIdempotent

Read recent Microsoft Teams chats or retrieve messages and members from a specific chat thread by chat ID. Set count to limit results to 1–25.

Instructions

Read the user's recent Microsoft Teams chats. Without chat_id lists recent chats; with chat_id returns messages from that chat.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNoNumber of chats/messages (1-25, default 10)
chat_idNoSpecific chat thread ID to read messages from
membersNoWhen used with chat_id, list chat members instead of messages

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, covering the safety profile. The description adds useful scope with 'recent' and conditional return behavior, but it omits the members-listing behavior and any pagination or rate-limit context.

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?

Two tightly written sentences front-load the core purpose and then explain the conditional behavior without any wasted words. Every sentence earns its place.

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?

The description covers the primary list and message-retrieval modes, and the rich input schema fully documents the members parameter. It is complete enough for correct invocation, though explicitly mentioning the members sub-mode would make it stronger.

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 description coverage is 100%, so the schema already documents count, chat_id, and members. The description adds conditional meaning for chat_id but does not explain the members parameter or any other parameter details beyond what structured fields provide.

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 verb ('Read') and resource ('Microsoft Teams chats'), making the tool's purpose clear. It does not explicitly differentiate itself from sibling tools like ms_teams or ms_mail, so it falls 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 Guidelines4/5

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

It clearly explains how to use the main variants: without chat_id it lists recent chats, and with chat_id it returns messages from that chat. It does not mention when to use an alternative sibling tool or address the members sub-mode, so it lacks full exclusion guidance.

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