Skip to main content
Glama
petropt

petropt/petro-mcp

calculate_breakeven_price

Calculate the minimum oil price required for net present value (NPV) to reach zero, using monthly production, operating expenses, capital expenditure, discount rate, and royalty percentage.

Instructions

Calculate breakeven oil price -- minimum price for NPV = 0.

Uses bisection to find the oil price at which discounted net cash flow equals zero.

Args: monthly_production_bbl: Monthly oil production (bbl) per period. monthly_opex: Monthly operating expense ($). capex: Total capital expenditure ($). discount_rate: Annual discount rate. Default 0.10. royalty_pct: Royalty fraction (0-1). Default 0.125. months: Number of months to evaluate (default: length of production array).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
monthly_production_bblYes
monthly_opexYes
capexYes
discount_rateNo
royalty_pctNo
monthsNo

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 carry the burden. It reveals that bisection is used to find the price, which is helpful, but it does not disclose convergence criteria, error handling, or limitations such as cases where NPV never reaches zero. The numerical method is noted, but more detail is needed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short and front-loaded with purpose and method, but the argument list repeats schema information without adding value. It could be more concise by relying on the schema for parameter details, reserving description space for behavioral and usage context.

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

Completeness2/5

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

Given the complexity of an economics calculation, no output schema details are provided in the description (though context says an output schema exists). The description lacks information about the return value (e.g., breakeven price per barrel), edge cases, and prerequisites. The description is incomplete for a tool with 6 parameters and no annotation support.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description must add meaning but only restates parameter names with minimal context (e.g., 'monthly oil production (bbl) per period'). It fails to clarify units for discount_rate (decimal vs percentage) or that monthly_production_bbl is an array. The argument list is redundant with the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states that the tool calculates breakeven oil price defined as the minimum price for NPV=0. It distinguishes from siblings like calculate_npv and calculate_pv10 by focusing explicitly on the breakeven price. However, it could be more explicit about how it differs from other economic tools.

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 like calculate_npv or calculate_pv10. The description does not provide any when-to-use or when-not-to-use advice, leaving the agent to infer its applicability from the name alone.

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