Skip to main content
Glama

preview_estimate_template

Read-onlyIdempotent

Preview the markups and default lines an estimate template would add or change on a project's built estimate without modifying it, so you can confirm the impact before applying.

Instructions

Show what applying an ESTIMATE template would change on this project's estimate — the markups it would set and the default lines it would add — WITHOUT changing anything. Always run this and tell the person in plain words what will change before apply_estimate_template. Needs a built estimate (the takeoff read first). template_id defaults to the project's chosen estimate template.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project_id": "<project_id>"
    },
    "name": "preview_estimate_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesThe project to work on (list_projects names them).
template_idNoestimate template id from list_library

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.23

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered; the description still adds value by specifying what the preview reveals (markups it would set, default lines it would add) and the dependency on an already-built estimate. It stops short of describing output shape, size, or behavior when no template is resolved, which keeps it below a 5.

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?

Front-loads the non-mutating preview framing and the commit tool it precedes; each sentence carries a distinct constraint (no changes, prerequisite, default). Slightly dense with em-dashes and parenthetical asides, but nothing is redundant enough to cut.

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?

With no output schema, the description takes on the job of saying what a preview returns (markups and default lines), and it does so, plus the prerequisite and the default for the optional parameter. For a two-parameter read-only preview tool this covers everything an agent needs to call it correctly.

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 100%, so the baseline is 3, but the description earns extra credit by disclosing that template_id defaults to the project's chosen estimate template — a default the schema does not state. It also ties project_id to a requirement (must have a built estimate) that the schema does not mention.

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 concrete verb and resource ('Show what applying an ESTIMATE template would change on this project's estimate') plus the exact scope of the diff (markups set, default lines added). The ALL-CAPS 'WITHOUT changing anything' immediately separates it from the named sibling apply_estimate_template, so an agent can distinguish preview from commit without opening either 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?

Gives an explicit directive ('Always run this ... before apply_estimate_template'), names the alternative by name, and states the precondition ('Needs a built estimate (the takeoff read first)'). It also tells the agent what to do with the result — explain the changes in plain words — which is real usage guidance, not filler.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools