Skip to main content
Glama

flexsim_set_node_value

Set a value in a FlexSim tree node by path to update model parameters, variables, or properties during simulation automation.

Instructions

Set value in a FlexSim tree node (needs the bridge).

Args:
    node_path: Path to node
    value: New value to set

Example:
    node_path="Model/Processor1/variables/processtime"
    value=5.0

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It discloses one prerequisite (bridge required) but says nothing about whether the model must be loaded/running, whether the write persists or is reversible, or what happens on an invalid path. Thin 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.

Conciseness4/5

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

Front-loads the operation, then lists the two args and a concrete example with no filler. Slightly over-structured for a two-parameter setter, but nothing is wasted.

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?

An output schema exists, so return values needn't be explained, and the example covers the path format. However, for an unannotated mutation tool it omits error behavior, persistence, and state prerequisites beyond 'needs the bridge'.

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 does: both node_path and value are explained, and the example shows the expected path syntax ('Model/Processor1/variables/processtime') and a numeric value, which the schema's untyped anyOf does not convey.

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+resource: set a value in a FlexSim tree node. The get/set pairing with the sibling flexsim_get_node_value is inferable, but the description never names alternatives, so differentiation relies on the agent reading the name.

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

Usage Guidelines2/5

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

The parenthetical '(needs the bridge)' hints at a prerequisite but never states when to use this versus flexsim_set_parameter, flexsim_execute_script, or flexsim_table_write. No when-not conditions or alternatives are given.

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