Skip to main content
Glama
Plant Simulation Research Bridge

Plant Simulation Research Bridge

object_set_control

Attaches a Method to a Plant Simulation object as its EntranceCtrl, ExitCtrl, or InitCtrl, enabling entry, exit, or initialization control.

Instructions

Attach a Method as an object's EntranceCtrl, ExitCtrl or InitCtrl.

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": {
      "path": "<path>",
      "control": "<control>",
      "method": "<method>"
    },
    "name": "object_set_control"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
methodYes
controlYes
work_dirNo
model_rootNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/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 implies a mutation but never says whether overwriting an existing control is destructive, whether the change persists/requires a save or compile step, or what happens on failure. That is a significant gap for an attach/assign operation in a simulation model.

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?

One short, front-loaded sentence with no wasted words; the verb, target, and slot choices are all packed in efficiently. It is arguably too terse rather than bloated, so there is no conciseness penalty.

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 5-parameter mutation tool with no annotations, no output schema, and 0% schema coverage, the description is far too thin. An agent still lacks the semantics of most parameters and the consequences of the attachment, which it would need to invoke the tool correctly.

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%, so the description must compensate, and it only partially does: the three control names map to the 'control' parameter's allowed values. The other four parameters (path, method, work_dir, model_root) receive no explanation, and it is unclear whether path refers to the object and method to an existing method by name or path.

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 concrete operation (attaching a Method) and a concrete target (an object's EntranceCtrl, ExitCtrl or InitCtrl), which goes beyond the bare tool name and tells the agent what kind of change results. It doesn't explicitly distinguish itself from siblings like method_set_source or model_connect_objects, but the verb+resource pairing is specific enough that its role 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 statement of when to use this tool versus alternatives, no prerequisites, and no conditions (for example whether the object or method must already exist). The only hint is the enumeration of the three control slots, which implies when each value applies but not when the tool itself is appropriate.

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