Skip to main content
Glama
petropt

petropt/petro-mcp

calculate_net_pay

Apply porosity, water saturation, and shale volume cutoffs to well log data to calculate net pay thickness, net-to-gross ratio, and average reservoir properties.

Instructions

Determine net pay by applying porosity, Sw, and Vshale cutoffs to log data.

Returns net pay thickness, net-to-gross, average properties over pay, and per-sample pay flags.

Args: depths: Measured depths (ft). phi: Porosity values (fraction v/v) at each depth. sw: Water saturation values (fraction v/v) at each depth. vshale: Shale volume values (fraction v/v) at each depth. phi_cutoff: Minimum porosity for pay. Default 0.06. sw_cutoff: Maximum water saturation for pay. Default 0.5. vsh_cutoff: Maximum Vshale for pay. Default 0.5.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
depthsYes
phiYes
swYes
vshaleYes
phi_cutoffNo
sw_cutoffNo
vsh_cutoffNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Since no annotations are provided, the description carries full burden. It discloses that the tool calculates net pay properties and pay flags, indicating a non-destructive read operation. However, it does not mention error handling, input validation requirements, or side effects. The description adds context beyond the schema but lacks full behavioral disclosure.

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 concise and well-structured: a one-line summary, a bullet list of returns, and a formatted Args section. Every sentence is necessary and adds value. No redundant information.

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?

The description covers the tool's functionality, inputs, and outputs, even noting the presence of an output schema. However, it omits critical constraints like that input arrays must have equal length or that values should be within reasonable ranges (e.g., porosity between 0 and 1). These gaps could lead to errors if not checked elsewhere.

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?

The description provides detailed explanations for each parameter in the Args section, including units (e.g., 'Measured depths (ft)') and default values for cutoff parameters. This fully compensates for the 0% schema description coverage, as the schema only includes titles and types. The description adds significant meaning beyond the structured fields.

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: 'Determine net pay by applying porosity, Sw, and Vshale cutoffs to log data.' It specifies the verb ('determine'), resource ('net pay'), and method ('applying cutoffs'). The returned values are listed, making the tool's scope unambiguous. While sibling tools include other 'calculate_' functions, none directly duplicate net pay calculation, so differentiation is not necessary.

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 through its input parameters (log data and cutoffs), but it does not explicitly state when to use this tool over alternatives. No guidance is provided on prerequisites (e.g., array lengths must match) or situations to avoid. The usage is inferred but not directly instructed.

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