Skip to main content
Glama

Royalty Clerk

Texas oil and gas wells near a place

wells_near

Oil and gas wells near a Texas place, from Railroad Commission of Texas records: located wells within 1, 3, 10 miles by status (producing, idle, plugged), the 10 nearest wells (API number, operator, lease, distance), drilling permits of the last 12 months within 10 miles with the newest 10, the data date, a link to the place's page and the credit line to show. Give exactly one place: town, county, zip, or lat and lon. Street addresses are not accepted.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "wells_near"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNoLatitude in decimal degrees, with lon. Rounded to two decimals (about a kilometre).
lonNoLongitude in decimal degrees, with lat.
zipNoA Texas ZIP code: 79701.
townNoA Texas town by name or page name: Midland, Karnes City, midland-tx.
countyNoA Texas county by name or 5-digit FIPS code: Karnes, Karnes County, 48255.

Output Schema

NameRequiredDescriptionDefault
areaYesInside the county line or the ZIP code's Census outline: wells by status, and drilling permits issued in the last 12 months. Null for a town or a point.
dataYes
linksYes
placeYes
ringsYesLocated wells within 1, 3, 10 miles of the point, by status; each circle includes the smaller ones. Empty for a county.
creditYesShow this line, with a link to links.page, wherever the figures are shown.
nearestYesThe 10 located wells nearest the point, nearest first. Empty for a county.
permitsYesDrilling permits issued in the last 12 months within 10 miles of the point (in the county, for a county).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does disclose real behavior: the data vintage (data date, permits from the last 12 months), the output composition, and an obligation to display a credit line and place-page link. It does not cover error behavior for an unresolvable or ambiguous place, nor any rate/usage limits, which keeps it below a 5.

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?

Two sentences, no filler, and the resource identity is front-loaded before the payload detail. The first sentence is long because it enumerates returned fields, which is partly redundant with the output schema, but it stays readable and every clause carries 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?

For a five-parameter, no-annotation, output-schema-backed tool, the description covers source, scope, input constraint, and data freshness adequately. The remaining gap is failure/ambiguity behavior (what happens with a non-Texas or ambiguous place name), which an agent would need before calling it confidently.

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 100%, so the baseline is 3, and the description adds meaning beyond the schema by stating that exactly one of town/county/zip/lat+lon must be supplied and that street addresses are rejected — a constraint absent from the schema itself. That extra rule is what pushes it above baseline.

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 first clause states a specific verb and resource — oil and gas wells near a Texas place — and names the authoritative source (Railroad Commission of Texas records). It then enumerates scope (1/3/10 mile radii, status breakdown, 10 nearest wells, 12 months of permits), which makes it unmistakable against siblings like county_stats or operator_profile.

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 gives an input constraint — supply exactly one place, no street addresses — which is genuinely useful selection guidance. However, it never says when to choose this tool over the sibling tools; the agent must infer that from names and the purpose sentence alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.