Skip to main content
Glama

agent-trust-oracle

Record outcome

record_outcome

Record an interaction outcome for an agent. kind: success | delivered | dispute_won | failure | undelivered | dispute_lost | timeout | security_incident (security incidents carry a 3x penalty).

Input Schema

NameRequiredDescriptionDefault
kindYes
noteNo
weightNo
agent_idYes
counterpartyNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=false, and the description does not contradict them. It adds genuinely useful behavior beyond annotations: the full set of valid kinds and the fact that security incidents carry a 3x penalty. It does not disclose that records are appended and presumably immutable, nor how weight interacts with the penalty, so there is room left.

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?

Two short sentences, front-loaded with the core action, and the kind list is compact. The inline pipe-delimited enumeration is slightly awkward but wastes no words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and the kind enumeration plus penalty note covers the most important semantics. However, with three optional parameters (weight, note, counterparty) completely unexplained and no guidance relative to sibling scoring tools, an agent cannot confidently construct a full call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and there are no enums in the schema, so the description carries the full burden. It covers only `kind` (valuably, since the schema has no enum) and gestures at the penalty. The four other parameters — agent_id, note, weight, counterparty — get no explanation at all, leaving most of the surface undocumented.

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 verb and resource: 'Record an interaction outcome for an agent.' That is unambiguous about what the tool does, and the enumerated kinds clarify what an 'outcome' is. It stops short of distinguishing itself from siblings like score_agent or attest, so it lands at 4 rather than 5.

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

Usage Guidelines2/5

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

There is no statement of when to call this versus score_agent, attest, or history, and no prerequisites or exclusions. An agent must infer the call context entirely from the name and the kind list. Only the enumeration of valid kinds hints at usage.

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.