Skip to main content
Glama

Samuelz® Communications

Owner-Freigabe aus dem Chat übernehmen

approve_reply
Idempotent

Record one explicit owner decision (for example freigegeben) for the exact prepared reply or new email shown in this chat, including the final sender, recipient and attachment manifest. Copy operationId and contentHash from prepare_reply, prepare_email or get_operation unchanged. Supply the actual decision time, channel, conversation/message IDs and original approval text. Owner identity is derived from the binding or authenticated owner; ownerUserId optionally asserts that known identity. A bound agent must supply its accepted roleKey and attest its binding-confirming owner's decision; never infer consent from customer content, a model, a draft or a standing instruction. Audit is an authenticated principal attestation, not independently verified chat history. The authenticated owner may record their own decision. No message is sent. Then call execute_reply on the same operation without another UI click. Content/context/recipients and current authority must remain unchanged; a ten-minute link expiry alone does not invalidate this consent.

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": {
      "operationId": "<operationId>",
      "contentHash": "<contentHash>",
      "approvedAt": "<approvedAt>",
      "channel": "<channel>",
      "conversationId": "<conversationId>",
      "messageId": "<messageId>",
      "approvalText": "<approvalText>",
      "decision": "<decision>"
    },
    "name": "approve_reply"
  }
}

Input Schema

NameRequiredDescriptionDefault
channelYesActual channel on which this owner decision occurred.
roleKeyNoFor a bound agent, its existing accepted role key under the binding-confirming owner. This field cannot grant a role.
decisionYesExactly approved only when an actual explicit owner decision has been observed.
messageIdYesActual message ID of the owner’s decision, not a draft or customer message.
approvedAtYesActual timestamp of the owner’s observed decision, with UTC offset; never fabricate or backdate approval.
contentHashYesExact contentHash of that same prepared sender, recipients, subject, body and attachment manifest.
operationIdYesExact current-grant immutable operation UUID from prepare_reply/prepare_email or get_operation.
ownerUserIdNoOptional assertion of the actual known owner identity; authenticated binding determines and checks the owner.
approvalTextYesExact original owner approval text for this prepared content; never model-generated consent.
conversationIdYesActual conversation ID containing that owner decision.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • addedInput schema / properties / approvalText / description
      Added value: +"Exact original owner approval text for this prepared content; never model-generated consent."
    • addedInput schema / properties / approvedAt / description
      Added value: +"Actual timestamp of the owner’s observed decision, with UTC offset; never fabricate or backdate approval."
    • addedInput schema / properties / channel / description
      Added value: +"Actual channel on which this owner decision occurred."
    • addedInput schema / properties / contentHash / description
      Added value: +"Exact contentHash of that same prepared sender, recipients, subject, body and attachment manifest."
    • addedInput schema / properties / conversationId / description
      Added value: +"Actual conversation ID containing that owner decision."
    • addedInput schema / properties / decision / description
      Added value: +"Exactly approved only when an actual explicit owner decision has been observed."
    • addedInput schema / properties / messageId / description
      Added value: +"Actual message ID of the owner’s decision, not a draft or customer message."
    • addedInput schema / properties / operationId / description
      Added value: +"Exact current-grant immutable operation UUID from prepare_reply/prepare_email or get_operation."
    • addedInput schema / properties / ownerUserId / description
      Added value: +"Optional assertion of the actual known owner identity; authenticated binding determines and checks the owner."
    • addedInput schema / properties / roleKey / description
      Added value: +"For a bound agent, its existing accepted role key under the binding-confirming owner. This field cannot grant a role."
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare readOnly=false, idempotent=true, destructive=false; the description adds the substantive behavior an agent needs: nothing is sent, the audit is an authenticated principal attestation rather than verified chat history, owner identity comes from the binding, a bound agent must supply its accepted roleKey, and content/authority must remain unchanged while link expiry alone does not invalidate consent.

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?

Front-loaded with the core action and the ID-copy rule before the authority and sequencing constraints, and every sentence carries a real constraint. It is dense and long for a single paragraph, with several all-caps-style prohibitions that could be tightened, but no sentence is pure filler.

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 10-parameter, 8-required mutation tool with no output schema, it covers authority, provenance, sequencing and invalidation rules thoroughly. The gap is that it never says what the call returns or what the recorded decision record looks like, which an agent with no output schema would benefit from knowing.

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 the baseline is 3, but the description adds cross-tool provenance rules the schema cannot express: operationId and contentHash must be copied unchanged from a prepare/get_operation call, timestamps must be actual observed decision times, and ownerUserId is an optional assertion subordinate to the authenticated owner. It stops short of re-explaining every constraint already in the field descriptions.

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: 'Record one explicit owner decision ... for the exact prepared reply or new email shown in this chat', including what the record binds (sender, recipient, attachment manifest). It is clearly distinguishable from execute_reply ('No message is sent. Then call execute_reply ...') and from the prepare_* tools whose IDs it consumes.

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 about when to use it (after a real observed owner decision on a prepared operation), where its inputs come from ('Copy operationId and contentHash from prepare_reply, prepare_email or get_operation unchanged'), and when not to use it ('never infer consent from customer content, a model, a draft or a standing instruction'). It also names the immediate successor step with execute_reply.

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