Skip to main content
Glama

Draft Teams message

teams_draft

Compose a Microsoft Teams message or reply, display a local preview, and keep the draft unsent until the user approves sending.

Instructions

Prepare a Teams message and show its preview. Nothing is sent; the draft stays on this computer.

Give chat, to, or only reply_to. Then show the preview to the user and call teams_send after their approval.

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": {
      "body": "<body>"
    },
    "name": "teams_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoInstead of chat: a person's name (their 1:1 chat) or email (also a new chat).
bodyYesMessage text (Markdown by default). '@[Full Name]' mentions that chat member.
chatNoChat ref or name (see teams_find).
reply_toNoMessage ref (p:…) to reply to; the reply quotes it.
body_formatNomarkdown | text | html.markdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A4.6/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and destructiveHint=false, so the safety profile alone would not tell an agent that nothing leaves the machine; the description supplies that key fact and adds a required human-approval gate before teams_send. It stops short of saying what the preview returns or how the pending draft is identified later, which leaves a small operational gap for a non-destructive-but-mutating 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?

Three short sentences with the effect statement front-loaded and the workflow second; every clause carries information (scope, target selection, approval step) and there is no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-parameter drafting tool with no output schema, the description covers purpose, target selection, and the send handoff. The only missing piece is what the preview call returns or how the draft is referenced when the user approves, which an agent would otherwise have to discover.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so per-parameter meaning is already documented. The description still adds value the schema cannot express: the implicit one-of relationship among chat, to, and reply_to, and the note that reply_to alone is acceptable. That is real semantic guidance beyond the JSON Schema.

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 (prepare a Teams message, show preview) plus an explicit negative scope: 'Nothing is sent; the draft stays on this computer.' That cleanly separates it from teams_send, which the description then names.

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 the selection rule ('Give chat, to, or only reply_to') and the workflow ordering ('show the preview to the user and call teams_send after their approval'), which names the alternative tool and the condition that triggers it. Nothing about when to draft versus send is left to inference.

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