Skip to main content
Glama

Workflow Seal

workflow_seal
Idempotent

Seals a closed workflow for durable export. Requires the matching job session and an active pass. Never spends, captures, or starts a payment. The export remains a Zambo claim, not issuer authentication. AER-1 receipt, verifiable offline. Required arguments: workflow_id, _session_id.

Input Schema

NameRequiredDescriptionDefault
_refNoOptional handover referral ID from your install link.
actionNosave with proof the paid snapshot or edit its post-save with proof branding.
brandingNoOptional display name and logo settings for the saved workflow page.
_zambo_keyNoOptional active Day Pass key bound to this exact job. Never place it in a URL or public log.
_session_idYesRequired owning job ID, identical to the ID used when the workflow was closed.
workflow_idYesRequired workflow_id returned by workflow_close.
_caller_labelNoOptional caller label recorded as a caller-reported claim in the receipt.zambo-starter
_caller_handleNoOpaque anonymous continuity handle returned during initialize. Reuse it across MCP sessions; it is not payment authorization.
_continuity_ai_labelNoOptional self-reported AI client label for the private continuity timeline. Zambo does not independently verify the client.
workflow_manage_tokenNoOptional private capability returned once by workflow_close. Never share it in public.

Output Schema

NameRequiredDescriptionDefault
okYes
idsYes
nextYes
tierNo
urlsYes
errorNo
graphNo
activeNo
resultYesThe tool's observed JSON value or plain-text result.
intentsNo
next_upNo
paymentNo
day_passNo
today_urlNo
expires_atNo
human_lineYes
next_stepsNo
daily_recapNo
renew_nudgeNo
unlock_linkNo
seconds_leftNo
resume_statusNo
resumed_resultNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / branding / description
      Added value: +"Optional display name and logo settings for the saved workflow page."
  2. Changed1 schema field changed
    • changedInput schema / properties / action / description
      Previous value: -"Seal the paid snapshot or edit its post-seal branding."New value: +"save with proof the paid snapshot or edit its post-save with proof branding."
  3. Changed2 schema fields changed
    • addedInput schema / properties / _caller_handle
      Added value: +{
      +  "description": "Opaque anonymous continuity handle returned during initialize. Reuse it across MCP sessions; it is not payment authorization.",
      +  "maxLength": 64,
      +  "type": "string"
      +}
    • addedInput schema / properties / _caller_label / default
      Added value: +"zambo-starter"
  4. Changed1 schema field changed
    • changedOutput schema / properties / graph / properties / aer / const
      Previous value: -"draft-zambo-aer1-25"New value: +"draft-zambo-aer1-26"
  5. Changed1 schema field changed
    • changedOutput schema / properties / graph / properties / aer / const
      Previous value: -"draft-zambo-aer1-24"New value: +"draft-zambo-aer1-25"
  6. Changed1 schema field changed
    • changedOutput schema / properties / graph / properties / aer / const
      Previous value: -"draft-zambo-aer1-23"New value: +"draft-zambo-aer1-24"
  7. Changed1 schema field changed
    • changedOutput schema / properties / graph / properties / aer / const
      Previous value: -"draft-zambo-aer1-22"New value: +"draft-zambo-aer1-23"
  8. Changed1 schema field changed
    • changedOutput schema / properties / graph / properties / aer / const
      Previous value: -"draft-zambo-aer1-21"New value: +"draft-zambo-aer1-22"
  9. Changed1 schema field changed
    • changedOutput schema / properties / graph / properties / aer / const
      Previous value: -"draft-zambo-aer1-20"New value: +"draft-zambo-aer1-21"
  10. Changed1 schema field changed
    • addedOutput schema / properties / next_steps
      Added value: +{
      +  "items": {},
      +  "minItems": 1,
      +  "type": "array"
      +}
  11. Changed26 schema fields changed
    • addedInput schema / properties / _ref
      Added value: +{
      +  "description": "Optional handover referral ID from your install link.",
      +  "format": "uuid",
      +  "type": "string"
      +}
    • changedOutput schema / additionalProperties
      Previous value: -falseNew value: +true
    • addedOutput schema / properties / active
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / daily_recap
      Added value: +{
      +  "type": "object"
      +}
    • addedOutput schema / properties / day_pass
      Added value: +{
      +  "type": "object"
      +}
    • addedOutput schema / properties / error
      Added value: +{
      +  "additionalProperties": true,
      +  "anyOf": [
      +    {
      +      "required": [
      +        "next_call"
      +      ]
      +    },
      +    {
      +      "required": [
      +        "next_url"
      +      ]
      +    }
      +  ],
      +  "properties": {
      +    "code": {
      +      "type": "string"
      +    },
      +    "next_call": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "args": {
      +          "type": "object"
      +        },
      +        "tool": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "tool",
      +        "args"
      +      ],
      +      "type": "object"
      +    },
      +    "next_step": {
      +      "type": "string"
      +    },
      +    "next_url": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "next_step"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / expires_at
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / graph
      Added value: +{
      +  "properties": {
      +    "aer": {
      +      "const": "draft-zambo-aer1-20"
      +    },
      +    "schema": {
      +      "const": "zambo.graph/1"
      +    }
      +  },
      +  "required": [
      +    "schema",
      +    "aer",
      +    "nodes",
      +    "edges",
      +    "retries",
      +    "sources",
      +    "summary"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / human_line
      Added value: +{
      +  "maxLength": 200,
      +  "pattern": "^[^\\r\\n]*$",
      +  "type": "string"
      +}
    • addedOutput schema / properties / ids
      Added value: +{
      +  "additionalProperties": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / intents
      Added value: +{
      +  "items": {
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / next
      Added value: +{
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedOutput schema / properties / next_up
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / ok
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / payment
      Added value: +{
      +  "type": "object"
      +}
    • addedOutput schema / properties / renew_nudge
      Added value: +{
      +  "type": "object"
      +}
    • addedOutput schema / properties / result / description
      Added value: +"The tool's observed JSON value or plain-text result."
    • removedOutput schema / properties / result / oneOf
      Removed value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "already_sealed": {
      -        "type": "boolean"
      -      },
      -      "badge_url": {
      -        "type": "string"
      -      },
      -      "branding": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "display_name": {
      -            "type": "string"
      -          },
      -          "logo_asset_id": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          }
      -        },
      -        "required": [
      -          "display_name",
      -          "logo_asset_id"
      -        ],
      -        "type": "object"
      -      },
      -      "issuer_authenticated": {
      -        "const": false,
      -        "type": "boolean"
      -      },
      -      "pass": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "active": {
      -            "type": "boolean"
      -          },
      -          "expires_at": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "session_bound": {
      -            "const": true,
      -            "type": "boolean"
      -          }
      -        },
      -        "required": [
      -          "active",
      -          "expires_at",
      -          "session_bound"
      -        ],
      -        "type": "object"
      -      },
      -      "pdf_url": {
      -        "type": "string"
      -      },
      -      "sealed_at": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "sealed_snapshot": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "closed_receipt_id": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "count": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "merkle_root": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "receipts": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "contextual_url": {
      -                  "type": "string"
      -                },
      -                "id": {
      -                  "type": "string"
      -                },
      -                "receipt_url": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "id",
      -                "receipt_url",
      -                "contextual_url"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "count",
      -          "merkle_root",
      -          "closed_receipt_id",
      -          "receipts"
      -        ],
      -        "type": "object"
      -      },
      -      "status": {
      -        "const": "sealed",
      -        "type": "string"
      -      },
      -      "verification_status": {
      -        "const": "not_verified",
      -        "type": "string"
      -      },
      -      "workflow_id": {
      -        "type": "string"
      -      },
      -      "workflow_url": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "already_sealed",
      -      "workflow_id",
      -      "workflow_url",
      -      "sealed_at",
      -      "sealed_snapshot",
      -      "pass",
      -      "branding",
      -      "badge_url",
      -      "pdf_url",
      -      "verification_status",
      -      "issuer_authenticated"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "next": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "status": {
      -        "const": "day_pass_required",
      -        "type": "string"
      -      },
      -      "workflow_id": {
      -        "type": "string"
      -      },
      -      "workflow_url": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "workflow_id",
      -      "workflow_url",
      -      "next"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "type": "string"
      -          },
      -          "message": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message"
      -        ],
      -        "type": "object"
      -      },
      -      "status": {
      -        "const": "error",
      -        "type": "string"
      -      },
      -      "workflow_id": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]
    • addedOutput schema / properties / resume_status
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / resumed_result
      Added value: +{
      +  "type": "object"
      +}
    • addedOutput schema / properties / seconds_left
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / tier
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / today_url
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / unlock_link
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / urls
      Added value: +{
      +  "additionalProperties": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "result"
      -]New value: +[
      +  "result",
      +  "ok",
      +  "human_line",
      +  "next",
      +  "ids",
      +  "urls"
      +]
  12. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already state this is a non-read-only, non-destructive, idempotent, closed-world operation. The description adds meaningful behavioral context beyond that: it never spends or captures payment, the export is a Zambo claim rather than issuer authentication, and it yields an offline-verifiable AER-1 receipt. That is substantial disclosure for a mutation tool.

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 front-loaded with the core purpose and prerequisites, then quickly covers safety and output characteristics. The short sentences are efficient and avoid unnecessary 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?

With a rich schema, annotations, and an output schema, the description covers enough for the main seal path: purpose, prerequisites, safety semantics, and receipt behavior. The main gap is that it does not mention the alternate 'branding' action or the conditional workflow_manage_token, but the schema documents those details.

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 description coverage is 100%, so the schema already carries parameter meaning. The description only repeats the two required arguments and adds 'matching job session' context, while leaving the action/branding modes and conditional workflow_manage_token to the schema.

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 states a specific verb and resource — 'Seals a closed workflow' — plus the outcome 'for durable export.' It also implies the relationship to workflow_close by saying the workflow must already be closed, which distinguishes it from the close operation itself.

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?

It gives clear prerequisites: the workflow must be closed, the matching job session is required, and an active pass is required. It stops short of explicitly naming workflow_close as the alternative or stating when not to use this tool, but the context is clear enough.

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.