Skip to main content
Glama
flexsim-console-mcp

flexsim-console-mcp

by 764liang

flexsim_set_number

Sets a numeric variable on a FlexSim object for model configuration. Use it to inject parameter values into headless simulations through the FlexSim console MCP server.

Instructions

设置对象数值变量(setvarnum,存档层)。

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": {
      "object": "<object>",
      "variable": "<variable>",
      "value": "<value>"
    },
    "name": "flexsim_set_number"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYes
objectYes
variableYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.1/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it discloses nothing: not whether the change is persisted immediately, whether it requires a running model, whether it is reversible, nor what errors occur for an invalid object or variable. The only behavioral hint, "存档层", is undefined jargon.

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?

It is short, but conciseness does not excuse under-specification: a single sentence occupies the entire definition, and the parenthetical appends an obscure term that consumes space without conveying meaning. Nothing is front-loaded beyond a bare label.

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

Completeness2/5

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

For a three-required-parameter mutation tool with no annotations, no output schema, and no parameter documentation, the definition is far from complete. An agent could not reliably determine preconditions, variable addressing, or the effect of the call from this text alone.

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% for all three required parameters, and the description only loosely maps to two of them (an object, a numeric variable). It says nothing about the semantics of "variable" (name string vs. index), nothing about "value" units or range, and nothing about how "object" is referenced.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies a verb plus resource ("设置对象数值变量" — set an object's numeric variable) and names the underlying FlexSim command "setvarnum", which distinguishes it from siblings like flexsim_set_name and flexsim_set_variable_code. However, the trailing "存档层" (save/archive layer) is cryptic and the description never says which numeric variables are addressable or how they are identified, so the purpose lands as vague rather than precise.

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?

No when-to-use guidance, no prerequisites (e.g., whether a session must exist or be connected), and no comparison against alternatives such as flexsim_set_variable_code or flexsim_set_name. The agent must infer entirely from the name and the sibling list when this tool is appropriate.

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