Skip to main content
Glama
kharonx
by kharonx

send-chat-message

send-chat-message

Send a message to a Microsoft Teams 1:1 or group chat as the signed-in user. Requires confirm=true after explicit user approval to execute the write operation.

Instructions

SEND a message to a Teams chat (1:1 or group) as the signed-in user. WRITE operation - requires confirm=true after explicit user approval.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chatIdYesChat id (from list-chats)
confirmYesSafety gate: must be explicitly true to execute this WRITE operation. Ask the user for approval before setting it.
messageYesMessage text to send
contentTypeNoMessage content type (default text)
Install Server

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already indicate readOnlyHint=false and destructiveHint=false. The description adds valuable behavioral context: it explicitly labels the operation as WRITE, requires confirm=true, and mandates explicit user approval before execution. This goes beyond the structured annotations and clarifies the safety gate.

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 concise sentences front-load the primary action ('SEND') and the key safety requirement. Every clause adds information; there is no redundancy or 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?

For a simple send operation with a fully described schema and annotations, the description covers the essential behavioral contract: what it does, the write nature, the confirm requirement, and the user identity. No output schema exists, but return value explanation is unnecessary for this action.

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 the schema already documents all four parameters, including the confirm gate semantics. The description adds no additional parameter-level details beyond what the schema provides, so a baseline score of 3 is appropriate.

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?

Description states a specific verb ('SEND') and resource ('a message to a Teams chat (1:1 or group)') and notes it operates as the signed-in user. This distinguishes it clearly from sibling send-channel-message, which targets channels, and from mail send tools.

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 specifies the target context ('Teams chat (1:1 or group)') and the user identity, making it clear when this tool applies. It does not explicitly name alternatives or state exclusions, but the sibling list and the 'chat' vs 'channel' distinction provide enough contextual guidance.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kharonx/mcp_gateway'

If you have feedback or need assistance with the MCP directory API, please join our Discord server