Skip to main content
Glama

Samuelz® Communications

Antwortquelle mit Audit freigeben

authorize_reply_source
Idempotent

Resolve only the known reply_source_not_authorized source gap reported by get_reply_readiness. communicationId is the exact reviewed inbound thread and reason records why that source is trusted; neither is a recipient override. Then reread readiness. Do not use this to approve content, bypass identity conflicts or execute a reply. Authorize the current snapshot of one inbound email thread when reply_source_not_authorized is the only source gap, and record an audit row. Use for a known customer thread such as mail_intake_v2_55211f37. Refuses identity conflicts, a differing Reply-To, and quarantined replays whose identity is not already resolved without review. Does not send, approve a reply, or change the recipient. A later source change requires a new authorization.

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>",
      "reason": "<reason>"
    },
    "name": "authorize_reply_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonYesActual review rationale for trusting this source snapshot when reply_source_not_authorized is the sole source gap; never approval of reply content.
communicationIdYesExact reviewed inbound source message from the current tenant thread/readiness result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / communicationId / description
      Added value: +"Exact reviewed inbound source message from the current tenant thread/readiness result."
    • addedInput schema / properties / reason / description
      Added value: +"Actual review rationale for trusting this source snapshot when reply_source_not_authorized is the sole source gap; never approval of reply content."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (which only declare a non-readonly, idempotent, non-destructive, closed-world write), the description discloses that an audit row is written, that authorization is snapshot-scoped so a later source change requires re-authorization, and which requests are refused outright. Those are exactly the behavioral traits an agent cannot infer from structured fields.

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?

Purpose and precondition are front-loaded, but the negative scope is restated three times ("Do not use this to approve content, bypass identity conflicts or execute a reply", "Refuses identity conflicts...", "Does not send, approve a reply, or change the recipient"). For a two-parameter tool the text is longer 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?

With no output schema, the description compensates by telling the agent to reread readiness afterward and by enumerating refusal outcomes. The only minor gap is that it does not say what the call itself returns (e.g., an authorization or audit identifier).

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; the description earns above that by clarifying intent — communicationId is the exact reviewed inbound thread, reason records why the source is trusted, and neither is a recipient override. It does not add format or sourcing detail beyond the schema fields, hence not a 5.

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 — authorize the current snapshot of one inbound email thread when reply_source_not_authorized is the only source gap, and record an audit row. It also explicitly distances itself from approval/execution siblings (approve_reply, execute_reply), so an agent can select it without reading the 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?

Names the precondition (a reply_source_not_authorized gap reported by get_reply_readiness), the exclusion set (do not approve content, bypass identity conflicts, or execute a reply), and the tool's own refusal cases (identity conflicts, differing Reply-To, quarantined replays unresolved without review). When-to-use and when-not-to-use are both explicit.

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