Skip to main content
Glama

report_agent_inbox_outcome

Idempotent

Deprecated: no successor; retired when the alias window closes. Still served unchanged until then. Report actual external-worker processing through /v1/agent-inbox/:id/acknowledgments. Takes the exact fetched context_version, outcome and non-sensitive run_id in request. Needs agent.inbox.report plus both read scopes. A retry with the same idempotency_key and request replays the stored result. Reports cannot approve or complete facility handling. Required scopes: agent.inbox.read, agent.read, agent.inbox.report. 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": "report_agent_inbox_outcome"
  }
}

Input Schema

NameRequiredDescriptionDefault
item_idYesInbound item id (UUID) from a list or search result.
requestYesOutcome report: the context_version returned with the item's context, outcome (processed, needs_review or failed) and your run_id.
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. Changed1 schema field changed
    • changedInput schema / properties / request / description
      Previous value: -"Outcome report: context_version from get_agent_inbox_context, outcome (processed, needs_review or failed) and your run_id."New value: +"Outcome report: the context_version returned with the item's context, outcome (processed, needs_review or failed) and your run_id."
  2. 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: +"Outcome report: context_version from get_agent_inbox_context, outcome (processed, needs_review or failed) and your run_id."
  3. Added

TDQS

A4.1/5.0
Behavior5/5

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

Goes well past the annotations by disclosing auth requirements (agent-scoped bearer key; member/facility keys cannot impersonate an agent), the exact scope set, idempotent replay semantics (same key plus same request replays the stored result), and the negative side effect (cannot approve or complete handling). It also flags that rollout switches, assignment and SQL authorization are inherited from REST. This is exactly the kind of context annotations cannot carry.

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?

Front-loads the deprecation warning, which is the right priority, but the body is a dense clause chain with clear duplication: 'Needs agent.inbox.report plus both read scopes' is restated as 'Required scopes: agent.inbox.read, agent.read, agent.inbox.report.' The closing sentence about rollout switches, credential environment and SQL authorization is opaque and doesn't help an agent decide or act.

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 an output schema, full annotation coverage and 100% schema description coverage, the description supplies what structured fields cannot: auth model, idempotency, deprecation timing and the absence of approval side effects. Only the vague inheritance sentence leaves a small gap about what REST-shared behavior actually implies here.

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 schema already defines all three parameters and their constraints. The description still adds real meaning: context_version must be the exact value fetched with the item's context, and run_id should be non-sensitive, neither of which is inferable from the hex64/regex patterns. The idempotency-key behavior is reinforced but largely duplicates the schema description.

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?

States a concrete verb and resource: report processing outcomes for an agent-inbox item via /v1/agent-inbox/:id/acknowledgments, and explicitly bounds the effect ('Reports cannot approve or complete facility handling'), which separates it from propose_agent_inbox_handling. The deprecation notice leads, which is useful, but the phrase 'actual external-worker processing' is somewhat jargon-heavy and slightly obscures the plain action.

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?

Gives strong lifecycle guidance (deprecated with no successor, still served unchanged until the alias window closes) and an implicit exclusion: use a different pathway if you need to approve or complete facility handling. It also implies a precondition by requiring 'the exact fetched context_version,' i.e. call get_agent_inbox_context first. It never names a concrete alternative tool for the approval case, so routing is inferred rather than stated.

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.