Skip to main content
Glama

Build an export

export_prepare

Generate a downloadable zip export from a scan in the chosen format. The process runs as a background job and returns the download path for fetching the prepared artifact.

Instructions

Build the export zip as a background job (POST /demo/export/prepare → 202 {job_id}; 409 export_job_active when one is running). With wait=true (default) polls the job and returns the prepared artifact (including download_path). Then artifact_fetch it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
waitNo
formatYes
poll_sNo
sourceNo
scan_idYes
timeout_sNo
Install Server

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does it well: it discloses the POST endpoint, 202 response with job_id, 409 conflict when a job is running, default wait behavior, polling, and returned download_path. This is substantial, though it omits details like response error shapes and whether repeated calls create new artifacts.

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 compact and front-loaded with the primary purpose. The HTTP status codes and workflow hint are dense but valuable, though the parameter gap makes the compactness slightly less effective.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-parameter tool with no output schema and no annotations, the description does not fully cover the contract. It explains the overall flow and wait behavior but leaves parameter semantics unexplained and does not describe the full response structure beyond download_path.

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?

Schema description coverage is 0%, so the description must compensate. It explains wait=true and its polling behavior, but gives no meaning for scan_id, format, source, poll_s, or timeout_s, leaving most parameters undocumented.

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 names a specific verb and resource ('Build the export zip'), identifies it as a background job, and gives the HTTP endpoint. It is clearly distinguishable from sibling tools like export_status and export_manifest, which handle inspection/downloading rather than preparation.

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 implies usage: call this to prepare an export, wait/poll, then fetch the artifact. However, it does not explicitly state when to prefer this over siblings or when not to use it, so the guidance is more implicit than explicit.

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

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/reality-opened/openreality'

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