Skip to main content
Glama

ChemPlant Studio

solve_distillation

Solve a rigorous multistage MESH distillation column using PR, SRK, NRTL, UNIQUAC, UNIFAC, or IDEAL thermodynamics (cross-validated against DWSIM 9.0.5).

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": {
      "feedFlowsKgH": "<feedFlowsKgH>"
    },
    "name": "solve_distillation"
  }
}

Input Schema

NameRequiredDescriptionDefault
feedStageNo1-indexed feed stage (default N/2)
feedTempCNoFeed temperature in °C (default 90)
refluxRatioNoMolar reflux ratio L/D (default 2.0)
thermoModelNoThermodynamic property package (default PR)
totalStagesNoTotal theoretical stages including condenser and reboiler (4..120, default 20)
feedFlowsKgHYesComponent mass flowrates in kg/h (e.g. {'Benzene': 5000, 'Toluene': 5000}, or {'EtOH': 4000, 'H2O': 6000}, or {'C3H8': 5000, 'nC4H10': 5000})
topPressBarANoCondenser pressure in barA (default 1.01325)
distillateMoleFracNoDistillate-to-feed molar split ratio D/F (0.01..0.99, default 0.5)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, yet it discloses only that the solution is 'rigorous' and cross-validated against DWSIM 9.0.5. It does not describe convergence behavior, failure modes for infeasible/overspecified inputs, iteration limits, or what the result contains for a solver.

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 key resource and model options, no filler. It is efficient, though it could have used the space to include behavioral or output context rather than the DWSIM parenthetical.

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?

Parameters are fully documented via the schema, but for a complex 8-param solver with no output schema and no annotations, the definition leaves the return values and convergence/feasibility behavior unexplained. Adequate to call, incomplete to predict results.

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 all eight parameters, including the enum and the feedFlowsKgH object, are already documented with defaults and ranges. The description adds no syntax or unit detail beyond the enum list, so the baseline 3 applies.

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 ('multistage MESH distillation column'), plus the supported thermodynamic packages. An agent can distinguish this from solve_flowsheet or size_psv_api520 by the MESH distillation framing. It stops short of explicitly naming which sibling to use instead, but the resource is unambiguous.

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: the agent infers this is the tool for simulating a distillation column. There is no explicit when-to-use guidance, no prerequisites (e.g., valid component names), and no routing away from sibling solvers such as solve_flowsheet.

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.