Skip to main content
Glama

Engineering Script

PSVLIQ

Calculate required PSV (pressure safety valve) relief area for liquid 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>",
      "P2": "<P2>",
      "rho": "<rho>"
    },
    "name": "PSVLIQ"
  }
}

Input Schema

NameRequiredDescriptionDefault
MYesRelieving mass flow rate
KcNoCombination correction factor (rupture disk), default 1.0
KdNoEffective coefficient of discharge, default 0.65
KvNoViscosity correction factor, default 1.0
KwNoBack pressure correction factor (balanced bellows), default 1.0
P1YesUpstream relieving pressure (set pressure + overpressure + atm)
P2YesDownstream (back) pressure
rhoYesLiquid density
PoverNoOverpressure fraction (e.g. 0.1 = 10%), default 0.1
A_unitNoOutput relief area unitcm2

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions the API 520 standard but does not disclose assumptions, handling of invalid input, or return format. Minimal behavioral context beyond the calculation intent.

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?

The description is a single, focused sentence containing necessary context: purpose, service type, and standard. There is no wasted wording or redundancy.

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?

This is a complex tool with 10 parameters, nested objects, no output schema, and no annotations. The one-line description does not explain output units (beyond the schema), calculation assumptions, or limitations. Significant context is left to inference from the schema and sibling tool names.

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 provides complete descriptions for all 10 parameters, including required fields and units, so schema coverage is 100%. The description itself adds no parameter-specific semantics beyond what the schema already documents, meeting the baseline.

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 clearly states a specific verb ('Calculate') and resource ('required PSV relief area') for liquid service, and references the governing standard (API 520). This distinguishes it from the sibling tools PSVGAS and PSVSTEAM.

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 phrase 'for liquid service' provides clear context indicating this tool is for liquid applications, but it does not explicitly mention alternatives or exclusions (e.g., 'use PSVGAS for gas'). The context is clear enough without explicit exclusions.

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