Skip to main content
Glama

query_connections

Read-onlyIdempotent

List a draft's logic/electric nodes, pipe surfaces, existing wires and routes with link IDs, and revision before editing or assembly; read-only, paged by component.

Instructions

List a draft's connection points and links: each component's logic and electric node indices and its pipe/transmission surface indices, existing wires and routes with stable link ids, and the draft revision. Call it before edit_connections, route_connections or apply_vehicle_assembly. Wire endpoints are {part_id,port}; pipe endpoints are {part_id,surface_index}. Coordinates are uncentred integer blocks. Read-only, paged by component; query_parts lists geometry instead.

Input Schema

NameRequiredDescriptionDefault
limitNoComponents per page, 1-200.
designYesStored draft name (from import_vehicle, create_land_vehicle, store_design or save_hull; see list_designs).
offsetNoRows to skip, for paging; use next_offset from the previous page.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.2.0
    • addedInput schema / properties / design / description
      Added value: +"Stored draft name (from import_vehicle, create_land_vehicle, store_design or save_hull; see list_designs)."
    • addedInput schema / properties / limit / description
      Added value: +"Components per page, 1-200."
    • addedInput schema / properties / limit / maximum
      Added value: +200
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • addedInput schema / properties / offset / description
      Added value: +"Rows to skip, for paging; use next_offset from the previous page."
    • addedInput schema / properties / offset / minimum
      Added value: +0
  2. Addedv0.1.1

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, so the safety bar is met elsewhere. The description adds real context beyond that: results are paged by component, link ids are stable, coordinates are uncentred integer blocks, and endpoints take the forms {part_id,port} and {part_id,surface_index}. Not quite a 5 because pagination mechanics partially repeat the schema's limit/offset docs.

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?

Three sentences, front-loaded with the returned content, then prerequisites, then endpoint formats and the sibling contrast. No filler, no redundancy, every clause carries information.

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

Completeness5/5

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

An output schema exists, so return shape needn't be restated, and annotations cover the safety profile. What remains – ordering relative to mutating tools, endpoint notation, coordinate convention, paging unit, and the geometry alternative – is all present, leaving nothing an agent needs before calling.

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 description coverage is 100%, including limit, offset and design, so the baseline is 3. The description adds no parameter-level detail beyond what the schema already documents (its 'draft' phrasing is implied by the design param).

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?

States a specific verb and resource ('List a draft's connection points and links') and enumerates exactly what is returned: node indices, surface indices, wires with stable link ids, draft revision. It explicitly contrasts with query_parts ('lists geometry instead'), so an agent can distinguish it from the sibling without opening schemas.

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

Usage Guidelines5/5

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

Gives an explicit ordering rule: call before edit_connections, route_connections or apply_vehicle_assembly. It also names the alternative for geometry data (query_parts), so both the 'when' and the 'instead of' are covered.

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