Skip to main content
Glama
flexsim-console-mcp

flexsim-console-mcp

by 764liang

flexsim_get_stat

Reads current FlexSim object statistics—Output, Input, Content, Staytime, or State—to inspect simulation performance during model execution.

Instructions

读对象统计当前值(STAT_CURRENT)。stat 用 Output/Input/Content/Staytime/State。

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>",
      "stat": "<stat>"
    },
    "name": "flexsim_get_stat"
  }
}

Input Schema

NameRequiredDescriptionDefault
statYes
objectYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/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 behavioral burden. It never states that this is a non-mutating read, what happens when 'object' does not resolve to an existing object, or whether statistics must be enabled/collected beforehand (a real precondition in simulation tools) – only the STAT_CURRENT constant is disclosed.

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?

Two short clauses, front-loaded with the purpose and then the parameter hint; nothing is wasted. The terseness comes at the cost of under-specification rather than verbosity, so it loses little on structure alone.

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?

For a simple two-parameter read tool this is close to adequate, but with no annotations and no output schema, the description should still say what the returned value looks like (e.g., a number vs. a state label) and what form the 'object' identifier takes. Those gaps are moderate, not fatal.

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%, so the description must compensate. It does add genuinely useful meaning for 'stat' by enumerating the accepted values (Output/Input/Content/Staytime/State), which the schema does not do since there are no enums, but it says nothing about 'object' – whether it is a name, path, or ID, or how to obtain a valid one.

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: reading an object's current statistic value, and names the underlying constant (STAT_CURRENT), which pins down which statistic snapshot is returned. It does not distinguish itself from siblings such as flexsim_get_time or flexsim_list_objects, but the resource is specific enough for disambiguation.

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 description lists the meaningful values for 'stat' (Output/Input/Content/Staytime/State), which implicitly tells the agent what this tool is for, but there is no when-to-use guidance, no statement of when not to use it, and no pointer to alternatives for related queries.

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