Skip to main content
Glama

ChemPlant Studio

solve_flowsheet

Solve a steady-state multi-unit chemical process flowsheet (feed, product, pump, compressor, turbine, hex, separator/decanter, valve, mixer, splitter, reactor, evaporator) with recycle convergence.

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": {
      "nodes": "<nodes>",
      "edges": "<edges>"
    },
    "name": "solve_flowsheet"
  }
}

Input Schema

NameRequiredDescriptionDefault
edgesYesArray of stream edges: [{id, source, target, sourcePort?, targetPort?, streamNo?}]
nodesYesArray of unit nodes: [{id, tag, unitType, params}]
propertyMethodNoThermodynamic property package (default PR)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose two useful traits: the calculation is iterative with recycle convergence, and the supported unit-type scope (which bounds what will be accepted), but it says nothing about non-convergence behavior, failure modes, cost, or what the result contains.

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?

A single front-loaded sentence with the verb first and no filler. The parenthetical unit list is dense but earns its place by defining scope; it is slightly list-heavy but not padded.

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 complex simulation tool with zero annotations and no output schema, the description leaves too much unsaid: an agent does not know what the response looks like, how convergence failures are surfaced, or what stream results are returned. The unit-type list covers scope but not the operational picture an agent needs before invoking an expensive solve.

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 description coverage is 100%, so baseline would be 3, but the description adds real meaning beyond the schema by enumerating valid unitType values (pump, compressor, turbine, hex, separator/decanter, valve, mixer, splitter, reactor, evaporator) for a field the schema leaves as an unconstrained string. It says nothing about the per-unit 'params' contents or the interplay between nodes and edges.

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 ('Solve') and resource ('steady-state multi-unit chemical process flowsheet') and enumerates the supported unit operations plus recycle convergence. The word 'multi-unit' implicitly separates it from the sibling 'solve_distillation', though it never names that sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the qualifiers 'steady-state' and 'multi-unit' — an agent can infer this is for whole-flowsheet simulation rather than a single column. There is no explicit when-to-use/when-not statement, no mention of solve_distillation as the alternative for single columns, and no statement of prerequisites.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.