Skip to main content
Glama

Preview Saved Version

preview_saved_version
Read-onlyIdempotent

Prepare an isolated read-only Saved Version preview, if enabled by the deployment. Returns compiled files for an offline sandbox, never restores files or reads live records. Never execute the returned program with host credentials. Requires app access and versions:read.

Input Schema

NameRequiredDescriptionDefault
app_idYes
snapshot_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Substantially exceeds the annotations (readOnly, idempotent, non-destructive, closed-world) by disclosing the feature-flag gate, the return artifact ('compiled files for an offline sandbox'), the non-restore/non-live-read guarantee, a required scope, and an explicit security constraint against executing returned programs with host credentials. This is exactly the behavioral context annotations cannot carry.

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 sentences, front-loaded with purpose then behavior, warning, and prerequisites. Dense but each sentence carries distinct information; the security warning 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?

No output schema exists, and the description still sketches the return shape ('compiled files for an offline sandbox') along with permissions and conditional availability, making it callable without guesswork. The only real gap is the undocumented parameters.

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

Parameters2/5

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

Schema description coverage is 0% and the description never mentions app_id or snapshot_id, so neither parameter's meaning, format, or provenance is explained anywhere. The names are somewhat self-evident, but the description adds no semantics beyond the bare schema types.

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?

Names a specific verb ('Prepare') and resource ('isolated read-only Saved Version preview') and explicitly delimits what it is not ('never restores files or reads live records'), which separates it from the sibling restore_file_from_version. An agent can select it without opening the schema.

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?

Provides prerequisites ('Requires app access and versions:read') and a conditional availability gate ('if enabled by the deployment'), which is useful context. However, it never names or contrasts with the closest alternatives (compare_saved_versions, inspect_preview, get_preview_url), so when-to-use-vs-what is left to inference.

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