Skip to main content
Glama
flexsim-console-mcp

flexsim-console-mcp

by 764liang

flexsim_new_session

Start a FlexSim console session with a specified .fsm model, reusing an active session if present. Use it to prepare headless simulation runs for scripting, parameter injection, and stepping.

Instructions

启动 FlexSim 控制台会话(加载模型)。已存在则复用。model:模型 .fsm 路径(或环境变量 FLEXSIM_MODEL)。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "flexsim_new_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It usefully discloses that the session loads a model and that an existing session is reused (idempotent behavior), but it does not say what happens if a session already exists with a different model, whether the model is reloaded, or what failures look like.

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?

Three short clauses, front-loaded with the action and side effect, with no filler. It is slightly telegraphic: the reuse rule and the environment-variable fallback could be clearer, 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?

There are no annotations and no output schema, and there is one optional parameter, so the tool is simple. However, the description leaves open how it interacts with flexsim_connect and what it returns or does on error. It is adequate but not fully complete for a session-lifecycle tool.

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 coverage is 0%, so the description must explain the single parameter. It does: model is the .fsm file path and falls back to the FLEXSIM_MODEL environment variable, which makes the parameter optional and replaces part of the schema documentation.

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 description names a specific verb and resource: start a FlexSim console session and load a model. It also states the reuse behavior for an existing session. It does not explicitly distinguish itself from the sibling flexsim_connect, but the session-plus-model-loading scope is clear.

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?

There is no explicit when-to-use guidance and no exclusion of alternatives such as flexsim_connect or flexsim_close_session. The only usage hint is implicit: a model path is supplied, so the tool loads that model. An agent must guess whether this or flexsim_connect is the right entry point.

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