Skip to main content
Glama

Preview a build without writing

preview_build
Read-only

Simulate the identical build payload without any persistent writes. Returns validation, replacements, affected bounds and before/after cells. Not a reservation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
opsYes
builderNo
request_idNoCaller-generated canonical lowercase UUIDv4. Retained for 24 hours; unknown/expired is not proof of non-commit.
protect_existingNoAtomically reject accepted edits to cells occupied before the batch; preview is only a KV estimate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / protect_existing
      Added value: +{
      +  "default": false,
      +  "description": "Atomically reject accepted edits to cells occupied before the batch; preview is only a KV estimate.",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / request_id
      Added value: +{
      +  "description": "Caller-generated canonical lowercase UUIDv4. Retained for 24 hours; unknown/expired is not proof of non-commit.",
      +  "maxLength": 36,
      +  "minLength": 36,
      +  "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
      +  "type": "string"
      +}
  3. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description is consistent with that, adding that no writes persist and enumerating the return content (validation, replacements, bounds, before/after cells). It also clarifies the semantic boundary ('Not a reservation'), which annotations cannot express.

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 short sentences, front-loaded with the core action and each subsequent sentence earning its place by covering behavior, return values, and a key distinction. No filler.

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?

With no output schema, the description usefully enumerates what it returns and confirms no persistence, which is what an agent needs to know for a dry-run tool. Minor gap: it doesn't clarify limits like the maxItems=512 batch size or how 'ops' maps to the payload.

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?

Schema coverage is 50%: request_id and protect_existing are documented in-schema, but 'ops' and 'builder' are undocumented anywhere. The description's 'identical build payload' implies the ops shape but adds no syntax or format detail to compensate for the gap.

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 and resource ('Simulate the identical build payload') with a clear scope qualifier ('without any persistent writes'). This cleanly distinguishes it from the sibling 'build' tool and from a reservation.

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?

The phrase 'without any persistent writes' and 'Not a reservation' establish when this is appropriate (dry-run validation before a real build) and rule out one misinterpretation. It stops short of explicitly naming 'build' as the alternative to call afterward, but the context is clear.

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.