Skip to main content
Glama

Engineering Script

PIPEFF

Calculate Darcy friction factor based on Reynolds number and pipe roughness

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": {
      "Piping": "<Piping>",
      "D": "<D>",
      "Re": "<Re>"
    },
    "name": "PIPEFF"
  }
}

Input Schema

NameRequiredDescriptionDefault
DYesPipe inside diameter
ReYesReynolds number
PipingYesPipe material

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?

The description omits behavioral details such as applicable Reynolds ranges, assumptions about roughness values, or the output format. Since no annotations are provided, the description carries the full burden of disclosure and falls short in conveying limitations or side effects.

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?

A single, clear sentence conveys the tool's purpose without extraneous detail. The structure is ideal for quick comprehension, with no wasted words.

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?

For a simple calculation tool with fully documented inputs, the description is nearly complete, even naming the output quantity (Darcy friction factor) in the absence of an output schema. It lacks mention of any limitations or specific usage nuances, but overall it provides sufficient context for an agent to select and 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?

The input schema provides complete descriptions for all three parameters (Piping, D, Re), meeting the high coverage baseline. The description adds only a minimal semantic connection ('based on Reynolds number and pipe roughness'), which does not significantly enhance understanding beyond the schema.

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 the tool's function as calculating the Darcy friction factor using Reynolds number and pipe roughness. This specific verb-object formulation distinguishes it from sibling tools like PIPEAIR and PIPEFLOWLIQ, which focus on flow calculations rather than friction factor.

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 the tool is used when the Darcy friction factor is needed, given Reynolds number and pipe material/roughness. However, it does not explicitly state when to use this tool over alternatives or provide exclusions, leaving usage to be inferred from the clear purpose.

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