Skip to main content
Glama
Mipiti
by Mipiti

export_threat_model_archive

Export a threat model as a self-contained JSON audit archive for independent verification and restoration. Includes versions, controls, findings, and attestations.

Instructions

Export the self-contained JSON audit archive for a threat model.

Read-only; no side effects on the source model. Runs as a backend job: this tool starts the job, waits for it to finish (reporting progress as it goes), then fetches and decodes the JSON envelope.

The archive is a complete, independently-verifiable snapshot: every version, controls, assertions (with Tier 1 / Tier 2 verification verdicts and attested flags), findings, risk acceptances, assumption overrides, attestations, and instance sufficiency signatures. It verifies standalone — CI OIDC JWTs against the issuer's public JWKS, workspace signatures against the workspace's published key, and sufficiency signatures against the origin instance's key.

To restore the archive into a workspace (same or different instance), pass the returned envelope to import_threat_model_archive. For a rendered document (PDF / HTML / CSV) rather than a machine-verifiable archive, use export_threat_model instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
model_idYesID of the threat model to export.
server_versionYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

No annotations are present, so the description carries full responsibility. It discloses that the operation is read-only with no side effects, that it runs as a backend job that waits and fetches results, and it details the archive contents and standalone verification methods. This is comprehensive behavioral disclosure.

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?

Despite being lengthy, every sentence earns its place. The description is well-structured, moving from purpose to execution behavior to content/verification details and finally to tool comparisons. It is front-loaded with the primary action and avoids redundancy.

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?

The tool is complex, involving a backend job, cryptographic verification, and interaction with sibling tools. The description covers all essential aspects: what it does, how it behaves, what the archive contains, how it verifies, and how it relates to import/export tools. The presence of an output schema means return-value details are not needed, and the description still notes the returned envelope.

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

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema covers only 50% of parameters (model_id has a description, server_version does not). The tool description does not clarify server_version's role or format, which is needed given the low schema coverage. While model_id is self-explanatory, the description fails to compensate for the undocumented parameter.

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 the specific verb 'Export' and resource 'self-contained JSON audit archive for a threat model', clearly identifying the tool's purpose. It distinguishes itself from sibling export_threat_model by explicitly contrasting a machine-verifiable archive with a rendered document.

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?

The description explicitly provides when-to-use guidance: it states the archive is for machine-verifiable snapshots, points to import_threat_model_archive for restoration, and directs users to export_threat_model when a rendered document is needed. It also describes the backend job behavior, setting expectations for execution.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Mipiti/mipiti-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server