Skip to main content
Glama

Export Signed record

stack_export_signed_record

Create one portable Signed record for a Mission, session or period and return it. With no arguments it exports the current calendar month (UTC). The immutable JSON snapshot contains the signed claims and verification material that exist at export time. Signed records are a controls feature: without controls the API answers 402 CONTROLS_REQUIRED, and a self-managed install also needs a licence that covers signed exports.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "stack_export_signed_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
air_gapNoMarks the record as intended for offline verification. Every record already embeds the JWKS and schemas.
scope_refNoReference matching scope_kind: ms_* (stack_list_missions) / ses_* / incident:<id> / period:<range>. Default: the current calendar month, period:YYYY-MM in UTC. A bare 2026-05 or 2026-Q1 is read as a period.
scope_kindNoScope kind. Default: period when scope_ref is omitted or starts with period:, mission for an ms_* ref, session for a ses_* ref. mission and session take an id ref; period takes period:YYYY-Qn, period:YYYY-MM or period:YYYY-MM-DD/YYYY-MM-DD. incident is reserved and currently refused.
supersedesNoOptional prior pack id (pck_*) when re-exporting the same scope; supersedes pointer surfaces on the new pack.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / scope_kind / description
      Previous value: -"Scope kind. mission and session take an id ref; period takes period:YYYY-Qn, period:YYYY-MM or period:YYYY-MM-DD/YYYY-MM-DD. incident is reserved and currently refused."New value: +"Scope kind. Default: period when scope_ref is omitted or starts with period:, mission for an ms_* ref, session for a ses_* ref. mission and session take an id ref; period takes period:YYYY-Qn, period:YYYY-MM or period:YYYY-MM-DD/YYYY-MM-DD. incident is reserved and currently refused."
    • changedInput schema / properties / scope_ref / description
      Previous value: -"Reference matching scope_kind: ms_* / ses_* / incident:<id> / period:<range>."New value: +"Reference matching scope_kind: ms_* (stack_list_missions) / ses_* / incident:<id> / period:<range>. Default: the current calendar month, period:YYYY-MM in UTC. A bare 2026-05 or 2026-Q1 is read as a period."
    • removedInput schema / required
      Removed value: -[
      -  "scope_kind",
      -  "scope_ref"
      -]
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only tell the agent readOnly=false, destructive=false, openWorld=false; the description goes further by disclosing that the snapshot is immutable and frozen at export time, that a missing controls feature yields 402 CONTROLS_REQUIRED, and that self-managed installs need a licence covering signed exports. That is meaningful prerequisite and side-effect context beyond structured fields.

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?

Three sentences, front-loaded with the action and scope, then defaults, then finality of the snapshot, then prerequisites. No filler, though the prerequisites sentence is dense enough to slow scanning slightly.

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 no output schema, the description still characterizes the return value as an immutable JSON snapshot holding signed claims and verification material, and it covers the licensing/controls failure mode. What remains thin is how the returned record is subsequently fetched or verified, which the sibling tools likely handle.

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 each parameter (air_gap, scope_ref, scope_kind, supersedes) is already fully documented, including defaulting rules and the reserved incident kind. The description adds only the zero-argument default of the current UTC month, which the schema also covers, so baseline 3 is appropriate.

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 gives a specific verb and resource — 'Create one portable Signed record for a Mission, session or period and return it' — and names the three supported scopes. It does not distinguish this from close siblings such as stack_download_signed_record or stack_get_signed_record, so an agent must infer that export creates while those retrieve.

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?

It states that a no-argument call exports the current calendar month in UTC, which is useful implied guidance on the zero-arg path, and it warns about the controls prerequisite. It never says when to choose this over download/get/list of signed records, so alternative selection is left to inference.

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.