Skip to main content
Glama
petropt

petropt/petro-mcp

by petropt

calculate_burst_pressure

Calculate internal burst pressure for pipes using Barlow's formula with API 12.5% tolerance to determine maximum safe operating pressure.

Instructions

Calculate internal burst pressure using Barlow's formula with API 12.5% tolerance.

P_burst = 0.875 * 2 * Fy * t / OD.

Args: yield_strength_psi: Minimum yield strength (psi). wall_thickness_in: Nominal wall thickness (inches). od_in: Outer diameter (inches).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yield_strength_psiYes
wall_thickness_inYes
od_inYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description carries full burden. While it states the calculation method and formula, it doesn't disclose important behavioral aspects like: whether this is a read-only calculation (implied but not stated), what units are expected/returned, error handling for invalid inputs, or any limitations of Barlow's formula. The description provides the core functionality but lacks operational context.

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?

Perfectly structured and concise. The first sentence states purpose and method, followed by the exact formula, then parameter definitions in a clean 'Args:' section. Every sentence earns its place with zero wasted words, and the information is front-loaded with the most important details first.

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?

Given the tool's complexity (engineering calculation with specific formula), the description provides excellent parameter semantics and the calculation method. Since an output schema exists (mentioned in context signals), the description doesn't need to explain return values. However, it could benefit from more behavioral context about the calculation's assumptions or limitations to be fully complete for this technical domain.

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?

With 0% schema description coverage (titles only provide parameter names), the description fully compensates by providing clear semantic definitions for all three parameters: 'Minimum yield strength (psi)', 'Nominal wall thickness (inches)', and 'Outer diameter (inches)'. It even clarifies that yield strength is 'minimum' and wall thickness is 'nominal', adding valuable engineering context beyond basic parameter names.

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 specific action ('calculate internal burst pressure') and the method used ('using Barlow's formula with API 12.5% tolerance'), including the exact formula. It distinguishes itself from sibling tools like 'calculate_collapse_pressure' and 'calculate_hydrostatic_pressure' by focusing specifically on burst pressure calculation.

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 context through the mention of 'Barlow's formula' and 'API 12.5% tolerance', which suggests engineering/pipe pressure applications. However, it doesn't explicitly state when to use this tool versus alternatives like 'calculate_collapse_pressure' or provide any exclusion criteria or prerequisites.

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