Skip to main content
Glama

teams_export_chat

Export a Microsoft Teams conversation history to a Markdown file on disk in oldest-first order, with optional message limit and account selection.

Instructions

Export a conversation history to a Markdown file on disk (oldest first).

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": {
      "conversation_id": "<conversation_id>",
      "path": "<path>"
    },
    "name": "teams_export_chat"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesOutput .md file path
limitNoMax messages (default 2000)
accountNoAccount alias (see teams_accounts). Defaults to the default account.
conversation_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations only supply readOnlyHint=false and openWorldHint=true; the description correctly implies a write (file creation) and adds the non-obvious ordering guarantee, which is genuine value beyond the annotations. However, it says nothing about whether an existing file at path is overwritten, whether the export is bounded by the limit cap, or what happens on failure, which matters for a disk-writing tool.

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?

A single short sentence with zero filler, front-loading the action, the artifact, and the ordering guarantee. Nothing is padded or repeated from the schema.

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 four-parameter tool with no output schema and thin annotations, the description covers what is produced and where, but omits return information (file path echoed back? message count?), overwrite behavior, and how limit interacts with the export. Adequate to call the tool, not enough to predict its behavior in edge cases.

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 75% with path, limit, and account already documented inline, so the schema carries most of the burden and baseline 3 applies. The description adds no parameter-level meaning (no overwrite semantics for path, no note that limit caps at 20000, no account-alias behavior) and conversation_id is undocumented in both places.

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 (export) plus resource (conversation history), the output artifact (Markdown file on disk), and ordering (oldest first). An agent can distinguish this from teams_get_chat, which reads a chat, but the description never names that alternative explicitly.

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, when-not-to-use, or alternative guidance. The 'to a Markdown file on disk' phrasing implies a bulk/persistent-export use case, but the agent must infer that this is the file-dump counterpart to teams_get_chat rather than being told.

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