Skip to main content
Glama

Engineering Script

VENTURILIQ

Liquid Venturi tube sizing / differential pressure / flow rate calculation based on ISO 5167 Venturi meter (as cast convergent venturi tube). 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": "VENTURILIQ"
  }
}

Input Schema

NameRequiredDescriptionDefault
MYesLiquid mass flow rate. Set value='?' to calculate.
D1YesPipe inside diameter
D2YesVenturi throat diameter. Set value='?' to calculate.
P1YesUpstream (operating) pressure
dPYesDifferential pressure across Venturi meter. Set value='?' to calculate.
muYesDynamic viscosity
rhoYesFluid density

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses that the calculation follows ISO 5167 for an as-cast convergent venturi tube and that exactly one of M, dP, D2 must be set to '?' for that variable to be calculated. It does not detail error behavior or output structure, but for a pure calculation tool this is adequate.

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 exactly two sentences with no filler. It front-loads the tool's purpose and immediately follows with the critical usage rule. Every word contributes meaning, making it concise and well-structured.

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?

Given the tool's complexity (7 required nested params, no output schema, no annotations), the description covers the essential calculation basis and the unknown-variable rule. It does not explicitly state the result structure or unit handling, but 'that variable will be calculated' implies the output. Slightly more detail on what the tool returns would improve completeness, but the current description is sufficient for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already provides per-parameter descriptions and unit enums (100% coverage), giving a baseline of 3. The top-level description adds the cross-parameter constraint that exactly one of M, dP, D2 may be unknown, which exceeds what the individual schema descriptions state. This semantic addition justifies a higher score.

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 Venturi tube sizing, differential pressure, and flow rate calculator based on ISO 5167. It differentiates from siblings by specifying 'Liquid' (vs VENTURIGAS) and 'Venturi' (vs orifice tools). The explicit rule about exactly one unknown variable further defines its purpose.

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 conveys when to use this tool: for liquid Venturi calculations where exactly one of M, dP, or D2 is unknown. It does not explicitly name alternatives or exclusions, but the liquid specification and the 'exactly one' constraint provide clear context. No explicit when-not-to-use guidance is given, but the use case is unambiguous.

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