Skip to main content
Glama

list_agent_outcomes

Read-onlyIdempotent

List outcome events for one agent (by public key) in the API key's org, newest first by default. When to use: to audit what results an agent recorded, find an outcome event_hash for get_proof, or page outcomes without already knowing hashes. When NOT to use: to list decisions (use list_agent_decisions); to fetch one event's trust/anchor proof (use get_proof); to write a new decision or outcome (use log_decision / log_outcome); this is org-scoped via X-API-Key (not a public explorer listing) and does not accept agent_name — pass the agent's public_key from a prior log_decision / log_outcome response or register_agent. Requires X-API-Key. Read-only. Unknown public keys return an empty outcomes list (total 0), not an error. Returns {outcomes, total, next_cursor, has_next}. Each outcome includes decision_event_hash when linked. Pass next_cursor as cursor for the next older page.

Input Schema

NameRequiredDescriptionDefault
limitNoPage size (default 12, hard max 12). Results are ordered by event_seq descending (newest first).
cursorNoOptional event_seq cursor from a prior next_cursor. When set, returns outcomes with event_seq older than this value.
agent_public_keyYesBase64 Ed25519 public key of the agent whose outcomes to list. Must belong to an agent already registered in this API key's org.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, but the description adds material behavior beyond them: X-API-Key auth requirement, org-scoped (not a public explorer), unknown public keys return an empty list with total 0 rather than an error, and the exact return shape including decision_event_hash linkage.

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, then clearly labeled use/avoid sections and return/output notes. Dense but structured; only slightly long, and each sentence carries actionable information.

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

Completeness5/5

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

There is no output schema, so the description's explicit return contract ({outcomes, total, next_cursor, has_next}) and the empty-list-on-unknown-key behavior fill the critical gap. Auth, scoping, ordering, paging, and edge cases are all covered.

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 real meaning: it clarifies the tool does NOT accept agent_name and that public_key must come from a prior log_decision/log_outcome response or register_agent, and it explains that next_cursor should be echoed back as cursor for paging older.

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+resource (list outcome events for one agent by public key), plus scope (API key's org) and default ordering (newest first). It is clearly distinguishable from list_agent_decisions and get_proof without needing to open either 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?

Explicit 'When to use' (audit recorded results, find an event_hash for get_proof, page without knowing hashes) and 'When NOT to use' with named sibling alternatives for each excluded case (list_agent_decisions, get_proof, log_decision/log_outcome). Routing is unambiguous.

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.