Skip to main content
Glama

atl_outcome

Call this after executing an ATL decision to report the real result: success, failure, timeout, payment or auth failure, unusable result, or any other real execution outcome. Reporting what actually happened is how future routing decisions can improve.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cancelledNoWhether execution was cancelled before completion.
error_codeNoProvider error code observed during execution.
request_idNoCaller request ID associated with the prior ATL decision.
session_idNoMCP session ID returned by initialize.
http_statusNoHTTP status returned by the provider, when applicable.
provider_idNoProvider selected by ATL for the prior decision.
failure_typeNoCategory of the observed execution failure.
observed_costNoObserved provider execution cost.
correlation_idNoCaller correlation ID linking this result to related work.
outcome_statusYesFinal real-world execution result, such as SUCCESS or FAILURE.
attempt_outcomesNoObserved results for individual provider execution attempts.
final_provider_idNoProvider that actually completed execution, if it changed.
decision_referenceYesATL decision ID returned by the prior atl_decide call.
observed_latency_msNoObserved provider execution latency in milliseconds.
outcome_correlation_tokenYesATL token returned with the prior decision to authorize this outcome link.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed15 schema fields changed
    • addedInput schema / properties / attempt_outcomes / description
      Added value: +"Observed results for individual provider execution attempts."
    • addedInput schema / properties / cancelled / description
      Added value: +"Whether execution was cancelled before completion."
    • addedInput schema / properties / correlation_id / description
      Added value: +"Caller correlation ID linking this result to related work."
    • addedInput schema / properties / decision_reference / description
      Added value: +"ATL decision ID returned by the prior atl_decide call."
    • addedInput schema / properties / error_code / description
      Added value: +"Provider error code observed during execution."
    • addedInput schema / properties / failure_type / description
      Added value: +"Category of the observed execution failure."
    • addedInput schema / properties / final_provider_id / description
      Added value: +"Provider that actually completed execution, if it changed."
    • addedInput schema / properties / http_status / description
      Added value: +"HTTP status returned by the provider, when applicable."
    • addedInput schema / properties / observed_cost / description
      Added value: +"Observed provider execution cost."
    • addedInput schema / properties / observed_latency_ms / description
      Added value: +"Observed provider execution latency in milliseconds."
    • addedInput schema / properties / outcome_correlation_token / description
      Added value: +"ATL token returned with the prior decision to authorize this outcome link."
    • addedInput schema / properties / outcome_status / description
      Added value: +"Final real-world execution result, such as SUCCESS or FAILURE."
    • addedInput schema / properties / provider_id / description
      Added value: +"Provider selected by ATL for the prior decision."
    • addedInput schema / properties / request_id / description
      Added value: +"Caller request ID associated with the prior ATL decision."
    • addedInput schema / properties / session_id / description
      Added value: +"MCP session ID returned by initialize."
  2. First observed

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It does convey that the tool reports what actually happened and that the report influences future routing, giving some behavioral context. However, it does not disclose prerequisites like the correlation token, idempotency, or error handling. The schema covers the token, but the description alone omits important behavioral details.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences. The first sentence is front-loaded with the action and timing, and the second briefly explains the value. Every word earns its place; there is no redundant content.

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?

Despite the tool having 15 parameters, the required ones are clearly implied: decision_reference and outcome_correlation_token come from the prior decision, and outcome_status is the core. The schema descriptions fill in the field-level details. However, the description does not mention the return value or clarify whether the tool can be called multiple times, leaving some gaps given the lack of an output schema.

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

Parameters3/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. The description adds richer examples of outcome statuses (timeout, payment or auth failure, unusable result) beyond the schema's 'SUCCESS or FAILURE', which is helpful. However, it does not map these to specific parameters or clarify when to fill optional fields like error_code or observed_latency_ms.

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?

The description clearly states the tool's purpose: report the real result after executing an ATL decision. It uses the verb 'report' and specifies the resource (outcome of an ATL decision), and it lists concrete example outcomes (success, failure, timeout, etc.), making it easy to distinguish from the sibling atl_decide which is about making decisions.

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?

The description explicitly says 'Call this after executing an ATL decision', giving clear timing and context. It does not explicitly name alternatives or exclusions, but since the only sibling is atl_decide (the precursor), the usage is well understood. The rationale about improving future routing decisions further reinforces when to use it.

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.

Resources