Skip to main content
Glama

Samuelz® Communications

Review exact reply before approval

get_reply_review
Idempotent

Request an advisory AI review of one exact supplied reply draft against the current bounded visible thread and confirmed response policy. Use get_reply_readiness before drafting and get_reply_brief for context; use draft_reply to generate or improve text. This review does not rewrite the draft.

Supply communicationId from the current visible thread and the exact subject/body intended for review. Requires current communications:read and communications:draft plus authority for any linked context. This can invoke the existing AI provider and incur its normal generation cost; metadata health checks do not call it.

Returns reviewStatus, unavailableReason, draftFingerprint, reviewContextFingerprint, advisory assessment, policy/coverage and the existing approval guidance. Only completed_advisory carries an advisory result; unavailable is not a passed review. Preserve the unchanged exact draft and current context fingerprint for the existing preparation path. Changed context requires reread/review.

Review evidence never attests factual correctness, full history, approval or delivery. No prepared reply operation, approval or send is created. Keep the exact human-card or explicitly evidenced owner-chat approval path and all current grants.

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>",
      "subject": "<subject>",
      "body": "<body>"
    },
    "name": "get_reply_review"
  }
}

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.
subjectYesExact supplied draft subject, kept together with its source communication and body. Text is not approval evidence.
communicationIdYesExact currently visible source communicationId from list_work_items/get_thread for this workspace; never a reply operationId.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 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 / 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?

With annotations already covering side-effect profile, the description adds real context beyond them: the AI provider call and its generation cost, the metadata health-check contrast, the fact that only completed_advisory carries a result while unavailable is not a pass, and that changed context requires reread/review. The readOnlyHint=false is reconciled by disclosing the external generation call, so there is no contradiction. It stops short of describing latency or retry behavior.

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

Conciseness4/5

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

The purpose is front-loaded in the first sentence and every paragraph carries routing or behavioral information rather than filler. It is nonetheless dense and repetitive, with 'exact', 'current' and the fingerprint-preservation requirement recurring across paragraphs, which costs it a point.

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 tool with no output schema, the description enumerates the return fields (reviewStatus, unavailableReason, draftFingerprint, reviewContextFingerprint, advisory assessment, policy/coverage, approval guidance) and explains the completed_advisory versus unavailable semantics. Required scopes, cost implications and the non-authoritative nature of the evidence are all stated.

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 100% and all three parameters are documented there in detail, so the baseline is 3. The description does add the constraint that communicationId must come from the current visible thread and the subject/body must be the exact text preserved unchanged for the existing preparation path, but this largely restates the 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 ('Request an advisory AI review of one exact supplied reply draft') plus the scope it reviews against (bounded visible thread, confirmed response policy). It actively distinguishes itself from siblings: 'This review does not rewrite the draft' and pointers to get_reply_readiness, get_reply_brief and draft_reply.

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 sequencing is given: readiness before drafting, brief for context, draft_reply to generate or improve text, and this tool only for reviewing the exact final text. It also names what the tool does not do (no rewrite, no approval, no send), leaving nothing for the agent to infer.

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