Skip to main content
Glama
petropt

petropt/petro-mcp

by petropt

havlena_odeh

Analyze oil reservoir performance using the Havlena-Odeh method to identify drive mechanisms and estimate original oil in place.

Instructions

Oil material balance using Havlena-Odeh straight-line method (1963).

Identifies drive mechanism (depletion, gas cap, water drive) and estimates Original Oil In Place (OOIP). Returns F vs Et plot data for diagnostics.

Args: pressures: Reservoir pressures at each time step (psi). np_values: Cumulative oil production at each step (STB). rp_values: Cumulative producing GOR at each step (scf/STB). wp_values: Cumulative water production at each step (STB). wi_values: Cumulative water injection at each step (STB). bo_values: Oil FVF at each pressure (bbl/STB). rs_values: Solution GOR at each pressure (scf/STB). bg_values: Gas FVF at each pressure (bbl/scf). bw_values: Water FVF at each pressure (bbl/STB). boi: Initial oil FVF (bbl/STB). rsi: Initial solution GOR (scf/STB). bgi: Initial gas FVF (bbl/scf). cf: Formation compressibility (1/psi). Optional. swi: Initial water saturation (fraction, 0-1). Optional.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pressuresYes
np_valuesYes
rp_valuesYes
wp_valuesYes
wi_valuesYes
bo_valuesYes
rs_valuesYes
bg_valuesYes
bw_valuesYes
boiYes
rsiYes
bgiYes
cfNo
swiNo

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 full burden for behavioral disclosure. It mentions what the tool returns (F vs Et plot data for diagnostics) but doesn't describe computational behavior, error handling, performance characteristics, or whether this is a read-only calculation versus something that modifies data. For a complex 14-parameter tool with no annotation coverage, this is insufficient.

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 clear purpose statement followed by detailed parameter documentation. While comprehensive, every sentence serves a purpose - the first paragraph explains what the tool does, and the Args section provides essential parameter context. It could be slightly more concise in the parameter explanations but remains efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (14 parameters, no annotations, but with output schema), the description is moderately complete. It thoroughly documents parameters and states the return purpose, but lacks behavioral context, usage guidelines, and error handling information. The presence of an output schema reduces the need to describe return values, but more operational context would be helpful for this sophisticated engineering tool.

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?

The description provides comprehensive parameter documentation with units and explanations for all 14 parameters, despite 0% schema description coverage. Each parameter is clearly explained with its physical meaning and measurement units, adding significant value beyond the bare schema. The only minor gap is that it doesn't explicitly state array length requirements or consistency between arrays.

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 specific purpose: performing oil material balance analysis using the Havlena-Odeh method to identify drive mechanisms and estimate OOIP. It distinguishes itself from sibling tools by focusing on this specific reservoir engineering technique rather than general calculations or other analysis methods.

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?

The description provides no guidance on when to use this tool versus alternatives. While it mentions what the tool does, it doesn't indicate when this method is appropriate, what prerequisites are needed, or how it compares to other material balance or reservoir analysis tools in the sibling list.

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