Skip to main content
Glama
Mipiti
by Mipiti

export_threat_model

Convert a threat model into CSV, PDF, or HTML documents. Generate a shareable audit-ready file from the current model state without modifying it.

Instructions

Export a threat model as CSV, PDF, or HTML.

Read-only; no side effects on the model. Renders the model's current state into a downloadable document. The export runs server-side and may take some time for large models; progress is reported automatically while it completes.

For CSV the content is returned inline as UTF-8 text; for PDF/HTML it is returned base64-encoded. For a re-importable, fully self-contained audit bundle (all versions, controls, assertions, attestations) use export_threat_model_archive instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatNoExport format — "csv" (default), "pdf", or "html".csv
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?

With no annotations provided, the description carries the full burden and does an excellent job. It discloses that the operation is read-only with no side effects, that export runs server-side and may be slow for large models, that progress is reported automatically, and that CSV vs PDF/HTML returns content in different encodings. This goes well beyond a minimal description.

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 four sentences and every sentence earns its place: primary purpose, read-only guarantee, performance/progress caveat, format-specific encoding, and explicit sibling alternative. Key information is front-loaded in the first sentence.

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 output schema exists and the tool is relatively straightforward, the description provides all needed context: it states side effects, performance characteristics, encoding behavior, and points to the archive tool for a different use case. No critical information 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?

The schema already describes format and model_id, and the description adds meaningful behavior tied to the format parameter (inline UTF-8 for CSV, base64 for PDF/HTML). The server_version parameter is undocumented in the description, but that is the only gap; overall the description adds value beyond 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 uses the specific verb 'Export' with the resource 'a threat model' and explicitly names the supported formats (CSV, PDF, HTML). It clearly distinguishes this from the sibling export_threat_model_archive by noting that the archive is for a re-importable audit bundle.

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 tells when to use this tool versus the alternative: 'For a re-importable, fully self-contained audit bundle... use export_threat_model_archive instead.' It also provides practical context about server-side processing and progress reporting, helping the agent decide if this tool is appropriate.

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