Skip to main content
Glama

Create Template Package Upload

create_template_package_upload

Reserve a LOCAL portable CueFrame template package ZIP for import into the organization library. Supply idempotencyKey, archiveSha256 (exact lowercase SHA256) and archiveBytes (1..128MiB). Returns uploadId and a short-lived single PUT uploadUrl. PUT the exact raw archive bytes with Content-Type application/zip, then call import_template_package using uploadId. A reservation is not an import or a media item. Organization-library operation; project-bound editor credentials are refused.

Input Schema

NameRequiredDescriptionDefault
bodyYes
commandIdNoRetry identity. A call repeated with the same commandId returns the first result instead of acting twice.

Output Schema

NameRequiredDescriptionDefault
uploadIdNo
expiresAtNo
uploadUrlNo
contentTypeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations, it discloses that uploadUrl is short-lived and single-PUT, the exact content type required, the SHA256 must be exact lowercase, the archive size window, and the auth restriction. These details materially shape correct invocation of a non-readOnly, non-idempotent operation.

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?

Four dense sentences, front-loaded with the reservation action and followed by the exact call sequence. Every sentence carries needed operational detail, though the density of constraints makes it slightly heavier than an ideally lean definition.

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?

For a multi-step upload-reservation tool with an output schema present, the description still explains the return values' purpose and the follow-up call, plus auth and content-type constraints. Nothing an agent needs to invoke it correctly 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?

Schema coverage is 50%, with commandId documented in-schema and the nested body fields only named. The description compensates by humanizing archiveBytes as 1..128MiB and clarifying the lowercase hex SHA256 format, adding meaning beyond the raw pattern/max. It does not explain idempotencyKey semantics beyond naming it.

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?

States a specific verb (Reserve) and resource (LOCAL portable CueFrame template package ZIP) targeted at the organization library, distinguishing it explicitly from import_template_package and media items. An agent can separate it from export_template_package and create_upload without opening any schema.

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?

Lays out the full sequence: supply idempotencyKey/archiveSha256/archiveBytes, receive uploadId and uploadUrl, PUT raw bytes with Content-Type application/zip, then call import_template_package with uploadId. It also names the exclusion condition (project-bound editor credentials are refused) and clarifies a reservation is not an import.

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.