Skip to main content
Glama
petropt

petropt/petro-mcp

calculate_nozzle_tfa

Compute the total flow area (TFA) of drill bit nozzles by summing cross-sectional areas for each nozzle size specified in 32nds of an inch.

Instructions

Calculate total flow area (TFA) of bit nozzles.

TFA = sum(pi/4 * (d/32)^2) for each nozzle size in 32nds of an inch.

Args: nozzle_sizes: List of nozzle sizes in 32nds of an inch (e.g. [12, 12, 12]).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nozzle_sizesYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations are provided; the description fully discloses the mathematical formula and parameter format. As a pure calculation with no side effects, the description is sufficiently transparent. It could mention it is deterministic and stateless, but not required.

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 three sentences: the purpose, the formula, and the parameter description. Every sentence adds value, and it is front-loaded with the core purpose.

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

Completeness5/5

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

Given that an output schema exists, the description does not need to explain return values. It fully covers the input format and the calculation method. For a simple math tool, this is complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds significant meaning beyond the input schema: it explains that nozzle sizes are in 32nds of an inch and provides an example. The schema coverage is 0% (no property descriptions), so the description fully compensates.

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 explicitly states the tool calculates total flow area (TFA) of bit nozzles, using a specific formula. It clearly distinguishes from siblings (which are numerous calculation tools) by naming a specific application.

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 calculating nozzle TFA but provides no guidance on when to use this tool versus alternatives or when not to use it. Sibling tools include many other calculations, but no explicit recommendation is given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/petropt/petro-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server