Skip to main content
Glama

Portravo Construction Takeoff

Extract a construction plan takeoff

run_takeoff
Idempotent

Start a takeoff for an owned project with a plan attached through attach_plan_pdf or uploaded by the user on the project page. Run preflight_takeoff first and obtain the user's approval of the selected trades and credit cost. Set confirmed_trades and max_credits to that approved selection and ceiling; the default ceiling is one credit. Each trade uses one credit from existing plan allowance and purchased credits; the whole job uses three. Published pay-as-you-go prices are $75 per trade and $149 for the whole job. The tool does not purchase credits or bill overage and refuses changed selections or costs. If the balance is insufficient, no takeoff or charge occurs; a no_balance response may include payment.url for the user to complete payment in their Portravo account. Payment is completed by the user on that page, with any required email verification and agreement, and starts the selected project takeoff. Reusing an idempotency_key does not charge twice. Use get_takeoff_status for progress and get_takeoff for source-linked human review. The result is not bid-ready; failed provider runs refund the reservation and existing review work is not overwritten.

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>",
      "confirm_credit_use": "<confirm_credit_use>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "run_takeoff"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes
max_creditsNo
idempotency_keyYes
confirmed_tradesNo
confirm_credit_useYes

Output Schema

NameRequiredDescriptionDefault
okYes
linesYes
sheetsYes
scopeNotesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / confirmed_trades
      Added value: +{
      +  "items": {
      +    "enum": [
      +      "electrical",
      +      "framing",
      +      "mechanical",
      +      "plumbing",
      +      "landscape",
      +      "painting",
      +      "concrete",
      +      "roofing",
      +      "drywall",
      +      "whole_job"
      +    ],
      +    "type": "string"
      +  },
      +  "maxItems": 9,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • addedInput schema / properties / max_credits
      Added value: +{
      +  "maximum": 3,
      +  "minimum": 0,
      +  "type": "integer"
      +}
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations it discloses cost mechanics (one credit per trade, three for the whole job, published prices), that it does not purchase credits or bill overage, the no_balance response with payment.url and email-verification flow, and that failed provider runs refund the reservation without overwriting existing review work. The idempotency_key claim adds consequence ('does not charge twice') rather than merely restating idempotentHint. It also warns the output is not bid-ready.

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-loaded with the action and prerequisite, and each subsequent sentence covers a distinct concern (cost, failure modes, payment, idempotency, follow-up tools). Some sentences are run-on and the credit/pricing figures are stated twice in different forms (credits vs. dollars), which adds density but no real waste.

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 costly, state-changing, open-world operation this covers preconditions, approval gating, cost, insufficient-balance behavior, idempotency, refund semantics, and the correct follow-up tools. An output schema exists, so return values need not be enumerated, and the one field worth surfacing (payment.url on no_balance) is mentioned anyway.

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?

With 0% schema description coverage the description must carry parameter meaning, and it does for most: confirmed_trades must equal the approved selection, max_credits is the approved ceiling (default one credit, whole job three), project_id must be an owned project with an attached plan, and idempotency_key prevents double charging. Only confirm_credit_use is left implicit via the approval requirement rather than explicitly defined as a hard true constant.

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 with preconditions: 'Start a takeoff for an owned project with a plan attached through attach_plan_pdf or uploaded by the user.' It also routes the agent to sibling tools by name (preflight_takeoff for approval, get_takeoff_status for progress, get_takeoff for review), so the action is distinguishable without opening other schemas.

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 ordering is given: run preflight_takeoff first and obtain user approval of trades and credit cost, then set confirmed_trades and max_credits to that approved selection. It also states the tool's refusal conditions (changed selections or costs), when a charge does not occur, and which sibling to use for progress vs. human review.

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