Skip to main content
Glama

Engineering Script

PSVSTEAM

Calculate required PSV (pressure safety valve) relief area for steam service per API 520

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": {
      "M": "<M>",
      "P1": "<P1>",
      "T1": "<T1>"
    },
    "name": "PSVSTEAM"
  }
}

Input Schema

NameRequiredDescriptionDefault
MYesRelieving mass flow rate
KbNoCapacity correction factor for back pressure, default 1.0
KcNoCombination correction factor (rupture disk), default 1.0
KdNoEffective coefficient of discharge, default 0.975
P1YesUpstream relieving pressure (set pressure + overpressure + atm)
T1YesRelieving temperature
A_unitNoOutput relief area unitcm2

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden of behavioral disclosure. It clearly state an analytical calculation per API 520, and the verb 'calculate' implies a non-mutating operation, but it does not mention unit conversion behavior, output format, or assumptions beyond the standard.

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 efficiently states the purpose, expands the acronym, and cites the governing standard. There is no redundancy or filler.

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

Completeness4/5

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

For a moderately complex engineering calculation tool with a thoroughly described schema, the description adequately conveys the tool's purpose and applicable standard. It does not describe usage alternatives or return structure, but the required inputs are fully documented in the schema and the output (relief area) is indicated in the purpose statement.

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?

The input schema covers 100% of parameters with descriptions, including nested object details and defaults. The tool description adds no parameter-level meaning beyond what the schema already provides, so the baseline score of 3 applies.

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?

The description uses a specific verb 'Calculate' with a clear resource 'required PSV relief area' and service qualifier 'steam service per API 520'. This clearly distinguishes it from sibling tools like PSVGAS and PSVLIQ.

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 specifies the intended service (steam) and the governing standard (API 520), giving clear context for when to use it. It does not explicitly name alternatives or exclusions, but the service qualifier makes the scope obvious.

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.

Resources