Skip to main content
Glama
petropt

petropt/petro-mcp

calculate_annular_velocity

Calculate annular velocity in drilling operations using flow rate, hole diameter, and pipe OD. Useful for hole cleaning and hydraulic optimization.

Instructions

Calculate annular velocity (AV = 24.51 * Q / (Dh^2 - Dp^2)).

Args: flow_rate_gpm: Flow rate in gallons per minute. hole_diameter_in: Hole or casing ID (inches). pipe_od_in: Pipe or drill string OD (inches).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flow_rate_gpmYes
hole_diameter_inYes
pipe_od_inYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description must disclose behavior. It only gives the formula and parameter units, but does not mention assumptions (e.g., Newtonian fluid, no slip), edge cases, or limitations. This is insufficient for full transparency.

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

Conciseness4/5

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

The description is brief and to the point, with a clear formula followed by parameter definitions. It avoids unnecessary words, though the formula could be formatted more readably.

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

Completeness3/5

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

With an output schema present, the description need not detail return values. The tool is a simple calculation, so the description is adequate but lacks context on validation or typical use cases.

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?

Schema coverage is 0%, but the description adds meaning by specifying units (gpm, inches) for each parameter. This compensates well for the empty schema descriptions, though it could also mention typical ranges.

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 explicitly states the purpose with the formula and units, making it clear it calculates annular velocity. It is a specific verb-resource pair and distinct from siblings like calculate_ecd or calculate_hydrostatic_pressure.

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 (e.g., when calculating hydraulics vs. other parameters). The description simply states the formula without context or exclusions.

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