Skip to main content
Glama
BiteFoundry Teams MCP Server

BiteFoundry Teams MCP Server

send_message

Posts a new Markdown message to a Microsoft Teams chat or channel as a root post, notifying conversation members; use it for new messages rather than replies.

Instructions

Post a new Markdown message to a chat or a new root post to a team channel (use reply_message to reply inside a channel thread or quote-reply an existing chat message). Irreversible external side effect notifying conversation members. Requires ChatMessage.Send or ChannelMessage.Send. Returns compact acknowledgement { ok, conversation, message } by default.

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": {
      "target": "<target>",
      "markdown": "<markdown>"
    },
    "name": "send_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYesConversation conv_key (chat:... or chan:team:channel), "Team/Channel", or unique conversation title substring.
compactNoReturn a compact receipt (default true); set false for full conversation and message objects.
subjectNoOptional plain-text subject line (applies to team channel root posts).
markdownYesNon-empty Markdown message body to compile to Teams HTML and send.
mentionsNoUsers to @-mention, as "user_id:DisplayName" strings or {user_id, display_name} objects. Each mentioned user's @DisplayName must appear in markdown or the call fails before sending.
importantNoWhen true, marks the sent message with high importance.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv0.1.1
    • changedInput schema / properties / compact / description
      Previous value: -"Compact output (default). Set false for full conversation and message objects."New value: +"Return a compact receipt (default true); set false for full conversation and message objects."
    • addedInput schema / properties / important / description
      Added value: +"When true, marks the sent message with high importance."
    • addedInput schema / properties / markdown / description
      Added value: +"Non-empty Markdown message body to compile to Teams HTML and send."
    • changedInput schema / properties / mentions / description
      Previous value: -"Mentions as \"user_id:DisplayName\" strings or {user_id, display_name} objects."New value: +"Users to @-mention, as \"user_id:DisplayName\" strings or {user_id, display_name} objects. Each mentioned user's @DisplayName must appear in markdown or the call fails before sending."
    • changedInput schema / properties / mentions / items / oneOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "display_name": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "id": {
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "user_id": {
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "user_id",
      -      "display_name"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "display_name": {
      +        "description": "Display name matching @DisplayName in markdown.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "id": {
      +        "description": "Optional 0-based mention placeholder index.",
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "user_id": {
      +        "description": "Microsoft Entra user ID.",
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "user_id",
      +      "display_name"
      +    ],
      +    "type": "object"
      +  }
      +]
    • changedInput schema / properties / subject / description
      Previous value: -"Optional subject line for team channel root posts."New value: +"Optional plain-text subject line (applies to team channel root posts)."
    • changedInput schema / properties / target / description
      Previous value: -"conv_key, \"Team/Channel\", or unique conversation title."New value: +"Conversation conv_key (chat:... or chan:team:channel), \"Team/Channel\", or unique conversation title substring."
  2. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=false, openWorldHint=true), the description discloses that this is an irreversible external side effect that notifies conversation members, and it names the required scopes (ChatMessage.Send or ChannelMessage.Send). That is real added context — permissions and blast radius — that the annotation block does not convey.

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?

Front-loaded with the action, then the sibling routing in parentheses, then side effects, then auth, then return shape — a sensible priority order with no filler sentences. It is dense but every clause carries distinct operational information.

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 six-parameter mutation tool with no output schema, the description covers purpose, alternative routing, irreversibility, required scopes, and the shape of the default response. An agent has enough to decide to call it and to anticipate the return value without further discovery.

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%, including the mention-consistency rule and the compact toggle, so the schema carries nearly all parameter meaning. The description only adds that the default return is a compact acknowledgement { ok, conversation, message }, which lightly clarifies the compact flag without documenting target forms or mention syntax itself.

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 new Markdown message to a chat or a new root post to a team channel') and immediately distinguishes the non-overlapping sibling case by naming reply_message. An agent can separate send_message from reply_message, send_file, and edit_message without inspecting 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 Guidelines5/5

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

Explicitly defines the when-not case: threading or quote-replying belongs to reply_message, while this tool creates new root-level messages. The alternative is named with the exact condition that selects it, leaving nothing to inference.

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