Skip to main content
Glama

Samuelz® Communications

Prepare reply for human approval

prepare_reply

Freeze the exact user-requested reply after review; use draft_reply to generate text or get_reply_review for advisory assessment, never this operation preparation for either. communicationId is the reviewed source, subject/body are the exact reviewed text and replyMode chooses sender versus all original recipients. No implicit approval comes from a review. Create an immutable approval request; does not send. After an explicit reply request, copy exact review subject/body and reviewContextFingerprint to preserve the bounded visible thread and policy baseline. A changed baseline requires a fresh review; the fingerprint never attests AI review or grants approval. If the owner already approved the exact prepared sender, recipients and content, use its operationId/contentHash with approve_reply and the actual owner-decision evidence, then execute_reply without another click. Otherwise show the exact in-chat approval card.

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

Input Schema

NameRequiredDescriptionDefault
bodyYesExact supplied reply text to draft, review or prepare according to this tool. Preserve the reviewed text unchanged for approval; never treat it as consent.
subjectNoExact supplied draft subject, kept together with its source communication and body. Text is not approval evidence.
replyModeNosender replies only to the source sender; all retains the native source-bound reply-all recipient selection. It is not an arbitrary recipient override.
communicationIdYesExact currently visible source communicationId from list_work_items/get_thread for this workspace; never a reply operationId.
reviewContextFingerprintNoExact fingerprint returned by get_reply_review for this unchanged source, subject/body and policy context; not a content hash or evidence of approval.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / body / description
      Added value: +"Exact supplied reply text to draft, review or prepare according to this tool. Preserve the reviewed text unchanged for approval; never treat it as consent."
    • addedInput schema / properties / communicationId / description
      Added value: +"Exact currently visible source communicationId from list_work_items/get_thread for this workspace; never a reply operationId."
    • addedInput schema / properties / replyMode / description
      Added value: +"sender replies only to the source sender; all retains the native source-bound reply-all recipient selection. It is not an arbitrary recipient override."
    • addedInput schema / properties / reviewContextFingerprint / description
      Added value: +"Exact fingerprint returned by get_reply_review for this unchanged source, subject/body and policy context; not a content hash or evidence of approval."
    • addedInput schema / properties / subject / description
      Added value: +"Exact supplied draft subject, kept together with its source communication and body. Text is not approval evidence."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Goes well beyond the annotations, which only say the call is a non-read-only, non-destructive mutation. The description discloses that it does not send, that approval is never implicit, that a changed baseline requires a fresh review, and that the fingerprint neither attests AI review nor grants approval. It stops short of describing what the call returns (operationId/contentHash, approval card), which leaves a minor behavioral gap.

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

Conciseness3/5

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

The core action is front-loaded and every sentence is on-topic, but the safety disclaimers are repeated in near-duplicate form ('No implicit approval comes from a review', 'never attests AI review or grants approval'), and long semicolon-chained and parenthetical clauses make it harder to scan than it needs to be.

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?

Given five parameters, no output schema, and a multi-step approval workflow, the description covers prerequisites, exact-text copying, fingerprint propagation, and the follow-on call sequence thoroughly. The remaining gap is the return payload — with no output schema, the agent must infer that operationId, contentHash, and the approval card come back from this call.

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 a 3 is the floor, but the description adds real meaning: communicationId is the reviewed source and never a reply operationId, replyMode selects sender versus the native reply-all recipient set rather than an arbitrary override, and reviewContextFingerprint is the review-issued value, not a content hash. These distinctions resolve ambiguities the schema descriptions only partly cover.

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 — 'Freeze the exact user-requested reply after review' — and immediately clarifies it creates 'an immutable approval request; does not send.' It explicitly names the sibling tools it is not (draft_reply, get_reply_review), so an agent can distinguish it without opening another 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 routing: use draft_reply to generate text, get_reply_review for advisory assessment, and this tool only after an explicit reply request. It also spells out the downstream path (approve_reply with owner-decision evidence, then execute_reply, otherwise show the approval card) and the exclusion that a review or fingerprint is not approval.

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