Skip to main content
Glama

Craft Quantities: construction material calculators

Group a materials list by MasterFormat division

classify_items
Read-onlyIdempotent

Groups a materials list, bill of materials, takeoff, plan or project (lines, calculator slugs or a project state token) by CSI MasterFormat 2018 division, by the site's own keyword rule over each line's calculator or words. A suggested grouping, not a specification; no Uniclass or NRM grouping is given. No prices.

Input Schema

NameRequiredDescriptionDefault
linesNoLines of a takeoff, plan, house, drawing or bill: each a label, and the calculator slug where known.
tokenNoA project state token: its lines are grouped.
detailNofull (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read.full
calculatorsNoCalculator slugs or permanent ids.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds genuinely non-obvious context: the grouping comes from 'the site's own keyword rule over each line's calculator or words,' and the result is advisory rather than authoritative. It does not discuss failure modes or rate limits, which keeps it out of the top band.

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?

Two sentences, front-loaded with the verb and the standard, and the trailing disclaimers ('not a specification,' 'no Uniclass or NRM,' 'no prices') each carry real information. The first sentence's stacked parentheticals are dense enough to slow reading slightly, so not a 5.

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?

An output schema exists, so return values need no explanation, and the description covers inputs, the classification mechanism, and the tool's limits. What remains implicit is how the three input modes interact if more than one is supplied and what an empty or unclassifiable line yields.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning the schema does not state outright: that `lines`, `calculators`, and `token` are alternative ways of supplying the same material set. It does not explain the `detail` enum beyond what the schema already says.

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 (groups) applied to a specific resource (materials list / bill / takeoff / plan / project) and names the classification standard (CSI MasterFormat 2018). It also enumerates the accepted input forms (lines, calculator slugs, project state token), which no sibling tool does, so an agent can distinguish it immediately.

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?

Explicitly frames the output as 'a suggested grouping, not a specification' and rules out Uniclass or NRM grouping and prices, which tells the agent when this tool is and is not the right fit. It stops short of naming an alternative tool for those excluded standards, so routing guidance is incomplete but clearly present.

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