Skip to main content
Glama
petropt

petropt/petro-mcp

calculate_coleman_critical

Calculate the critical gas rate to prevent liquid loading in low-pressure gas wells using the Coleman correlation (20% below Turner).

Instructions

Coleman et al. (1991) critical rate for liquid loading (20% below Turner).

Recommended for low-pressure gas wells (< ~500 psi wellhead pressure).

Args: wellhead_pressure_psi: Wellhead flowing pressure in psi. wellhead_temp_f: Wellhead temperature in degrees F. gas_sg: Gas specific gravity (air = 1.0). tubing_id_in: Tubing inner diameter in inches. Default 2.441. current_rate_mcfd: Current gas rate in Mcf/d for status check (optional).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
wellhead_pressure_psiYes
wellhead_temp_fYes
gas_sgYes
tubing_id_inNo
current_rate_mcfdNo

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, so the description bears the full burden. It notes the formula reference and relationship to Turner, indicates a default for tubing ID, and mentions the optional parameter for status check. While it doesn't elaborate on output structure (output schema exists), it gives sufficient behavioral context for a calculation tool.

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 very concise: one sentence for purpose and recommendation, followed by a compact parameter list. No redundant information, and key details are front-loaded. Every sentence adds value.

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 (5 parameters, many sibling tools) and the presence of an output schema, the description covers the essential aspects: purpose, recommended usage, parameter explanations. It lacks mention of error conditions or output format, but these are partially covered by the output schema. Overall, it is reasonably complete.

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%, so the description must compensate. The Args section describes each parameter with units (psi, deg F), default value (tubing_id_in), and optional nature (current_rate_mcfd). This adds meaningful context beyond the bare schema fields, though it lacks constraints or ranges.

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 the Coleman critical rate for liquid loading, which is 20% below the Turner rate. It also specifies the application to low-pressure gas wells, clearly distinguishing it from the sibling tool 'calculate_turner_critical'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit guidance: 'Recommended for low-pressure gas wells (< ~500 psi wellhead pressure).' This tells the agent when to prefer this tool over alternatives, such as the Turner method for higher pressures. The alternative is implied by naming Turner in the description and listing it among siblings.

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