Skip to main content
Glama
petropt

petropt/petro-mcp

by petropt

calculate_eur

Calculate Estimated Ultimate Recovery for oil and gas wells using decline curve analysis models including Arps, modified hyperbolic, and Duong methods to forecast production and determine economic limits.

Instructions

Calculate Estimated Ultimate Recovery using decline parameters.

Supports Arps models (exponential, hyperbolic, harmonic), modified hyperbolic with Dmin terminal decline switch, and Duong model for unconventional/shale wells.

Args: qi: Initial production rate (bbl/day or Mcf/day). Di: Initial decline rate (1/month, nominal). Used by exponential, hyperbolic, harmonic, and modified_hyperbolic models. b: Arps b-factor (0=exponential, 1=harmonic, 0-2=hyperbolic). economic_limit: Minimum economic rate (same units as qi). model: Decline model - 'exponential', 'hyperbolic', 'harmonic', 'modified_hyperbolic', or 'duong'. Dmin: Minimum terminal decline rate for modified_hyperbolic (1/month). a: Duong intercept parameter (typically 0.5-2.0). m: Duong slope parameter (typically 1.0-1.5).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qiYes
DiNo
bNo
economic_limitNo
modelNohyperbolic
DminNo
aNo
mNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses the tool's scope (multiple decline models) and domain-specific context (well production analysis), but doesn't mention computational behavior, error handling, output format, or performance characteristics. It adequately describes what the tool does but lacks operational transparency.

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 well-structured with a purpose statement, model support list, and parameter documentation. While comprehensive, it's appropriately sized for an 8-parameter technical tool. Some sentences could be tighter (e.g., the model list runs long), but overall it's efficient and front-loaded with the core purpose.

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 (8 parameters, multiple mathematical models) and the presence of an output schema (which handles return values), the description provides strong context. It covers purpose, supported models, and detailed parameter semantics. The main gap is lack of explicit usage guidelines versus sibling tools, but otherwise it's quite complete for a calculation tool.

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, the description fully compensates by providing detailed parameter explanations. Each of the 8 parameters gets clear semantic meaning, units, typical ranges, and model-specific usage notes (e.g., 'b: Arps b-factor (0=exponential, 1=harmonic, 0-2=hyperbolic)'). This adds substantial value beyond the bare schema.

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: 'Calculate Estimated Ultimate Recovery using decline parameters.' It specifies the exact calculation (EUR) and the domain (decline analysis), distinguishing it from sibling tools like 'calculate_well_economics' or 'eur_distribution' which have different focuses.

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 by listing supported models (Arps, modified hyperbolic, Duong) and mentioning 'unconventional/shale wells' for the Duong model. However, it doesn't explicitly state when to use this tool versus alternatives like 'fit_decline' or 'forecast_advanced_decline', nor does it provide prerequisites or exclusions.

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