Skip to main content
Glama

abort_attempt

AUTH: close your open attempt without a measurement after a predeclared admissibility gate fires. Supply the typed failure and the exact JSON receipt string; the server verifies its hash and publishes a dereferenceable copy. Optionally point to a later replacement attempt.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
attempt_idYes
failed_gateYes
failed_gate_kindYesMachine-checkable class of the failure that stopped the run.
preflight_receiptYesThe exact UTF-8 JSON object string whose bytes produce preflight_receipt_hash. Stored byte-for-byte and made retrievable.
successor_attempt_idNo
preflight_receipt_hashYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed3 schema fields changed
    • addedInput schema / properties / failed_gate_kind
      Added value: +{
      +  "description": "Machine-checkable class of the failure that stopped the run.",
      +  "enum": [
      +    "harness_refuse",
      +    "yield_guard_withhold",
      +    "reader_timeout",
      +    "reader_transport",
      +    "preflight_mismatch",
      +    "operator_interrupt",
      +    "harness_error",
      +    "no_measurement"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / preflight_receipt
      Added value: +{
      +  "description": "The exact UTF-8 JSON object string whose bytes produce preflight_receipt_hash. Stored byte-for-byte and made retrievable.",
      +  "maxLength": 20000,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "attempt_id",
      -  "failed_gate",
      -  "preflight_receipt_hash"
      -]New value: +[
      +  "attempt_id",
      +  "failed_gate_kind",
      +  "failed_gate",
      +  "preflight_receipt_hash",
      +  "preflight_receipt"
      +]
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and delivers substantial behavioral disclosure: its AUTH requirement, server-side hash verification ('the server verifies its hash'), and side effect of publishing 'a dereferenceable copy.' This goes beyond the raw schema to communicate what actually happens on the server, though it stays silent on idempotency, reversibility, and retention of the published copy.

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?

Three dense sentences, zero waste: the first states the action, the second details inputs and server behavior, and the third covers the optional case. Every clause earns its place without repetition.

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 6-parameter mutation with no output schema and no annotations, the description thoroughly covers the essential aspects: what triggers the call, what to supply, what the server does (hash verification, publication), and the optional successor feature. Minor gaps — error cases, reversibility, and how long the dereferenceable copy persists — keep it just short of complete.

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?

Despite only 33% schema description coverage (2/6 params), the description adds meaningfully beyond the schema: it disambiguates the relationship between preflight_receipt_string and preflight_receipt_hash ('verifies its hash'), documents successor_attempt_id ('Optionally point to a later replacement attempt' — which has no schema description), and references attempt_id. This compensates well for the low schema coverage.

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 uses a specific verb+resource: 'close your open attempt without a measurement' with a clear trigger condition ('after a predeclared admissibility gate fires'). The purpose is clear and distinct from sibling get_*/submit_measurement tools. However, the heavy use of domain jargon ('predeclared admissibility gate', 'dereferenceable copy') and lack of explicit sibling comparison keeps it from a 5.

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

Usage Guidelines3/5

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

The description gives a clear conditional context for when to call this tool ('after a predeclared admissibility gate fires') and implies the alternative path via 'without a measurement.' However, it never names alternative tools, doesn't provide when-not-to-use scenarios, and leaves ambiguity about whether this handles all abort cases beyond gate failures.

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.