Skip to main content
Glama

Engineering Script

CVLIQ

Calculate liquid control valve Cv and Kv from flow conditions

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": {
      "Q": "<Q>",
      "P1": "<P1>",
      "P2": "<P2>",
      "rho": "<rho>"
    },
    "name": "CVLIQ"
  }
}

Input Schema

NameRequiredDescriptionDefault
QYesLiquid volumetric flow rate
FLNoLiquid pressure recovery factor (optional, default 0.9)
P1YesUpstream pressure
P2YesDownstream pressure
PcNoLiquid critical pressure (optional, default 22120 kPa)
PvNoLiquid vapor pressure (optional, default 0 kPa)
rhoYesLiquid density
Cv_unitNoOutput Cv unit
Kv_unitNoOutput Kv unit

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries full responsibility for disclosing behavior, but it only states the calculation intent ('Calculate liquid control valve Cv and Kv'). It does not mention what outputs are generated, any underlying assumptions, handling of choked flow, or required inputs beyond the vague 'flow conditions'. This is a significant gap.

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

Conciseness4/5

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

The description is a single sentence with zero waste, front-loading the key action and resource. It is appropriately concise for a simple calculation tool, though it could arguably include a bit more context without harming clarity.

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?

The tool has 9 parameters (4 required), nested objects, and no output schema, but the description is only one sentence. It fails to mention optional parameters (FL, Pc, Pv), defaults, or any prerequisites. This is inadequate for the complexity and leaves the agent without enough context to correctly invoke the tool.

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%, so the baseline is 3. The description adds no extra meaning beyond what the schema already provides, but the schema thoroughly documents each parameter with units and meanings, so the description does not need to compensate.

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 states a clear verb ('Calculate') and resource ('liquid control valve Cv and Kv'), which is specific and distinguishes it from sibling tools like CVGAS and CVSTEAM that target other fluids. The mention of 'liquid' clearly narrows the domain, 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for liquid control valve sizing through the word 'liquid' but provides no explicit when-to-use or when-not-to-use guidance, nor does it mention alternatives such as CVGAS for gas valves. It is implied rather than clearly stated.

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