Skip to main content
Glama

Read Teams chat

teams_read
Read-only

Read the newest messages from a Teams chat (oldest first) to review sender, time, text, reactions, and files, and get references for drafting replies.

Instructions

Read the newest messages of a chat, oldest first, with message refs for teams_draft(reply_to=…).

Shows sender, time, text, the quoted message of a reply, reactions and file names.

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": {
      "chat": "<chat>"
    },
    "name": "teams_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
chatYesChat ref (c:…), or a name: the chat title, or the person of a 1:1 chat.
limitNoNewest N messages.
olderNoCursor from a previous call for the next-older messages.
sinceNoOnly messages after this, e.g. '2d', 'today'.
response_formatNoconcise cuts very long messages; detailed shows all.concise

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds genuinely useful behavior beyond that: exactly which fields come back (sender, time, text, quoted message, reactions, file names) and the newest-N-then-reversed ordering. It stops short of noting rate limits or what happens when the chat is empty or ambiguous.

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?

Two short sentences, front-loaded with the action and ordering before the return-field inventory. Nothing is redundant with the schema and no sentence is filler.

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?

There is no output schema, so the description carries the return-value burden and does so by enumerating the returned fields and their order. With all five parameters fully documented in the schema and read-only semantics covered by annotations, an agent has everything needed to call this correctly.

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 description coverage is 100%, so chat ref formats, limit, older cursor, since expressions and response_format are all fully documented in the schema. The description only implicitly echoes limit ("newest messages") and adds no syntax or interaction detail (e.g., older combined with since) beyond the schema. Baseline 3 applies.

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?

States a specific verb and resource ("read the newest messages of a chat") plus the delivery order ("oldest first") and the downstream hook ("message refs for teams_draft(reply_to=…)"). An agent can tell this is the read/inspection counterpart to teams_draft without opening any schema.

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 makes clear this is for pulling recent messages and that the returned refs feed teams_draft replies, which is real routing guidance. It does not state any when-not condition or name a search/find alternative for older or filtered lookups, leaving that inference to the agent.

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