Skip to main content
Glama

Engineering Script

CVGAS

Calculate gas 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>",
      "T1": "<T1>",
      "MW": "<MW>",
      "k": "<k>"
    },
    "name": "CVGAS"
  }
}

Input Schema

NameRequiredDescriptionDefault
QYesGas volumetric flow rate at standard conditions
kYesSpecific heat ratio (Cp/Cv)
MWYesGas molecular weight
P1YesUpstream pressure
P2YesDownstream pressure
T1YesInlet gas temperature
Cv_unitNoOutput Cv unit
Kv_unitNoOutput Kv unit

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/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 full transparency burden. It accurately states the tool performs a calculation, which implies a read-only operation, but it does not disclose details about unit conversions, output format, or assumptions (e.g., standard conditions for Q). The behavior is straightforward for a calc tool, but lacks depth.

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, front-loaded sentence consisting of 9 words. It contains no filler or redundant information, achieving maximum conciseness while conveying the essential purpose.

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 description indicates the tool returns Cv and Kv values, which partially compensates for the absence of an output schema. However, it does not explain how optional Cv_unit and Kv_unit parameters influence the results, nor does it mention any calculation standards or limitations. Given the tool's 8 parameters and no output schema, more detail would improve completeness.

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 descriptions for all 8 parameters with 100% coverage, including unit enums and default values. The description's phrase 'from flow conditions' adds no parameter-specific detail beyond what the schema already explains, so the baseline score 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 uses the specific verb 'Calculate' and identifies the resource as 'gas control valve Cv and Kv', clearly distinguishing it from sibling tools like CVLIQ (liquid) and CVSTEAM (steam). The scope is precise and 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 gas control valve sizing but provides no explicit guidance on when to use this tool versus alternatives such as CVLIQ or CVSTEAM. No exclusions or alternative tool references are mentioned, leaving the agent to infer applicability from the tool name.

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