Skip to main content
Glama
petropt

petropt/petro-mcp

by petropt

calculate_maasp

Calculate Maximum Allowable Annular Surface Pressure (MAASP) for well control using fracture gradient, mud weight, and casing shoe depth to prevent formation damage.

Instructions

Calculate Maximum Allowable Annular Surface Pressure.

MAASP = (FG - MW) * 0.052 * shoe TVD.

Args: fracture_gradient_ppg: Fracture gradient at shoe (ppg). mud_weight_ppg: Current mud weight (ppg). shoe_tvd_ft: Casing shoe TVD (ft).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fracture_gradient_ppgYes
mud_weight_ppgYes
shoe_tvd_ftYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It describes a calculation tool but doesn't specify if it's read-only, whether it has side effects, error handling, or performance characteristics. The description doesn't contradict annotations (since none exist), but it lacks essential behavioral context for a tool with potential safety implications in drilling operations.

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 the purpose, the second provides the exact formula, and the Args section clearly documents parameters. Every sentence earns its place with zero wasted words, and the information is front-loaded appropriately.

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 moderate complexity (calculation with 3 parameters), no annotations, but with an output schema present, the description is mostly complete. It explains what the tool does and what parameters mean, though it could benefit from more behavioral context. The output schema likely handles return values, so the description appropriately focuses on purpose and inputs.

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 provides excellent parameter semantics beyond the schema. With 0% schema description coverage, it fully compensates by explaining each parameter's meaning: 'fracture gradient at shoe (ppg)', 'current mud weight (ppg)', and 'casing shoe TVD (ft)'. This adds crucial domain context that the bare schema titles don't convey.

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 purpose with a specific verb ('Calculate') and resource ('Maximum Allowable Annular Surface Pressure'), including the exact formula (MAASP = (FG - MW) * 0.052 * shoe TVD). It distinguishes from siblings by focusing on this specific pressure calculation, unlike other tools for economics, porosity, or flow analysis.

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. While the formula implies it's for wellbore pressure management, there's no mention of specific scenarios, prerequisites, or comparisons to similar tools like calculate_hydrostatic_pressure or calculate_collapse_pressure.

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