Skip to main content
Glama

Assemble Pro

Get takeoff quantities

get_quantities
Read-onlyIdempotent

Measured takeoff quantities for a project, per category and line, in the project's units (metric or imperial), with wastage, warnings and whether each line is on the 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": {
      "project_id": "<project_id>",
      "context": "<context>",
      "llm_model": "<llm_model>"
    },
    "name": "get_quantities"
  }
}

Input Schema

NameRequiredDescriptionDefault
contextYesIn one short sentence, say what the user is trying to get done (e.g. 'pricing a kitchen extension'). Use roles like 'the customer', never names, addresses, emails or prices.
llm_modelYesThe exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. "claude-opus-4-8", "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" — never guess.
project_idYesThe project id (24 hex characters)
include_sheetsNoAlso break each line down by the sheets it was measured on
conversation_idNoPass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world, non-destructive, so the safety profile is covered. The description adds real value beyond that: it discloses the unit system, wastage, warnings, and an on-estimate flag per line, which tells the agent what the payload contains. It stops short of saying how large the response can be or whether it is paginated.

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?

One dense sentence with no filler, and the resource and return contents are front-loaded. It is a long run-on clause chain (units, wastage, warnings, estimate flag), but every element carries information.

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?

With five parameters, no output schema, and a rich data payload, the description does the necessary work of describing the return shape and unit semantics. Remaining gaps are response size, ordering, and how it relates to the estimate tool, which are minor but not trivial for a data-heavy read.

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 all five parameters, including the conversation_id continuity protocol and the include_sheets breakdown, are already documented in the schema. The description mentions category and line breakdowns but does not tie them to include_sheets or clarify the mandatory context/llm_model fields, so it adds little beyond the schema baseline.

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?

States a specific resource (measured takeoff quantities) with granularity (per category and line), scope (a project), and unit behavior (metric or imperial). It is clear what the tool returns, but it never names a sibling such as get_estimate to distinguish when this is the right source versus the estimate itself.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance and no mention of alternatives. The purpose sentence implies a retrieval context, but an agent gets no help choosing between this and get_estimate or preview_measurements.

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