Skip to main content
Glama

Engineering Script

ORIFICELIQ

Liquid orifice sizing / differential pressure / flow rate calculation based on ISO 5167 orifice. Exactly ONE of [M, dP, D2] must be set to '?' — that variable will be calculated.

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>",
      "dP": "<dP>",
      "D2": "<D2>",
      "P1": "<P1>",
      "D1": "<D1>",
      "rho": "<rho>",
      "mu": "<mu>"
    },
    "name": "ORIFICELIQ"
  }
}

Input Schema

NameRequiredDescriptionDefault
MYesLiquid mass flow rate. Set value='?' to calculate.
D1YesPipe inside diameter
D2YesOrifice bore diameter. Set value='?' to calculate.
P1YesUpstream (operating) pressure
dPYesDifferential pressure across orifice. Set value='?' to calculate.
muYesDynamic viscosity
rhoYesFluid density

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It explains the core behavior (calculates the unknown among M, dP, D2) and the '?' mechanism, but it does not describe the return format, potential errors, or any validation rules beyond the exactly-one constraint. This is adequate but lacks depth for a process calculator.

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 two short sentences that are front-loaded with the tool's purpose and immediately follow with the key usage rule. Every word earns its place; there is no redundancy or filler.

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 tool has 7 parameters, nested objects, and no output schema. The description explains the calculation scope and the critical '?' rule but omits any mention of what the tool returns (e.g., a single value or an object with properties) or how it handles unit conversions. Given the complexity, this is a noticeable gap, though the schema covers parameter names and units.

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%, and each parameter already includes a description plus the 'Set value='?' to calculate' note for the three unknown-capable parameters. The description aggregates this rule but does not add new meaning beyond the schema, so the baseline of 3 is appropriate.

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 identifies the tool as a liquid orifice sizing/differential pressure/flow rate calculator based on ISO 5167, which distinguishes it from the sibling ORIFICEGAS. It also specifies the resource (orifice) and the calculation types, making the purpose unambiguous.

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 provides a critical usage rule: exactly one of M, dP, or D2 must be set to '?' and that variable will be calculated. This gives the agent clear guidance on how to invoke the tool. However, it does not explicitly mention alternatives like ORIFICEGAS or when to choose this over them, though the 'Liquid' prefix and sibling name imply the distinction.

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