Skip to main content
Glama

Engineering Script

Pmean

Calculate mean pressure between inlet and outlet

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": {
      "Fluid": "<Fluid>",
      "P1": "<P1>",
      "P2": "<P2>"
    },
    "name": "Pmean"
  }
}

Input Schema

NameRequiredDescriptionDefault
P1YesInlet pressure
P2YesOutlet pressure
FluidYesFluid type (gas or liquid)
Pmean_unitNoOutput mean pressure unitbar

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It only states the calculation and does not mention how units are handled, how the Fluid parameter affects the calculation, whether input assumptions exist, or what the return value looks like. This is insufficient for an agent to predict behavior.

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, direct sentence with no filler words. It front-loads the action and resource, making it easy to parse.

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?

Given the tool has 4 parameters, nested objects, and no output schema, the description is too sparse. It doesn't explain the output format, how to specify units, or any computational details. An agent would have to rely entirely on the schema, which doesn't cover calculation logic.

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 schema already documents each parameter's meaning (P1: Inlet pressure, P2: Outlet pressure, Fluid: fluid type, Pmean_unit: output unit). The tool description adds only the overall context of calculating a mean, but doesn't enrich parameter semantics beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb 'Calculate' and identifies the resource 'mean pressure' with context 'between inlet and outlet', making the purpose clear. However, it doesn't explicitly differentiate from sibling tools or mention any alternative usage scenarios, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives. The description only states the calculation and gives no context about prerequisites, exclusions, or comparison to other similar tools like PTV or DVR.

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