Skip to main content
Glama

Engineering Script

COMPPOLYEFF

Calculate polytropic efficiency of compressor

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": {
      "Pi": "<Pi>",
      "Po": "<Po>",
      "Ti": "<Ti>",
      "To": "<To>",
      "k": "<k>"
    },
    "name": "COMPPOLYEFF"
  }
}

Input Schema

NameRequiredDescriptionDefault
kYesHeat capacity ratio
PiYesInlet pressure
PoYesOutlet pressure
TiYesInlet temperature
ToYesOutlet temperature

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior1/5

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

With no annotations, the description must carry the full burden of behavioral disclosure. It merely restates the tool's name and provides no details on the calculation formula, unit handling (e.g., absolute vs. gauge), or output format. This is essentially a tautology with no added behavioral insight.

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, front-loaded sentence with no fluff. It is concise and to the point, though it lacks enrichment that would make it more useful. It earns its place but does not exceed expectations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a 5-parameter thermodynamic calculation with multiple pressure and temperature units including gauge and absolute variants, and there is no output schema. A one-line description that only states the purpose is severely incomplete. It fails to specify the return value, the formula used, or critical unit handling, leaving the agent without enough context to invoke the tool correctly.

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 5 parameters, so the baseline is 3. The tool description itself adds no parameter semantics, and the schema's per-parameter descriptions are minimal (e.g., 'Inlet pressure'), but they are present and cover 100% of parameters, so the description need not 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 clearly states a specific action ('Calculate') and a specific resource ('polytropic efficiency of compressor'). This clearly distinguishes it from sibling efficiency tools like TBNEFF or STGEFF, which likely handle different types of efficiency calculations.

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?

The description provides no guidance on when to use this tool versus alternatives, nor does it mention prerequisites like absolute vs. gauge pressure or temperature scale. There is no context to help an agent decide between this and other efficiency-calculation tools.

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