Skip to main content
Glama

Read a take-off with its prices

get_takeoff
Read-onlyIdempotent

One take-off: its rooms (and which were read from a plan by AI), every trade’s quantities, and the lines priced from the business’s OWN price book. WARNING: unpriced items have NO price — never invent one; tell the user to add it under Take-off → Prices. To quote it, pass priced_lines as the lines of create_estimate.

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": {
      "takeoff_id": "<takeoff_id>"
    },
    "name": "get_takeoff"
  }
}

Input Schema

NameRequiredDescriptionDefault
takeoff_idYesFrom `list_takeoffs`.

Output Schema

NameRequiredDescriptionDefault
noteNoWhy the result was truncated, when it was.
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
total_availableNoHow many rows existed before truncation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered; the description earns credit for adding context beyond that. The 'WARNING: `unpriced` items have NO price — never invent one; tell the user to add it under Take-off → Prices' is a genuine behavioral guardrail against hallucinated prices, and 'OWN price book' scopes the data source. It does not describe failure behavior (e.g. an unknown takeoff_id) or any access requirements, which keeps it off 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?

Three short sentences, front-loaded with what the tool returns, then the pitfall, then the next-step contract — each sentence earns its place. The telegraphic opening fragment 'One take-off:' is slightly clipped but unambiguous, and nothing is padded.

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?

For a one-parameter read tool with full annotations and a declared output schema, the description need not explain return values, yet it still flags the one trap that matters (unpriced items) and the downstream handoff to `create_estimate`. The only gap is unaddressed error/not-found behavior for an invalid `takeoff_id`, which is minor for a read operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With a single parameter at 100% schema description coverage that already says 'From `list_takeoffs`', the baseline is high and no compensation is needed. The description avoids redundantly restating the parameter and instead spends its words on the meaning of the returned fields (`priced_lines`, `unpriced`), which is where an agent actually needs help.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening names a specific resource and enumerates exactly what is returned: rooms (with an AI-read-from-plan flag), per-trade quantities, and lines priced from the business's own price book. That is far more specific than a name restatement. It stops short of a 5 because it never distinguishes itself from the similarly-named sibling `takeoff_quantities`, so an agent must infer the difference from the phrase 'quantities' alone.

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?

Forward guidance is explicit and actionable: to quote the take-off, pass `priced_lines` as the `lines` of `create_estimate`, which removes any doubt about the next step in the workflow. It also gives handling instructions for the `unpriced` case. There is no statement of when NOT to use this instead of a sibling (e.g. when only quantities are wanted), so it falls short of full when/when-not coverage.

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