Skip to main content
Glama
petropt

petropt/petro-mcp

calculate_density_porosity

Compute porosity from bulk density log using matrix and fluid density values. Input bulk density (g/cc) and optional matrix/fluid densities to obtain density porosity.

Instructions

Calculate porosity from bulk density log.

Args: rhob: Bulk density (g/cc). rho_matrix: Matrix density (g/cc). Default 2.65 (sandstone). rho_fluid: Fluid density (g/cc). Default 1.0 (fresh water).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rhobYes
rho_matrixNo
rho_fluidNo

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 carries the burden. It states the tool calculates porosity, which is a read-only computation. It does not describe side effects or prerequisites, but for a simple calculator, this is minimally adequate.

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: one line for purpose followed by parameter descriptions. It is front-loaded and every sentence adds value. 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?

For a simple calculation tool with an output schema, the description is sufficient. It explains inputs and their defaults. The formula is implicit but not required. Slightly more detail about the calculation could improve completeness.

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?

With 0% schema description coverage, the description adds meaning by explaining units and defaults (e.g., 'Default 2.65 (sandstone)' for rho_matrix). This provides context beyond the schema, though it could specify rhob's expected range.

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: 'Calculate porosity from bulk density log.' It uses a specific verb and resource, and distinguishes itself from sibling tools like calculate_sonic_porosity by specifying the method (density).

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 does not provide any guidance on when to use this tool versus alternatives or exclusions. Among siblings, there are other porosity calculations, but no comparison or context is given.

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