Skip to main content
Glama

Draft message reply

draft_message_reply

Write a reply DRAFT for an incoming message. This does NOT send anything — sending requires a human approval ('Freigeben & Senden') and then the send-message-reply function. Channel, account, recipient and subject are taken from the source 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": {
      "inbound_message_id": "<inbound_message_id>",
      "body": "<body>"
    },
    "name": "draft_message_reply"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesThe reply text
target_tenant_idNoPlatform super-admins only: operate on this tenant instead of your own.
inbound_message_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=false), and the description adds meaningful context beyond them: nothing is sent, human approval gates dispatch, and channel/account/recipient/subject are inherited from the source message. It does not state what happens on repeated calls, which matters given idempotentHint=false and the risk of duplicate drafts.

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 tight sentences with zero filler. The non-sending constraint and the approval/send handoff are front-loaded before the inherited-field detail.

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 3-parameter draft tool with no output schema, the definition covers the critical semantics: no dispatch, approval gate, and inherited message fields. Minor gaps remain on repeated-call behavior and on what the created draft reference looks like, but nothing essential for correct invocation is missing.

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 coverage is 67%: body and target_tenant_id are self-documenting, while inbound_message_id has no schema description. The sentence about channel, account, recipient and subject coming from the source message partially explains that this ID is the source, but it never names the parameter or states that it must reference an existing inbound message.

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?

Specific verb+resource ('Write a reply DRAFT for an incoming message') with the key distinction from a send operation stated up front. The agent can tell immediately that this produces a draft artifact and does not dispatch anything.

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?

Explicit when-to-use (drafting a reply to an incoming message) and when-not (sending), plus the named alternative path: human approval ('Freigeben & Senden') followed by the send-message-reply function. The routing condition is unambiguous.

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