Skip to main content
Glama
Tetragon
by wckdboy

save_family_from_element

Save an element's type as a reusable custom family for every project in the workspace, linking instances later. Placement, joins, identity and evidence stay with the element.

Instructions

Save an existing element's type to the library as a custom family, for reuse in every project of the workspace. Placement (host, offset, sill, origin, path), joins (trims, caps, outlets), identity and evidence stay behind. With extends (a preset or custom family of the same kind) only the values that differ from it are stored. Updating an existing family needs its expected_revision. The project itself is not changed: link the element and its twins with link_family_instances.

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>",
      "element_id": "<element_id>",
      "family_id": "<family_id>",
      "name": "<name>"
    },
    "name": "save_family_from_element"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
tagsNo
extendsNo
family_idYes
element_idYes
project_idYes
descriptionNo
expected_revisionNo

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 burden well: it names what is intentionally left behind (placement, joins, identity, evidence), explains delta storage with extends, and requires expected_revision for updates. It stops short of permissions, error behavior, or return values.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is four dense sentences with the core operation front-loaded and no filler. Each sentence contributes distinct scope, exclusion, or workflow information.

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?

For a mutation tool with no annotations and no output schema, the behavioral disclosure is strong, but the lack of parameter semantics and any return-value indication leaves the agent under-equipped to call it correctly with all eight inputs.

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% across 8 parameters, but the description only explains extends and expected_revision. It adds no meaning for family_id, element_id, project_id, name, tags, or description, leaving most inputs undocumented in both schema and prose.

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?

The description states a specific verb and resource: saving an existing element's type as a custom family for workspace-wide reuse. It distinguishes this from link_family_instances explicitly and from generic family saving through the 'from element' framing.

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?

It gives some workflow context by stating the project is not changed and directing linking to link_family_instances. However, it does not say when to use this versus save_family, nor when saving a family from an element is inappropriate.

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