Skip to main content
Glama

propose_agent_inbox_handling

Idempotent

Deprecated: superseded by the tool named in _meta.successor. Still served unchanged during the alias window. Propose through /v1/agent-inbox/:id/handling with dedicated agent.inbox.propose and read scopes. Requests carry confirmed:false and destructive_confirmed:false and the item's current handling version; humans approve before the paired facility queue or alert. Forward requires complete US destination and mail class; discard needs subsequent owner/staff confirmation. Sample open_and_scan is TEST training, not paid OCR. A retry with the identical idempotency_key, body and original expected_version replays safely. Cannot self-approve, dispatch postage, charge, destroy or complete work. Required scopes: agent.inbox.read, agent.read, agent.inbox.propose. Agent-scoped bearer key required; member/facility keys cannot impersonate an agent. Rollout switches, current member approval, assignment, credential environment and SQL authorization are shared with REST.

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": {
      "item_id": "<item_id>",
      "request": "<request>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "propose_agent_inbox_handling"
  }
}

Input Schema

NameRequiredDescriptionDefault
item_idYesInbound item id (UUID) from a list or search result.
requestYesHandling proposal: action_type open_and_scan, forward_original (with destination; mail_class defaults to priority and first_class needs untracked_acknowledged) or discard_original, with the item's expected_version and confirmed. The member approves before facility staff act.
idempotency_keyYesCaller-generated replay key (8–200 visible ASCII characters) for this one intent. The same key with the same input replays the stored result; the same key with different input is refused.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / idempotency_key / description
      Added value: +"Caller-generated replay key (8–200 visible ASCII characters) for this one intent. The same key with the same input replays the stored result; the same key with different input is refused."
    • addedInput schema / properties / item_id / description
      Added value: +"Inbound item id (UUID) from a list or search result."
    • addedInput schema / properties / request / description
      Added value: +"Handling proposal: action_type open_and_scan, forward_original (with destination; mail_class defaults to priority and first_class needs untracked_acknowledged) or discard_original, with the item's expected_version and confirmed. The member approves before facility staff act."
  2. Added

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (readOnly=false, destructive=false, idempotent=true), the description discloses what the call cannot do — self-approve, dispatch postage, charge, destroy or complete work — that humans approve before the paired queue or alert fires, and that agents are scoped by rollout switches, assignment and credential environment shared with REST. Auth burden is explicit: agent-scoped bearer key required, member/facility keys cannot impersonate an agent. Replay semantics of the idempotency key are spelled out.

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?

Dense and information-rich but run-on: scopes are stated twice ('dedicated agent.inbox.propose and read scopes' then an explicit 'Required scopes:' list), and the line 'Sample open_and_scan is TEST training, not paid OCR' is placed with no framing. The deprecation notice earns its place up front, but several clauses could be merged or cut without losing meaning.

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 mutation tool with auth requirements, an output schema already covering return values, and 100% schema coverage, the description covers deprecation, auth/scopes, action-type branches, human approval, and replay safety. It stops short of describing post-proposal states or error conditions (e.g. stale expected_version) beyond the replay case, leaving a modest gap.

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% and the nested request variant already documents itself, so the baseline is 3; the description earns above that by adding cross-parameter constraints the schema does not encode — that requests carry confirmed:false and destructive_confirmed:false with the item's current handling version, and that first_class forwarding carries an acknowledgement requirement. Some redundancy exists (it repeats the idempotency_key behavior already in the schema), which keeps it from a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action on a specific resource: 'Propose through /v1/agent-inbox/:id/handling', with the three proposable action types (open_and_scan, forward_original, discard_original) spelled out. It implicitly distinguishes itself from the sibling get_agent_inbox_handling (propose vs read). The deprecation notice is front-loaded and pushes the actual purpose into the second sentence, which weakens the opening slightly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Guidance is conditional and concrete: forward requires a complete US destination plus mail class, discard needs subsequent owner/staff confirmation, and retries must reuse the same idempotency_key, body and expected_version. It routes deprecated callers to the successor named in _meta.successor during the alias window. It never names a sibling read tool (e.g. get_agent_inbox_handling) for checking current state before proposing, so the alternative-selection guidance is strong but not exhaustive.

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.