Skip to main content
Glama
FlexSim MCP Server

FlexSim MCP Server

by fateedit

select_target

Locks all subsequent model operations to a specified online FlexSim instance, validating availability and requiring explicit selection when multiple instances are online.

Instructions

锁定后续所有模型操作的目标实例。会验证该实例确实在线;多个实例在线时必须先调用本工具,服务器不会再默认选择第一个实例。

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": {
      "model": "<model>"
    },
    "name": "select_target"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelYes模型名,如 MyModel
instanceNo实例号,默认 1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A4/5.0
Behavior4/5

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

There are no annotations, so the description carries the full burden. It discloses important behavior: the selection persists across all later model operations, the instance is validated as online, and the previous silent default-to-first-instance behavior is gone. It does not say what happens when validation fails or which instance is currently selected, but it is substantially better than a bare mutation description.

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 sentences, zero filler, focused on the main point first: the lock is front-loaded, and the conditional requirement follows. Slightly dense punctuation but structurally sound.

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

Completeness5/5

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

For a two-parameter state-setting tool with no annotations and no output schema, the description covers the essential unknowns: persistence of the selection, the online validation, and the mandatory ordering when multiple instances are online. An agent has enough information to call this correctly and in the right sequence.

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 description coverage is 100%, so model and instance are already documented in the schema, including the default of 1. The description mentions the multi-instance context that makes 'instance' relevant, but it adds no format or semantics beyond what the schema states; baseline 3 is appropriate.

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 states a specific verb+resource: locking ('锁定') a target instance that governs all subsequent model operations. It is clear what state changes. It does not, however, explicitly distinguish itself from the sibling get_target, leaving the agent to infer that get_target only reads while select_target sets.

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?

The description gives explicit when-to-use guidance: when multiple instances are online, this tool must be called first, before any model operation, because the server no longer falls back to instance 1 by default. It never states a when-not-to-use case or points the agent to list_instances first, but the usage condition is unusually strong.

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