Skip to main content
Glama

send_messages_batch

Send a batch of chat messages. Send several messages in one conversation and request one combined assistant response. API: POST /messages/batch. Required scope: chat:write.

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": "send_messages_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly=false, idempotent=false, and destructive=false, so the bar is lower; the description still adds real value by disclosing the required scope (chat:write) and the API endpoint, plus the key behavioral trait that the batch yields a single combined assistant response. It omits partial-failure behavior and any rate or size limits.

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?

Four short sentences with zero waste, front-loading the action first, then the scenario, then the endpoint and auth requirement. Nothing is padded or repeated.

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

Completeness3/5

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

For a non-idempotent mutation tool with no output schema, the description covers auth scope and the combined-response behavior but leaves out the batch size ceiling, whether the batch is atomic on partial failure, and what errors look like. Adequate but with clear gaps.

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?

With schema description coverage at 0%, the description must compensate, and it only partly does: it implies a conversation identifier and a set of messages, but says nothing about per-message fields such as content, media_url, or message_type, nor about the maxItems=10 cap that is enforced only in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Send a batch of chat messages") and clarifies the batch semantics as "several messages in one conversation" with one combined assistant response, which lets an agent distinguish it from a single-message sibling. It stops short of naming the alternative tool explicitly.

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

Usage Guidelines3/5

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

The phrase "Send several messages in one conversation and request one combined assistant response" gives a usable scenario for selecting this tool over a single-send call, but there is no explicit when-not guidance, no named alternative, and no note about when batching is inappropriate.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources