Skip to main content
Glama

flexsim_get_parameter

Read a named model parameter from FlexSim Parameter Tables to retrieve its value for simulation scripts and automation.

Instructions

Read a model parameter defined in the model's Parameter Tables.

Dual backend: with the FlexSim window connected reads
Model.parameters.<name> by script; without window uses
controller.getParameter. A missing window parameter is an error
(create it with flexsim_ensure_parameter, this tool never creates).

Args:
    name: Parameter name as defined in the model

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

A4.1/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 well: it discloses the dual backend (FlexSim window vs controller.getParameter), the failure mode for missing parameters, and the non-creating guarantee. It does not mention permissions or any side effects, but for a read operation this is solid disclosure.

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 purpose, then backend behavior, then the arg. The description is appropriately short, though the hard line breaks and the redundant 'Args:' block add minor noise.

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?

An output schema exists, so return-value details are not needed. The description covers the backend duality, the error case, and the create-vs-read boundary; only permission/context nuance is missing.

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 coverage is 0% and the schema only declares a minLength-1 string, so the description must compensate. It clarifies that 'name' refers to a parameter as defined in the model's Parameter Tables, which is useful but minimal for a single low-complexity parameter.

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 (Read) and resource (a model parameter defined in the model's Parameter Tables), which distinguishes it cleanly from flexsim_set_parameter and flexsim_ensure_parameter. An agent can identify it without opening the schema.

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?

Explicitly routes the agent: a missing window parameter is an error and should be created with flexsim_ensure_parameter, which also clarifies this tool never creates. It gives clear context but no explicit 'do not use this when...' exclusions.

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