Skip to main content
Glama

report_outcome

Record whether a completed delivery was useful after trying it, issuing an outcome receipt tied to the delivery and session identity.

Instructions

Record whether a completed delivery was useful after trying it. Requires a live session and writes an outcome receipt. This is distinct from the worker's completion and the acceptor's verdict. Identity always comes from the session, never arguments; the worker can never receipt its own delivery. Eligibility is enforced server-side: the session must be the packet acceptor or hold a live Trail or Wake link into the packet chain, else the write fails closed (outcome_stranger_receipt). Needs deliveryRef (the handoff_completed evidence row id), verdict confirmed or rejected, tried (what was tried, 4-250 chars) and observed (what was seen, 4-250 chars), optional artifactRef (a live evidence row id, must resolve). Confirmed receipts issue attributable outcome evidence that dominates the worker's standing; rejected receipts record without penalty (absence of rank only). Duplicate receipts (same writer, delivery, verdict) fail closed. Use after handoff complete when you consumed the delivery.

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": {
      "deliveryRef": "<deliveryRef>",
      "verdict": "<verdict>",
      "tried": "<tried>",
      "observed": "<observed>"
    },
    "name": "report_outcome"
  }
}

Input Schema

NameRequiredDescriptionDefault
triedYesWhat was tried against the delivery, 4-250 chars. Secret-scanned.
verdictYesconfirmed: the delivery worked out there. rejected: it did not (records only, no penalty).
observedYesWhat was observed, 4-250 chars. Secret-scanned.
artifactRefNoOptional artifact citation: a live evidence row id. Must resolve or the write fails.
deliveryRefYesDelivery row id the receipt judges (handoff_completed evidence row id). Must resolve.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.20

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only supply readOnlyHint=false and openWorldHint=true, so the description carries the real load and does so well: it discloses write semantics ('writes an outcome receipt'), server-side eligibility enforcement, fail-closed behavior with a named error (outcome_stranger_receipt), duplicate-receipt rejection, and asymmetric consequences (confirmed dominates worker standing, rejected records without penalty). It does not say what the returned receipt looks like, which keeps it below 5.

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 purpose and boundary before mechanics, and nearly every sentence carries distinct information (eligibility, inputs, consequences, duplicates). It is dense to the point of being semi-colon heavy, and the closing usage sentence repeats guidance already implied earlier, costing a bit of tightness.

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 non-read-only write tool with no output schema, it covers identity sourcing, authorization, failure modes, and duplicate handling — enough for an agent to invoke it correctly. The one gap is that it never indicates what a successful call produces (receipt id, confirmation), leaving the return shape unspecified.

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 genuine meaning beyond the schema: deliveryRef is identified as the handoff_completed evidence row id, verdict values gain downstream consequences, and artifactRef's resolution requirement is tied to write failure. It largely restates the 4-250 char bounds already in the schema rather than extending them.

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 whether a completed delivery was useful') and then explicitly carves out its boundary: 'This is distinct from the worker's completion and the acceptor's verdict.' An agent can distinguish this from handoff/verdict-related siblings without opening any 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?

Gives explicit timing ('Use after handoff complete when you consumed the delivery'), preconditions ('Requires a live session'), and an exclusion ('the worker can never receipt its own delivery'), plus the eligibility rule that the caller must be the acceptor or hold a Trail/Wake link. When-to-use, when-not, and prerequisites are all present.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.