Skip to main content
Glama

Get Template Package Download

get_template_package_download
Read-only

Refresh the short-lived download URL for an exact organization-owned portable template package receipt. Supply the receiptId from a ready import/export template job. Server verifies retained immutable package/document authority; never pass bucket keys or arbitrary archive URLs. Project-bound editors must also pass the exact ready export jobId for their bound source project and this receipt; an unrelated job or receipt refuses.

Input Schema

NameRequiredDescriptionDefault
jobIdNo
receiptIdYesreceiptId (path).

Output Schema

NameRequiredDescriptionDefault
urlNo
warningsNo
expiresAtNo
receiptIdNo
archiveBytesNo
archiveSha256No
documentSha256No

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A5/5.0
Behavior5/5

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

Beyond the annotations, the description discloses important behavior: the URL is short-lived, the server verifies retained immutable package/document authority, bucket keys are rejected, and project-bound editors face additional jobId matching requirements. These details materially reduce the risk of misuse.

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 purpose is front-loaded in the first sentence, followed by usage constraints and refusal conditions. Every sentence contributes useful information without filler or 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?

The tool has an output schema, so return values need not be explained. The description covers purpose, parameter meaning, security validation, and invocation conditions completely enough for an agent to call it correctly.

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

Parameters5/5

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

Although schema description coverage is only 50%, the description explains that receiptId comes from a ready import/export template job and that jobId is required for project-bound editors and must match the bound source project. This adds substantial meaning beyond the sparse schema descriptions.

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: refresh the short-lived download URL for an exact organization-owned portable template package receipt. It clearly distinguishes this tool from siblings such as export_template_package or refresh_render_url by scoping it to receipt-based package downloads.

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?

It explicitly says to supply the receiptId from a ready import/export template job, warns never to pass bucket keys or arbitrary archive URLs, and states that project-bound editors must pass the exact ready export jobId. It also notes that an unrelated job or receipt will be refused, giving clear when/when-not conditions.

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.