Skip to main content
Glama

Portravo Construction Takeoff

Download a reviewed estimate workbook

export_reviewed_estimate
Read-onlyIdempotent

Get a short-lived Excel XLSX download for an owned Portravo estimate after every takeoff line has been reviewed and the estimate is priced or final. If review is incomplete, the call returns a review_required error with the Portravo review link, where quantities, assembly mappings and pricing are completed. Never exports unreviewed estimates. The Takeoff sheet carries a Line number, the sheet and area, and the region on the sheet for every line (or says no location was recorded). When the plan set can be marked up, markedPlans is a second short-lived link to a PDF of the customer's plans with each located line drawn and numbered like the Takeoff sheet; otherwise markedPlans is null and markedPlansNote says why.

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": "export_reviewed_estimate"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes

Output Schema

NameRequiredDescriptionDefault
filenameYes
mimeTypeYes
expiresAtYes
reviewUrlYes
downloadUrlYes
markedPlansNo
markedPlansNoteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / markedPlans
      Added value: +{
      +  "properties": {
      +    "downloadUrl": {
      +      "type": "string"
      +    },
      +    "expiresAt": {
      +      "type": "string"
      +    },
      +    "filename": {
      +      "type": "string"
      +    },
      +    "mimeType": {
      +      "type": "string"
      +    }
      +  },
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / markedPlansNote
      Added value: +{
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world, but the description adds genuinely new behavior: links are short-lived, failure returns a review_required error with a review URL, and the optional markedPlans link is null with a markedPlansNote explaining why when markup is impossible.

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?

Purpose and preconditions are front-loaded, which is good, but the final two sentences describe return content (Takeoff sheet columns, markedPlans, markedPlansNote) that an output schema already covers, and the long compound sentences reduce scannability.

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?

For a single-parameter read tool with annotations and an output schema, the definition covers preconditions, failure mode, link expiry, and the conditional secondary artifact. An agent has everything needed to call it correctly and interpret a failure.

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?

Only one parameter (project_id) and schema description coverage is 0%, so the description could have compensated but only implies it via 'an owned Portravo estimate.' It conveys the ownership precondition without ever explaining the identifier itself, leaving the schema's pattern/length constraints as the sole guidance.

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: produces a short-lived XLSX download of an owned estimate. It also scopes it to the post-review, priced-or-final state, so an agent can tell it apart from takeoff-status and plan-attachment siblings without opening any 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?

Explicit preconditions are given (every takeoff line reviewed, estimate priced or final) plus an explicit exclusion: 'Never exports unreviewed estimates.' The alternative path is named too — the review_required error carries the Portravo review link where quantities, assembly mappings and pricing get completed.

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