Skip to main content
Glama

m365_teams_send

Post a plain-text message immediately to an existing Microsoft Teams chat using its chatId; this does not create a chat, channel post, or draft.

Instructions

Post a plain-text message immediately to an existing Teams chat; this does not create a chat, post to a channel or create a draft. Get chatId from m365_teams_chats. Returns message ID and success. Repeated calls can duplicate messages; check m365_teams_messages before retrying an uncertain send.

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": {
      "chatId": "<chatId>",
      "message": "<message>"
    },
    "name": "m365_teams_send"
  }
}

Input Schema

NameRequiredDescriptionDefault
chatIdYesExisting chat ID from m365_teams_chats
messageYesPlain-text message to send; HTML is not interpreted

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.2.1
    • changedInput schema / properties / chatId / description
      Previous value: -"Chat ID"New value: +"Existing chat ID from m365_teams_chats"
    • changedInput schema / properties / message / description
      Previous value: -"Message text"New value: +"Plain-text message to send; HTML is not interpreted"
  2. First observedv1.0.7

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnly=false, idempotent=false, destructive=false, openWorld=true, but the description adds the operational consequences: sends are immediate, no draft stage exists, repeated calls can duplicate messages, and the response carries a message ID plus success flag. The duplicate/retry warning is genuinely non-obvious context beyond the idempotentHint.

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 sentences, front-loaded with the core action, then the exclusions, prerequisite source, and retry hazard in a single dense clause. No filler or restated title.

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, but the description discloses the return shape (message ID and success), plus the preconditions, side effects, and retry protocol. For a two-parameter send tool this is enough for an agent to call and recover 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 coverage is 100% and both parameters are documented in the schema itself, including the plain-text/HTML caveat and the chatId provenance, so the description's restatement of the same points adds little. Baseline 3 applies when the schema does the heavy lifting.

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 ('Post a plain-text message... to an existing Teams chat') with immediate scoping, and explicitly rules out three near-miss operations: creating a chat, posting to a channel, and creating a draft. That lets an agent distinguish it from m365_teams_chats and any channel-oriented tool without opening a schema.

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

Usage Guidelines5/5

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

Gives explicit routing to m365_teams_chats for the chatId prerequisite and to m365_teams_messages as the verification path before retrying an uncertain send. It also states the condition where a send would be wrong or risky (repeated calls duplicating messages), which is exactly the when-not guidance an agent needs.

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