Skip to main content
Glama

m365_teams_chats

Read-onlyIdempotent

List the Teams chats you participate in, sorted by last update, with chat IDs, topics, member names, and timestamps so you can pick a conversation to read or post to.

Instructions

List Teams chats you participate in, returning chat IDs, topics, member names and last-updated times. The returned set is sorted by last update; top caps total results across internal pages. Use m365_teams_messages to read a chat or m365_teams_send to post to it. Channel conversations are not included.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "m365_teams_chats"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNoMaximum total chats to return; pages contain at most 50 chats

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.2.1
    • changedInput schema / properties / top / description
      Previous value: -"Max chats"New value: +"Maximum total chats to return; pages contain at most 50 chats"
  2. Changed3 schema fields changedv1.2.0
    • addedInput schema / properties / top / maximum
      Added value: +500
    • addedInput schema / properties / top / minimum
      Added value: +1
    • changedInput schema / properties / top / type
      Previous value: -"number"New value: +"integer"
  3. First observedv1.0.7

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description adds real behavioral context beyond that: result ordering ('sorted by last update') and the non-obvious fact that 'top' caps the total across internal pages. It does not mention auth requirements or throttling, which keeps it below a 5.

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?

Three tight sentences with zero filler: purpose and return fields first, then the sibling routing, then the exclusion. The most decision-relevant information is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, but the description compensates by enumerating the returned fields, their ordering, and the paging/total-cap interaction. For a one-optional-parameter read tool with full annotation coverage, nothing an agent needs to call it correctly is missing.

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% and the single parameter's own description already says 'Maximum total chats to return; pages contain at most 50 chats', which is essentially what the description restates. The description reinforces the total-cap-across-pages semantics but adds no new syntax, defaults, or interaction detail.

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?

States a specific verb and resource ('List Teams chats you participate in') and immediately enumerates the returned fields (chat IDs, topics, member names, last-updated times). It also draws an explicit boundary against the two relevant siblings and excludes channel conversations, so an agent can identify it without opening the schema.

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

Usage Guidelines5/5

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

The description names both alternatives with their selecting condition: 'Use m365_teams_messages to read a chat or m365_teams_send to post to it.' It also gives a negative condition ('Channel conversations are not included'), covering when/when-not/alternatives in one sentence.

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