Skip to main content
Glama
BiteFoundry Teams MCP Server

BiteFoundry Teams MCP Server

reply_message

Reply to a Teams channel root post in its thread or quote-reply a specific message in a 1:1/group chat; sends Markdown replies and notifies participants.

Instructions

Reply to a team channel root post in its thread, or quote-reply a specific message in a 1:1/group chat (use send_message to start a new channel thread or unquoted chat post). Irreversible external side effect notifying participants. Requires ChatMessage.Send or ChannelMessage.Send. Returns { ok, conversation, reply_to, message }.

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>",
      "msg_id": "<msg_id>",
      "markdown": "<markdown>"
    },
    "name": "reply_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
msg_idYesChannel thread root post ID to reply under, or chat message ID to quote-reply.
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.
markdownYesNon-empty Markdown reply body.
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 reply 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 reply with high importance."
    • addedInput schema / properties / markdown / description
      Added value: +"Non-empty Markdown reply body."
    • 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"
      +  }
      +]
    • addedInput schema / properties / msg_id / description
      Added value: +"Channel thread root post ID to reply under, or chat message ID to quote-reply."
    • 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.4/5.0
Behavior4/5

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

Goes beyond the annotations by disclosing that this is an irreversible external side effect that notifies participants, and by naming the required scopes (ChatMessage.Send or ChannelMessage.Send). One weakness: it declares the return as { ok, conversation, reply_to, message }, but the schema's compact parameter defaults to true and returns a compact receipt, so the stated return shape can mislead on a default call.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three dense sentences, front-loaded with the routing decision, then side effect, then requirements, then return. No filler. Minor deduction because the trailing return-shape sentence is partially inaccurate given the compact default, so it costs space without being wholly trustworthy.

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, and the description compensates by sketching the response and by flagging the required scopes and the notification side effect. Combined with a fully documented 6-parameter schema and annotation coverage, an agent has everything needed to call it 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 msg_id, target, markdown, mentions, and compact already carry their own meaning. The description adds nothing parameter-specific — for example, it does not clarify target resolution order or how msg_id resolves differently in channel vs. chat contexts beyond what the schema says. 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 two precise resources/routes: reply in a channel thread vs. quote-reply in a 1:1/group chat. It explicitly names the sibling it is not (send_message) and the condition that separates them, so an agent can disambiguate without opening either 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 when-to-use: threads under a channel root post, quote-replies in chats. It also names the alternative (send_message) with its selecting condition (new channel thread or unquoted chat post), which is exactly the routing guidance an agent needs among the send/edit/delete siblings.

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