Skip to main content
Glama

family_metrics

Computes reference family measurements—floor count, top level, rotation, areas, and scale—with optional overrides so Grasshopper results can be verified against an oracle.

Instructions

Pure-Python numbers for a family with optional knob overrides: floor count, top level, top rotation, areas, top scale. These are the oracle the Grasshopper result must match.

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": {
      "path": "<path>"
    },
    "name": "family_metrics"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
overridesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. 'Pure-Python' is a genuine disclosure (no GH/geometry kernel needed, presumably deterministic and side-effect free), but it does not state whether the tool reads a file from disk or only computes from the path string, whether results are cached, what errors occur on a missing file, or what the return payload looks like. For a tool with a filesystem-looking 'path' parameter this leaves key behavior unstated.

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 tight sentences with the metric list front-loaded and the oracle/matching constraint last; nothing is padded or repetitive. It could be marginally improved by turning the noun phrase into an explicit verb, but the density is appropriate.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given two parameters, one of them an entirely undocumented nested object, and no output schema, the description should define the return shape (the description says 'numbers' but not keys, units, or structure) and the path semantics. It supplies the conceptual model (pure-Python oracle to compare against Grasshopper) but not the invocation-level detail needed for confident first-call use.

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

Parameters2/5

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

Schema coverage is 0% and the nested 'overrides' object has no property documentation, so the description must compensate. It partially does so by explaining that overrides are optional 'knobs' and by enumerating the metric names that likely correspond to those knob keys, but it never explains what 'path' points to (family file? JSON definition?) and never gives an override value format or example. The gap on the required parameter is the more serious omission.

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

Purpose3/5

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

The description names the resource (a family) and enumerates the quantities produced (floor count, top level, top rotation, areas, top scale), which is specific enough to distinguish it from check/compile/variant siblings. However, there is no explicit verb ('computes' is only implied) and terms like 'knob overrides' and 'family' are domain jargon that a fresh agent must infer. The purpose lands as 'reference metrics calculator' only after reading the whole sentence.

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?

No statement of when to call this versus family_check, family_compile, or gh_result; the only relational hint is the phrase 'the oracle the Grasshopper result must match,' which implies pairing with gh_result but never says so explicitly. There are no prerequisites, no ordering guidance (should it run before solving GH?), and no exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.