Skip to main content
Glama
Tetragon
by wckdboy

place_family_instances

Place one or more family instances in a revision-checked batch, validating host fit and overlaps before saving so invalid placements are rejected together.

Instructions

Place one or more instances of a family in one revision-checked batch. Each instance gives id, storey and placement, plus any instance overrides. A window or door gives host and exactly one of offset_mm (left edge from the wall start), centre_mm (its centre from the wall start) or at ([x, y] on the wall, projected onto its centre line); sill_mm is from the wall base. Instances of a custom family record its current revision. Existing IDs need replace=true. The whole batch is validated (host fit, overlaps) or nothing is saved.

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>",
      "expected_revision": "<expected_revision>",
      "family_id": "<family_id>",
      "instances": "<instances>"
    },
    "name": "place_family_instances"
  }
}

Input Schema

NameRequiredDescriptionDefault
replaceNo
family_idYes
instancesYes
project_idYes
expected_revisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the revision-checked semantics, the replace requirement for existing IDs, and the all-or-nothing atomicity ('The whole batch is validated... or nothing is saved'). Validation scope (host fit, overlaps) is also named. It omits permission/model-write implications and what the call returns, which keeps it short of 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?

Dense but front-loaded: batch purpose first, then per-instance structure, then the placement alternatives, then the replace/revision rules. Every sentence carries information, though the window/door clause is a long embedded parenthetical that costs some readability.

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 5-parameter mutation tool with no annotations, no output schema, and an untyped instance array, the description is substantively complete: it defines the nested instance payload, the exclusive placement options, and the validation/replace behavior. It stops short of covering error conditions or what is persisted/returned on success.

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 0%, so the description must compensate, and it largely does: it explains what each instance entry contains (id, storey, placement, overrides) and precisely defines the window/door alternatives — exactly one of offset_mm, centre_mm, or at — plus sill_mm and host. The semantics of replace and expected_revision are covered indirectly. project_id and family_id are left to obvious naming, a minor gap.

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 verb and resource: 'Place one or more instances of a family in one revision-checked batch.' This clearly distinguishes placement from creation/linking siblings in spirit, though it never names an alternative tool, so the differentiation is inferential rather than explicit.

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

Usage Guidelines3/5

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

Gives operational conditions — existing IDs require replace=true, custom families require current revision, and the batch is validated before saving. However, there is no explicit guidance on when to use this versus instantiate_family or update_family_instances, so the agent must infer routing from the description's constraints.

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