Skip to main content
Glama
petropt

petropt/petro-mcp

calculate_kill_mud_weight

Calculate the kill mud weight required for well control by inputting shut-in drill pipe pressure, original mud weight, and true vertical depth. Uses the formula Kill MW = MW + SIDP/(0.052*TVD) to determine the mud weight needed to balance formation pressure.

Instructions

Calculate kill mud weight for well control (Kill MW = MW + SIDP / (0.052 * TVD)).

Args: sidp_psi: Shut-in drill pipe pressure (psi). original_mud_weight_ppg: Original mud weight (ppg). tvd_ft: True vertical depth (ft).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sidp_psiYes
original_mud_weight_ppgYes
tvd_ftYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

The description only states the formula and parameter definitions. No annotations are provided, so the description fails to disclose any behavioral traits like computational assumptions, unit consistency checks, or potential errors (e.g., division by zero if TVD=0).

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 extremely concise, with the purpose and formula in the first line, followed by parameter definitions in a clear list. Every sentence is necessary and no word is wasted.

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 that an output schema exists (not shown), the description need not detail return values. It sufficiently explains the calculation and inputs. However, it lacks broader context about well control applicability or assumptions, but for a simple formula tool it is adequate.

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

Parameters4/5

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

Despite 0% schema description coverage, the description explains each parameter with its physical meaning and units (e.g., 'sidp_psi: Shut-in drill pipe pressure (psi)'). This adds context beyond the schema's minimal titles, covering all three parameters.

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 verb 'Calculate' and the resource 'kill mud weight', and includes the formula which differentiates it from sibling tools like calculate_ecd or calculate_hydrostatic_pressure. The purpose is specific and unambiguous.

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 on when to use this tool versus alternatives, nor any prerequisites or limitations. For example, it doesn't mention that this is for well control operations or when SIDP is available. With many sibling tools, such context is missing.

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