Skip to main content
Glama

teams_search_channels

Read-only

Search Microsoft Teams channels across your organization, including teams you are not in, to find relevant channels and conversations for work or school accounts.

Instructions

Search channels across your organisation, including teams you are not in (work/school accounts).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "teams_search_channels"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
accountNoAccount alias (see teams_accounts). Defaults to the default account.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuinely new behavioral context: results span the whole organisation, including teams the caller has not joined, and the reach is limited to work/school accounts. It omits any note on result volume or how the limit interacts with a broad org-wide search.

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?

One sentence, zero filler, with the differentiator (searching outside your own teams) placed immediately after the action. Nothing in it could be removed without losing information.

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?

For a three-parameter read tool with no output schema and only a required query string, the description covers scope and account-type constraints well. It is still incomplete on the two things an agent most needs to call it correctly: what the query matches and what comes back.

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

Parameters2/5

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

With only 33% schema description coverage, the description needed to carry weight for the undocumented parameters. It says nothing about what `query` matches (channel name, keyword, partial match) or about `limit` (defaults, max 50, truncation behavior), leaving two of three parameters without meaning beyond their types.

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+resource ("Search channels") and a distinctive scope ("across your organisation, including teams you are not in"), which separates it from a plain channel listing. It does not name a sibling such as teams_list_channels or teams_find_channel to make the contrast explicit, so it stops 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?

Usage is only implied: an agent can infer this is for discovery when the channel name is known but the team is not. There is no explicit when-to-use versus teams_list_channels or teams_find_channel, and no stated exclusions.

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