Skip to main content
Glama
Tetragon
by wckdboy

instantiate_family

Expands a preset or saved family into a building element record using supplied parameters and placement data, then validates and persists it or places instances directly.

Instructions

Expand a preset or saved family into an element record; validate and persist with apply_building_changes, or use place_family_instances to do both. Supply ID, storey, host/offset or path as appropriate. Explicit parameter overrides create variants. A saved family's instance records the family_revision it follows.

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": {
      "family_id": "<family_id>",
      "parameters": "<parameters>"
    },
    "name": "instantiate_family"
  }
}

Input Schema

NameRequiredDescriptionDefault
family_idYes
parametersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It usefully discloses that the result is an unpersisted element record until apply_building_changes runs, and that a saved family's instance records its family_revision, but it says nothing about validation failure behavior, permissions, or whether repeated calls create duplicates.

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?

Four short clauses, each carrying distinct information (purpose, alternatives, inputs, variant behavior, revision tracking). Dense and front-loaded, with minor jargon ("expand") that costs a little clarity but no wasted sentences.

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 two-parameter tool with no annotations and no output schema, the description covers the essential model: what is produced, that persistence is a separate step, which sibling to use, and what goes inside the free-form parameters object. Only failure modes and return shape remain unspecified.

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 coverage is 0% and the parameters object is free-form (additionalProperties: true), so the description does real work by naming the expected keys: storey, host/offset, path, and explicit parameter overrides for variants. It stops short of giving exact key names or required-vs-optional rules, so the compensation is partial rather than complete.

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 description gives a specific verb and resource: "expand a preset or saved family into an element record." It also separates this tool from two siblings by noting that apply_building_changes performs validation/persistence and place_family_instances does both, so an agent can place it in the workflow 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 Guidelines4/5

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

"validate and persist with apply_building_changes, or use place_family_instances to do both" tells the agent what the alternatives are and implies this tool is the record-only step. "Supply ID, storey, host/offset or path as appropriate" gives conditional guidance on inputs, though it never states explicitly when this tool should be chosen over the combined path.

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