Skip to main content
Glama

export_estimate

Exports a priced construction estimate to an Excel workbook with Estimate, Materials, and Unpriced tabs, keeping unentered rates blank so priced and unpriced totals stay clear.

Instructions

Write the priced estimate as an Excel workbook — the canvas Estimate panel's Excel button: an Estimate tab (every line, then material, labor, tax, overhead, profit, base bid), a Materials tab (each supply's packages, price, cost) and, when anything is unentered, an Unpriced tab. Values only; an unentered rate is an empty cell, never 0. Every tab ends with "Prepared with OpenTakeoff". Default path: next to the loaded plan as " - estimate.xlsx". The reply repeats complete and unpriced — tell the user when the total is only priced so far.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "export_estimate"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoWhere to write the .xlsx (default: "<plan dir>/<project or plan> - estimate.xlsx")
overwriteNoReplace the file at path even when it is not an OpenTakeoff export. Off by default: re-exporting over a previous export of your own already overwrites without this, so you only need it to deliberately destroy an unrelated file.
company_nameNoPrepared-by line
project_nameNoProject name on each tab (default: the plan file's name)

Output Schema

NameRequiredDescriptionDefault
pathYes
tabsYes
totalYes
completeYes
unpricedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.1.31
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedOutput schema / properties / unpriced / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / unpriced / items / properties / unit
      Added value: +{
      +  "description": "Which of the condition's lines is unpriced",
      +  "enum": [
      +    "SF",
      +    "SY",
      +    "LF",
      +    "EA"
      +  ],
      +  "type": "string"
      +}
  2. Addedv0.1.29

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does well: it explains tab structure, values-only cells, empty cells for unentered rates rather than zero, conditional Unpriced tab creation, and that the reply signals complete versus unpriced totals. It does not discuss failure modes, permissions, or overwrite safety at the description level, though overwrite behavior is covered in the schema.

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?

The description is dense but front-loaded around the output workbook and tab structure. Every sentence contributes useful detail, though the long parenthetical-style clauses make it slightly harder to scan than a shorter definition would be.

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?

Given an output schema and full schema coverage, the description provides the remaining behavioral context an agent needs: workbook contents, empty-cell convention, default output location, and how to interpret the reply's priced versus unpriced status. Nothing essential for correct invocation appears missing.

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 description coverage is 100%, so the schema already documents all four parameters, including default path and overwrite semantics. The description reinforces the default path pattern and prepared-by/project naming context but adds little parameter meaning beyond the schema.

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?

The description states a specific verb and resource: writing the priced estimate as an Excel workbook. It distinguishes the output by enumerating the Estimate, Materials, and conditional Unpriced tabs, making it clearly different from siblings such as export_takeoff, export_report, and export_dxf.

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?

It identifies the equivalent UI action (the canvas Estimate panel's Excel button) and default path, giving clear context for when to use this export. It does not explicitly name when to prefer export_report or another sibling instead, but the priced-estimate-to-workbook framing is sufficiently specific.

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