Skip to main content
Glama

teams_list_channel_files

Read-only

Lists files in a Microsoft Teams channel's SharePoint folder, optionally within a sub-folder, so you can browse and locate channel documents.

Instructions

Files in a channel's SharePoint folder (work/school, Graph).

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": {
      "team": "<team>",
      "channel_id": "<channel_id>"
    },
    "name": "teams_list_channel_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoSub-folder
teamYes
accountNoAccount alias (see teams_accounts). Defaults to the default account.
channel_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/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 real context beyond them: the data lives in SharePoint and the call is scoped to work/school accounts via Graph. It says nothing about permissions, pagination, or result shape, which matters for an open-world listing call.

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 tight clause with no filler, and the distinguishing scope is front-loaded. It is arguably too terse rather than padded, but nothing is wasted.

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

Completeness2/5

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

With four parameters, two of them undocumented, no output schema, and no pagination or return-field information, the definition leaves an agent guessing about the result shape and how to target the right channel. The terse phrase is not sufficient for the complexity of the call.

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?

Schema description coverage is only 50%: 'path' and 'account' are documented, while 'team' and 'channel_id' are not. The description never mentions any parameter, so it does nothing to compensate for the undocumented required parameters 'team' and 'channel_id'.

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 names a specific resource and scope: files inside a channel's SharePoint folder, which distinguishes it from siblings like teams_list_sent_files or teams_get_shared_files. The action verb is only implied by the tool name, but the noun phrase is concrete enough to identify the retrieval target.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance and no mention of alternative tools for retrieving files. The parenthetical '(work/school, Graph)' hints at a usage constraint (school/work accounts, Graph API backend), but it is not framed as a selection rule and no exclusions are stated.

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