Skip to main content
Glama
adkins-amdg

Microsoft Teams MCP Server

by adkins-amdg

List channel files

teams_list_channel_files
Read-onlyIdempotent

List files and folders stored in a Microsoft Teams channel's Files tab. Specify team and channel IDs to retrieve item details like name, size, and URL.

Instructions

List files and folders stored in a channel's Files tab (the channel's SharePoint-backed document folder).

Args:

  • team_id (string): the team ID

  • channel_id (string): the channel ID

  • limit (number, 1-50): max items (default 20)

  • response_format ('markdown' | 'json'): output format (default markdown)

Returns: JSON { count, items: [{ id, name, type, size, webUrl, lastModifiedDateTime }] }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of items to return (1-50)
team_idYesThe Microsoft Teams team (group) ID. Get it from teams_list_joined_teams.
channel_idYesThe channel ID (e.g. '19:...@thread.tacv2'). Get it from teams_list_channels.
response_formatNoOutput format: 'markdown' for human-readable or 'json' for machine-readablemarkdown
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior. The description adds context about the source being the channel's Files tab and SharePoint backend, and specifies the return format. No contradictions.

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?

The description is concise and well-structured: a clear first line, args in a list with default/range/enum info, and a return type line. No wasted words.

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?

For a listing tool with no output schema, the description provides a return structure ({ count, items: [...] }) which is complete. It covers all parameters and behavior. The context signals show low complexity, and the description fully addresses it.

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 100%, so baseline is 3. The description adds value by explaining that team_id and channel_id can be obtained from other tools and by summarizing the parameter defaults and enums. It does not add new semantics beyond what the schema provides, but the extra context justifies a higher score.

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?

The description clearly states the verb 'List' and the resource 'files and folders stored in a channel's Files tab'. It distinguishes from sibling tools that deal with messages or channels by specifying the file context and mentioning 'SharePoint-backed document folder'.

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

Usage Guidelines4/5

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

The description provides guidance on how to obtain required parameters (team_id, channel_id) via other tools, but does not explicitly compare with alternative tools for listing files. It implies usage for retrieving channel files.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/adkins-amdg/teams-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server