Skip to main content
Glama

Build exit pack

build_exit_pack

Build a bounded cancellation/refund action pack from an existing actionable Exit Manifest. Pass manifest_id and access_token together as the credential pair returned by create_exit_manifest or settlement recovery; use get_exit_manifest for retrieval only, or check_reversibility then create_exit_manifest when no manifest exists. This $1.00 MPP operation prefers Tempo stablecoin when available, retains Stripe card/link as a compatible fallback, and can charge but never contacts the merchant, executes a cancellation, files a chargeback, or guarantees success. Invalid or mismatched credentials and non-actionable manifests are rejected before payment; an identical settled retry with the same payment credential avoids a second settlement, while generatedAt and deadlineStatus can reflect the current time.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
manifest_idYesUnguessable Exit Manifest identifier returned by create_exit_manifest. It starts with xm_ followed by 32 lowercase hexadecimal characters.
access_tokenYesSecret bearer token returned by create_exit_manifest or deterministic settlement recovery. Required with manifest_id; treat it like a credential and do not log or expose it.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
stepsYesOrdered bounded next steps for pursuing cancellation or refund.
sourcesYesRecorded source references supporting the action pack.
currencyNoCurrency associated with recorded monetary values.
exitRouteYesRecorded cancellation/refund route or cited-source route to follow.
assessmentYesReversibility assessment preserved by the manifest.
manifestIdYesManifest used to build this action pack.
generatedAtYesTimestamp when the action pack was generated.
limitationsYesBoundaries and caveats; ExitProof does not execute the exit or guarantee success.
actionabilityYesWhy the stored manifest is actionable and which exit route is established.
prerequisitesYesChecks to complete before acting on the exit plan.
schemaVersionYesExit-pack response schema version.
deadlineStatusYesCurrent status of the recorded exit deadline at generation time.
reversibleUntilNoRecorded exit deadline when established.
suggestedRequestYesSuggested message the user or agent can adapt when requesting cancellation/refund.
evidenceChecklistYesEvidence to retain while pursuing the exit.
maximumStatedLossMinorNoMaximum stated loss in minor currency units when established.
unresolvedLossExposureNoTrue when the recorded evidence does not establish a complete maximum loss.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / description
      Added value: +"Credentials for one previously created Exit Manifest. Both values are required together and are returned by create_exit_manifest or settlement recovery."
    • addedInput schema / properties / access_token / description
      Added value: +"Secret bearer token returned by create_exit_manifest or deterministic settlement recovery. Required with manifest_id; treat it like a credential and do not log or expose it."
    • addedInput schema / properties / manifest_id / description
      Added value: +"Unguessable Exit Manifest identifier returned by create_exit_manifest. It starts with xm_ followed by 32 lowercase hexadecimal characters."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "description": "Bounded action pack derived from an actionable Exit Manifest.",
      +  "properties": {
      +    "actionability": {
      +      "additionalProperties": true,
      +      "description": "Why the stored manifest is actionable and which exit route is established.",
      +      "type": "object"
      +    },
      +    "assessment": {
      +      "description": "Reversibility assessment preserved by the manifest.",
      +      "type": "string"
      +    },
      +    "currency": {
      +      "description": "Currency associated with recorded monetary values.",
      +      "type": "string"
      +    },
      +    "deadlineStatus": {
      +      "description": "Current status of the recorded exit deadline at generation time.",
      +      "enum": [
      +        "open",
      +        "passed",
      +        "not_established"
      +      ],
      +      "type": "string"
      +    },
      +    "evidenceChecklist": {
      +      "description": "Evidence to retain while pursuing the exit.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "exitRoute": {
      +      "additionalProperties": true,
      +      "description": "Recorded cancellation/refund route or cited-source route to follow.",
      +      "type": "object"
      +    },
      +    "generatedAt": {
      +      "description": "Timestamp when the action pack was generated.",
      +      "type": "string"
      +    },
      +    "limitations": {
      +      "description": "Boundaries and caveats; ExitProof does not execute the exit or guarantee success.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "manifestId": {
      +      "description": "Manifest used to build this action pack.",
      +      "type": "string"
      +    },
      +    "maximumStatedLossMinor": {
      +      "anyOf": [
      +        {
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "Maximum stated loss in minor currency units when established."
      +    },
      +    "prerequisites": {
      +      "description": "Checks to complete before acting on the exit plan.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "reversibleUntil": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "Recorded exit deadline when established."
      +    },
      +    "schemaVersion": {
      +      "const": "exitproof-exit-pack.v1",
      +      "description": "Exit-pack response schema version."
      +    },
      +    "sources": {
      +      "description": "Recorded source references supporting the action pack.",
      +      "items": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "steps": {
      +      "description": "Ordered bounded next steps for pursuing cancellation or refund.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "suggestedRequest": {
      +      "description": "Suggested message the user or agent can adapt when requesting cancellation/refund.",
      +      "type": "string"
      +    },
      +    "unresolvedLossExposure": {
      +      "description": "True when the recorded evidence does not establish a complete maximum loss.",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "schemaVersion",
      +    "manifestId",
      +    "generatedAt",
      +    "assessment",
      +    "actionability",
      +    "exitRoute",
      +    "prerequisites",
      +    "deadlineStatus",
      +    "steps",
      +    "suggestedRequest",
      +    "evidenceChecklist",
      +    "sources",
      +    "limitations"
      +  ],
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / properties / access_token / pattern
      Added value: +"^xp_[A-Za-z0-9_-]{20,}$"
    • addedInput schema / properties / manifest_id / pattern
      Added value: +"^xm_[a-f0-9]{32}$"
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

The description goes far beyond the annotations. It discloses that the tool can charge but never contacts the merchant, executes cancellation, files chargebacks, or guarantees success, and that invalid credentials or non-actionable manifests are rejected before payment. It also explains idempotent retry behavior and generatedAt/deadlineStatus semantics, which are not visible in structured fields. No contradiction with annotations.

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?

The description is information-dense but every sentence adds new information: purpose, credential sourcing, behavioral limitations, retry behavior, and edge-case handling. It is front-loaded with the core action and usage, and while it is longer than average, the complexity of the tool justifies it. No filler or repetition.

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?

Given the tool's complexity, an output schema is present, so return values are covered. The description covers usage context, alternatives, behavioral constraints, credential validation, retry semantics, and time-sensitive fields. Nothing an agent needs to decide whether and how to call it is missing.

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. The description adds value by explaining the two parameters must be passed together as a credential pair, that they are returned by create_exit_manifest or settlement recovery, and that invalid or mismatched credentials cause rejection. This contextualizes the parameters beyond the schema's individual descriptions.

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 opens with a clear verb-resource statement: 'Build a bounded cancellation/refund action pack from an existing actionable Exit Manifest.' It specifies exactly what the tool produces and distinguishes it from siblings by name (get_exit_manifest for retrieval, create_exit_manifest for creation). No ambiguity about the tool's role.

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 and when-not-to-use guidance: pass the credential pair from create_exit_manifest or settlement recovery; use get_exit_manifest for retrieval only, or check_reversibility then create_exit_manifest when no manifest exists. Alternatives are named and the selection condition is stated, leaving no room for guesswork.

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