Skip to main content
Glama

flexsim_add_conveyor_leg

Add a straight conveyor leg to a FlexSim model, set its position and length, and connect source/destination flow objects for layout testing.

Instructions

Add one Conveyor::StraightConveyor leg (window backend only).

Creates Conveyor::StraightConveyor, setLocation, tries o.size.x = length
and reads it back. NOTE (verificado con screenshots 2026-09-27): o.size
se GUARDA pero la geometría visual del StraightConveyor queda en ~10 m
(Conveyor.length es readonly); verificar siempre con screenshot y dejar
hueco de ~12 m en el layout. With from_object/to_object, builds the
transfer chain (verificado en vivo): contextdragconnection "A" (crea
Entry/ExitTransfer) + borrado selectivo de directos por puerto +
objectconnect de los stubs. Solo objectconnect deja belt.in en 0.

AUTO-LAYOUT (respuesta a "¿a ojo?"): si x/y/length se omiten (None) y
from_object+to_object están dados, la posición sale de los extremos
(punto medio) y length = dist-1 (mín 2). El flujo (puertos) es 100%
lógico y verificado; lo visual se calcula, no se estima.

Verification walks the outObjects chain (BFS, up to 4 hops) because conveyors
interpose EntryTransfer*/ExitTransfer* objects: a working leg reports e.g.
SrcT>EntryTransfer1>BeltT.

Args:
    name: base name (default Belt; auto Belt1/Belt2... when taken).
    length: metres (default 10; None = auto dist-1). Se guarda en o.size
        pero el visual puede quedar en 10 m: verificar con screenshot.
    x, y, z: position of the new belt (None = punto medio, z = promedio).
    from_object: optional flow origin (from_object -> belt).
    to_object: optional flow destination (belt -> to_object).

Limits: visual length fixed ~10 m (readonly); cuando FlexSim ignora el
    write se reporta igual (leído de vuelta).

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": {
      "params": "<params>"
    },
    "name": "flexsim_add_conveyor_leg"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/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 so well: it discloses that o.size is written but the visual geometry stays ~10 m because Conveyor.length is readonly, that objectconnect alone leaves belt.in at 0, that the transfer chain uses contextdragconnection plus selective port deletion, and how verification walks the outObjects chain via EntryTransfer/ExitTransfer. These are genuine side effects and limitations an agent could not infer. It is docked a point for being noisy and self-repeating rather than a clean behavioral contract.

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

Conciseness2/5

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

The text is long, mixes English and Spanish mid-sentence, and repeats the same ~10 m visual-length caveat three separate times. The critical constraint is buried rather than front-loaded, and parenthetical verification notes ('verificado con screenshots 2026-09-27') add bulk without helping an agent call the tool.

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 mutation tool with no annotations, the definition covers what is created, the flow-wiring behavior, the auto-layout rule, and the known limitation. An output schema exists, so return values need not be explained. What is missing is permission/authorization context and a clear statement of prerequisites for the referenced from_object/to_object nodes.

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 description coverage is 0%, so the description must compensate, and it largely does: name, length, x, y, z, from_object and to_object are each given meaning, defaults, and the auto-layout derivation (midpoint position, length = dist-1, min 2). It adds real semantics beyond the bare JSON types. It stops short of a 5 because the prose is tangled and the ~10 m caveat is repeated instead of stated once.

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 opening line states a specific verb+resource: 'Add one Conveyor::StraightConveyor leg (window backend only)'. It also clarifies that with from_object/to_object it additionally builds a transfer chain, which is a second responsibility made explicit. It does not, however, differentiate itself from likely-overlapping siblings like flexsim_create_objects or flexsim_connect_objects.

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 useful conditional guidance (auto-layout applies only when x/y/length are None and from_object+to_object are supplied) and flags 'window backend only'. But it never states when to reach for this tool versus flexsim_create_objects or flexsim_connect_objects, so the routing decision is left to inference.

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

Deploy Server

Other Tools