Skip to main content
Glama

export_policy_pack

Exports a published policy pack version to Claude Code hooks, Kong or Zuplo and returns the export with a download link that works for 15 minutes. Without version the latest version is used; the baseline pack has version 1.0. For Claude Code, mode project gives files for the repository and mode managed gives files your administrators install.

Input Schema

NameRequiredDescriptionDefault
modeNoFor Claude Code hooks. Default project.
targetYesWhere the export runs.
pack_idYesThe pack id, or baseline.
versionNoThe version, such as 1.0. Optional.
organisationNoThe organisation's URL name (slug), from list_organisations. Leave it out: a connection signed in through OAuth reaches only the one organisation the person chose at sign-in, and an API key only its own. Only a connection approved before that choice existed, which reaches several organisations, needs it.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.4/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 well: it discloses that the result includes a download link that expires after 15 minutes, and that only a *published* version can be exported. It does not discuss permission requirements or what happens on failure, but the key temporal constraint is surfaced.

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?

Three compact sentences, front-loaded with purpose then parameter behavior, with no filler. Every clause (expiry window, version default, mode semantics) earns its place.

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?

For a 5-parameter export tool with no output schema, the description covers what is returned (an export plus a time-limited download link) and the two enum-driven behaviors. It omits any note on output format or whether the export is generated synchronously, which would be the remaining gap.

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?

Schema coverage is already 100%, so baseline would be 3, but the description adds meaning the schema doesn't: default-to-latest behavior for version, the baseline pack's version 1.0, and the project-vs-managed distinction for Claude Code (repository files vs administrator-installed files). That materially improves correct invocation.

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 states a specific verb and resource ('Exports a published policy pack version') and enumerates the concrete targets (Claude Code hooks, Kong, Zuplo), which no sibling tool covers. An agent can immediately tell this apart from list_policy_packs or export_eval.

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?

It gives real selection context: the version parameter is optional with a latest-by-default rule, the baseline pack maps to 1.0, and mode is only meaningful for Claude Code. It stops short of explicitly naming alternatives (e.g. 'call list_policy_packs first to obtain pack_id'), so the routing guidance is clear but not exhaustive.

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.

Resources