Skip to main content
Glama

Export project to a bundle

export_project
Idempotent

Package a project into a portable bundle and return a time-limited download link. The bundle carries the project's source tree, its settings, its run plan, and the NAMES of the env vars it needs. Left out: dependency caches, git history, and any .env or credential file in the workspace, so the bundle never carries a secret value. Hand the file to import_project on this deployment or any other Server4Agent deployment to recreate the project there.

Input Schema

NameRequiredDescriptionDefault
project_idYesThe project's id, as returned by create_project or list_projects.
ttl_secondsNoHow long the download link stays valid. Defaults to 24 hours, up to 7 days.

Output Schema

NameRequiredDescriptionDefault
envNoEnv vars the project needs. Names only, never values.
urlYesTime-limited download link for the bundle. Anyone holding it can fetch it.
bytesNoBundle size.
filenameNoThe bundle's file name.
expires_atNoWhen the link stops working, ISO 8601.
project_idYesThe exported project.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond annotations, the description discloses exactly what is included and excluded from the bundle, including security-relevant behavior: dependency caches, git history, .env files, and credential files are never included. It also explains the time-limited link and portability across deployments, which are meaningful behavioral details not captured by the annotations alone.

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 three sentences, front-loaded with the core action and return value, followed by security exclusions and the import handoff. Every sentence adds useful information without repetition.

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?

An output schema exists, so the description need not explain return values in detail. It still covers inclusion/exclusion rules, security constraints, link behavior, and cross-deployment compatibility, leaving no major gap for an agent to call the tool correctly.

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 coverage is 100%, so both project_id and ttl_seconds are already documented in the input schema. The description mentions a time-limited link but does not add syntax or format details beyond the schema's default and maximum ttl behavior. Baseline 3 is appropriate when the schema carries parameter semantics.

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 a specific verb and resource: it packages a project into a portable bundle and returns a time-limited download link. It also distinguishes the output from import_project by explaining the bundle's intended handoff, so an agent can identify the tool without opening schemas.

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?

The description clearly states the downstream use case: hand the bundle to import_project on this or another Server4Agent deployment. It does not explicitly say when not to use export_project, but the import context strongly implies the intended workflow.

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.