Skip to main content
Glama
petropt

petropt/petro-mcp

by petropt

check_well_anticollision

Calculate the minimum distance between two well trajectories to prevent collisions and identify the closest approach point for safe drilling operations.

Instructions

Check separation between two wells at closest approach.

Computes center-to-center distance between two well trajectories and identifies the closest approach point.

Args: well1_md: Measured depths for reference well. well1_inc: Inclinations for reference well (degrees). well1_azi: Azimuths for reference well (degrees). well2_md: Measured depths for offset well. well2_inc: Inclinations for offset well (degrees). well2_azi: Azimuths for offset well (degrees). well2_start_north: Offset well surface location north of reference. well2_start_east: Offset well surface location east of reference. unit: Depth unit -- 'feet' or 'meters'. Default 'feet'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
well1_mdYes
well1_incYes
well1_aziYes
well2_mdYes
well2_incYes
well2_aziYes
well2_start_northNo
well2_start_eastNo
unitNofeet

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It states what the tool computes (distance and closest point) but lacks critical behavioral details: it doesn't specify output format (though an output schema exists), error conditions (e.g., mismatched array lengths), computational characteristics (e.g., whether it's resource-intensive), or safety implications (e.g., this is a read-only analysis tool with no side effects). The description is functional but incomplete for behavioral understanding.

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 well-structured with a clear purpose statement upfront, followed by parameter documentation. Every sentence earns its place by either explaining the computation or clarifying parameters. It's appropriately sized for a 9-parameter technical tool. Minor improvement could be made by front-loading the default unit information rather than burying it in the parameter list.

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?

Given the tool's complexity (9 parameters, technical domain) and the presence of an output schema (which handles return values), the description is moderately complete. It adequately explains the computation and parameters but lacks behavioral context and usage guidelines. The combination of good parameter semantics with missing behavioral transparency results in a mixed picture - sufficient for basic use but incomplete for robust agent understanding.

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 description coverage is 0%, so the description must compensate. It provides clear semantic explanations for all 9 parameters: identifying which belong to reference vs offset wells, explaining measured depths, inclinations, azimuths, surface location offsets, and the unit parameter with its default. This adds substantial meaning beyond the bare schema titles like 'Well1 Md' or 'Well2 Start North'. The only minor gap is not explicitly stating that arrays should be same length for each well.

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 specific action ('Check separation', 'Computes center-to-center distance', 'identifies the closest approach point') and resource ('between two well trajectories'), making the tool's purpose explicit. It distinguishes itself from sibling tools by focusing on well anticollision analysis rather than economic calculations, pressure drops, or other petroleum engineering functions listed among siblings.

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 provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing well trajectory data), exclusions (e.g., not suitable for single wells), or suggest sibling tools for related tasks like 'calculate_well_survey' or 'calculate_dogleg_severity'. Usage context is implied only through the tool's name and parameter descriptions.

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