Skip to main content
Glama

Get Template Job

get_template_job
Read-onlyIdempotent

Read exact durable template preparation status. For library-import or library-export, ready means a saved organization template and destination-owned package receipt; projectId remains null. Preserve templateId/templateVersion, documentSha256 and package receipt; refresh its URL with get_template_package_download. Export sourceProjectId identifies the original saved project; projectId remains null. For ordinary instantiation/apply, read the returned projectId. Failed/cancelled states include the retained reason. Do not treat preparing as successful import.

Input Schema

NameRequiredDescriptionDefault
jobIdYesjobId (path).

Output Schema

NameRequiredDescriptionDefault
modeNo
jobIdNo
stageNo
statusNo
packageNo
createdAtNo
errorCodeNo
projectIdNo
updatedAtNo
templateIdNo
templateRefNo
errorMessageNo
documentSha256No
sourceProjectIdNo
templateVersionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, so the safety profile is covered; the description goes beyond by disclosing state semantics that annotations cannot — projectId stays null for import/export jobs, failed/cancelled states retain a reason, and "preparing" must not be read as success. That is genuine added behavioral context an agent would otherwise have to guess.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded and every clause carries distinct information about a different job mode, so nothing is strictly wasted. But the delivery is a dense semicolon-chained wall mixing status interpretation, ID preservation advice, and sibling routing, which makes it harder to scan than a mode-segmented structure would be.

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?

An output schema exists, so return-value explanation is not required, and the description instead supplies the interpretive layer the schema cannot encode: what ready means per mode, what null fields signal, and how failure states surface. For a single-parameter read tool this is close to complete, with only the jobId source being unspecified.

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?

Single required jobId with 100% schema description coverage, so the schema carries the burden and the baseline of 3 applies. The description adds no format, provenance, or sourcing hint for jobId (e.g., where to obtain one), so it neither compensates nor detracts.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb+resource pair ("Read exact durable template preparation status"), which tells an agent this is a status-read for a template job rather than the template itself. It implicitly distances itself from polling siblings via "durable", but never names get_template or wait_job, so the sibling boundary is inferred rather than stated.

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?

Gives conditional interpretation rules keyed to mode (library-import/export vs. ordinary instantiation) and one explicit routing instruction to get_template_package_download for URL refresh. However, it never says when to call this versus wait_job or get_template, nor what preconditions produce a valid jobId, so the primary use decision is left implicit.

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.