Skip to main content
Glama
petropt

petropt/petro-mcp

calculate_kill_mud_weight

Compute kill mud weight for well control using shut-in drill pipe pressure, original mud weight, and true vertical depth.

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
Behavior3/5

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

No annotations are provided, so the description must bear the transparency burden. It includes the formula, indicating a straightforward calculation. However, it does not disclose behavior like error handling, units expectations, or output format beyond the formula.

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 short and front-loaded with the formula, followed by parameter explanations. Every sentence adds value, though the parameter list could be integrated more concisely.

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 simplicity (3 parameters, known formula, output schema exists), the description is complete enough. It explains what to input and the calculation, leaving no major gaps for an agent.

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?

Schema description coverage is 0%, but the description adds meaning by listing each parameter with its unit and explanation (e.g., 'sidp_psi: Shut-in drill pipe pressure (psi)'). This compensates for the lack of schema descriptions.

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 calculates kill mud weight for well control, providing the formula. It uses a specific verb ('Calculate') and resource ('kill mud weight'), and distinguishes from sibling calculation tools by its unique function.

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. The description implies the context (well control) but does not specify prerequisites, exclusions, or scenarios where other tools might be preferred.

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