Skip to main content
Glama
petropt

petropt/petro-mcp

calculate_net_pay

Calculate net pay thickness, net-to-gross, and average properties over pay by applying user-defined cutoffs on porosity, water saturation, and shale volume to log data.

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
Behavior4/5

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

The description indicates a computation (no side effects), but with no annotations, it does not explicitly state read-only behavior. However, the text implies no data modification, providing adequate transparency.

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, front-loaded with a summary, and well-structured with a bullet-like list for outputs and parameters. Every sentence adds value.

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

Completeness5/5

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

Despite an output schema existing, the description lists return values. All parameters are explained, and default values are provided. The tool's behavior is fully covered for an agent to understand and invoke correctly.

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 explaining each parameter (units, defaults, meaning) in the Args section, adding value beyond the schema's type and title.

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 'Determine net pay by applying porosity, Sw, and Vshale cutoffs to log data' with a specific verb and resource. It lists outputs and parameters, distinguishing it from sibling calculation tools.

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 use when net pay is needed from log data but does not explicitly mention when to use or avoid this tool, nor reference alternative tools among the many siblings.

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