Skip to main content
Glama

ChemPlant Studio

size_psv_api520

Size a Pressure Safety Valve per API 520 Part I/II and select the standard API 526 letter orifice (D through T).

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": {
      "phase": "<phase>",
      "W_kgh": "<W_kgh>",
      "P_set_barG": "<P_set_barG>",
      "T_rel_C": "<T_rel_C>"
    },
    "name": "size_psv_api520"
  }
}

Input Schema

NameRequiredDescriptionDefault
mwNoMolecular weight (for vapor/gas, default 28.97)
W_kghYesRequired relieving mass flowrate in kg/h
phaseYesRelieving fluid phase
Z_compNoCompressibility factor Z (default 0.98)
k_cpcvNoCp/Cv ratio (default 1.4)
T_rel_CYesRelieving temperature in °C
rhoL_kgm3NoLiquid density kg/m3 (for liquid phase, default 800)
P_set_barGYesSet pressure in barG
valve_typeNo
P_back_barGNoBackpressure in barG (default 0)
overpress_pctNoAllowed overpressure % (default 10)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the behavioral burden. It discloses that the tool performs a standards-based sizing calculation and selects an API 526 orifice, which implies a non-destructive computational operation, but it does not explicitly state side effects, assumptions, validation behavior, or output format.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence that states the operation, standards, and output selection without filler. It is appropriately sized for a tool whose parameters are well documented in the schema.

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?

The description covers the core purpose and the orifice-selection output, but for an 11-parameter engineering calculation with no output schema and no annotations, it omits assumptions, phase-specific input requirements, and the full return shape. It is adequate but not complete enough to fully de-risk invocation.

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 91%, so the schema already documents nearly all parameters, including units and defaults. The description adds no parameter-specific meaning, but the high coverage justifies the baseline score of 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Size') and resource ('Pressure Safety Valve') and references API 520 Part I/II and API 526 orifice selection. This clearly distinguishes it from the sibling tools, which are unrelated process calculations.

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?

The description implies the tool is for PSV sizing but gives no explicit when-to-use guidance, prerequisites, or alternatives to consider. Because the sibling tools are in different domains, an agent can infer this is the right choice, but the definition itself does not route between options.

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.