Skip to main content
Glama

teams_find_chats

Read-only

Find existing Microsoft Teams chats by chat name or by people in them, across work and personal accounts. Search by name words or member emails/names to locate relevant conversations.

Instructions

Find existing chats by name or by the people in them, e.g. query "Family trip" or "Anna Ben", or people ["anna@contoso.com"]. Work and personal accounts.

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_find_chats"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo
exactNoWith people: only chats with exactly these people and you
limitNoDefault 10
queryNoWords from the chat name, or from member names
peopleNoPeople (email, name or MRI) who must all be in the chat
accountNoAccount alias (see teams_accounts). Defaults to the default account.
max_lookupsNoHow many recent chats to open to check their members (default 25)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/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. The description adds that it spans work and personal accounts, which is useful scope context, but it does not mention the cost of member lookups (max_lookups) or what a search returns. Given the annotation coverage, a 3 is appropriate for the modest amount of added context.

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?

A single front-loaded sentence with evidence-bearing examples and no filler; the query-vs-people distinction is visible before the trailing fragment. The closing "Work and personal accounts." is a bare fragment, which is slightly awkward, but it conveys useful scope in minimal space.

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

Completeness3/5

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

With 7 parameters, no output schema, and no annotations describing returns, the description leaves the agent unsure what a match looks like (chat id? members? how results are ranked or limited). It also doesn't explain the limit/max_lookups interplay or the kind enum's behavior. It is adequate for a read-only search but not fully complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 86%, so the schema does most of the work, but the description adds real value: "by name or by the people in them" and the "Anna Ben" example clarify that a free-text query can match either chat names or member names, which is the key ambiguity for this tool. The people vs. query distinction and the account scope are illustrated rather than left to inference.

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?

States a specific verb and resource ("Find existing chats") and clarifies the two matching modes: by chat name or by the people in the chat. It gives concrete example queries, so an agent can tell this is a search tool rather than an enumeration tool. It does not explicitly say how it differs from siblings like teams_list_chats or teams_find_chat_with, which is why 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 Guidelines3/5

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

The examples ("Family trip", "Anna Ben", people ["anna@contoso.com"]) show how to invoke the tool but not when to choose it over alternatives. There is no explicit when-not guidance or pointer to a sibling such as teams_list_chats for browsing all chats. "Work and personal accounts" hints at the scope of the accounts covered but is not turned into actionable guidance.

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