Skip to main content
Glama
petropt

petropt/petro-mcp

by petropt

calculate_operating_netback

Calculate operating netback per BOE by subtracting royalties, operating expenses, and transportation costs from revenue. Uses oil and gas prices with production rates to determine profitability per barrel of oil equivalent.

Instructions

Calculate operating netback per BOE.

Revenue - royalties - opex - transport per BOE. Gas at 6 Mcf/BOE.

Args: oil_price: Oil price ($/bbl). gas_price: Gas price ($/Mcf). oil_rate_bpd: Oil production rate (bbl/day). gas_rate_mcfd: Gas production rate (Mcf/day). opex_per_boe: Operating expense per BOE ($/BOE). royalty_pct: Royalty fraction (0-1). Default 0.125. transport_per_boe: Transportation cost per BOE ($/BOE). Default 0.0.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
oil_priceYes
gas_priceYes
oil_rate_bpdYes
gas_rate_mcfdYes
opex_per_boeYes
royalty_pctNo
transport_per_boeNo

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 clearly describes the mathematical operation and conversion factor (6 Mcf/BOE), which helps understand the tool's behavior. However, it doesn't disclose important behavioral aspects like error handling, numerical precision, units validation, or what happens with negative inputs.

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?

Perfectly structured and concise. The first sentence states the purpose, the second gives the formula with key conversion factor, and the Args section cleanly documents all parameters. Every sentence earns its place with no wasted words.

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 mathematical nature of the tool, 7 parameters, 0% schema coverage, and presence of an output schema, the description is quite complete. It explains the calculation logic, documents all parameters with units, and indicates defaults. The main gap is lack of behavioral context (error handling, validation), but the output schema likely covers return values.

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 clear parameter documentation in the Args section. Each parameter is explained with units and meaning (e.g., 'Oil price ($/bbl)', 'Royalty fraction (0-1)'), and defaults are indicated. This adds significant 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 specific calculation: 'Calculate operating netback per BOE' and provides the exact formula 'Revenue - royalties - opex - transport per BOE. Gas at 6 Mcf/BOE.' This distinguishes it from all sibling tools which focus on different petroleum engineering calculations like economics, pressure, porosity, or decline analysis.

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 is provided on when to use this tool versus alternatives. While the purpose is clear, there's no mention of prerequisites, typical use cases, or comparison with sibling tools like 'calculate_well_economics' or 'calculate_breakeven_price' that might overlap in economic analysis.

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