Skip to main content
Glama

teams_list_chats

Read-only

List Microsoft Teams chats and channels newest first with last-message previews, unread flags, and filters for unread, requests, hidden items, and older results via cursor.

Instructions

List your conversations (1:1, group, meeting chats; channels for work accounts; Teams free communities and their channels for personal accounts), newest first, with last-message preview and unread flag. Hidden and deleted chats are left out unless include_hidden, chat requests are marked request:true, and cursor from the result continues with older chats.

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": "teams_list_chats"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoteam = a work team's General (root) channel; channel includes it.
limitNoMax conversations (default 50).
cursorNoFrom a previous result: continue with older conversations.
accountNoAccount alias (see teams_accounts). Defaults to the default account.
unread_onlyNo
requests_onlyNoOnly chat requests from people you have not accepted yet.
include_hiddenNoAlso list chats you hid or deleted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered, and the description adds real behavioral detail beyond that: default sort order (newest first), the return shape (last-message preview, unread flag), the default exclusion of hidden and deleted chats, and how requests are marked (request:true). It still doesn't disclose result volume or what a missing/empty list looks like, but the added context is substantive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Content is packed into a single front-loaded sentence with a parenthetical scope list, followed by one sentence of behavioral caveats; nothing is redundant or padded. The parenthetical enumeration is dense but earns its place by defining coverage.

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?

For a 7-parameter, read-only listing tool with no output schema, the description covers scope, ordering, exclusion defaults, request flagging, and pagination — enough to call it correctly. The only real gap is routing versus sibling list/find tools, which the annotations and schema cannot supply.

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 86%, so the schema already documents kind, limit, cursor, account, requests_only, and include_hidden, including the subtle 'team vs channel' enum distinction. The description reinforces cursor semantics and the include_hidden effect but adds little new meaning, so the baseline 3 applies.

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 gives a specific verb ('List') and resource ('your conversations') and enumerates the covered types — 1:1, group, meeting chats, work-account channels, and Teams free communities. It does not name or differentiate from the close sibling teams_list_meeting_chats, so an agent must infer the split, which keeps it below 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 Guidelines3/5

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

It provides working context — hidden/deleted chats are excluded unless include_hidden, chat requests are flagged rather than filtered, and `cursor` from the result continues with older chats — which implies how to page and how to surface requests. However, it never names an alternative tool (e.g. teams_find_chats or teams_list_meeting_chats) or states when to prefer them, so selection guidance is inferred rather than explicit.

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

Deploy Server

Other Tools