Skip to main content
Glama
Tetragon
by wckdboy

update_family_instances

Move a custom family’s instances in a project to its current revision while preserving overrides and placement; use dry_run to preview changes before saving.

Instructions

Move a custom family's instances in a project to its current revision. A type value still equal to the instance's old revision follows the family; a value that differs is an override and stays. Placement and joins never change. dry_run reports what would change without saving. Instances without a recorded revision are reported as unlinked: link them first.

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>"
    },
    "name": "update_family_instances"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNo
family_idYes
project_idYes
element_idsNo
expected_revisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description does useful work: it discloses exactly what is mutated (type references), what is preserved (placement, joins), that dry_run previews without saving, and that unrevisioned instances surface as 'unlinked'. It stops short of stating permissions required, irreversibility, or what happens when expected_revision does not match, which are material for a mutation tool.

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?

Five short sentences, each carrying a distinct fact, with the core operation stated first and edge-case handling (overrides, dry_run, unlinked) following in a logical order. No filler.

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?

The mutation semantics are well covered for a tool with no annotations and no output schema, but the definition leaves four of five parameters unexplained and says nothing about revision-mismatch behavior or safety profile. Adequate but with clear gaps for a write operation.

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 description coverage is 0%, so the description must carry parameter meaning and it largely does not. Only dry_run is explained; project_id, family_id, element_ids (apparently an optional subset filter) and expected_revision (apparently a concurrency guard) are never clarified.

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 ('Move a custom family's instances ... to its current revision') plus the exact scope (a project, current family revision). It is clearly distinguishable from a pure 'link' operation by the note that unlinked instances must be linked first, though no sibling is named directly.

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?

Gives real when-to-use context: instances whose type value equals the old revision follow the family, differing values are overrides and stay put, placement and joins are untouched. It also gives an explicit pre-condition and alternative ('Instances without a recorded revision ... link them first'). No broader when-not guidance or reference to sibling tools by name.

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