Skip to main content
Glama
OilpriceAPI

OilPriceAPI

Official
by OilpriceAPI

Get Well Permits

opa_get_well_permits
Read-only

Retrieve current US oil and gas well drilling permits. Filter by state or operator, or view aggregated counts by state or operator to analyze upstream permitting activity.

Instructions

Get the latest US oil & gas well drilling permit data. Use when the user asks about well permits, new drilling permits, permitting activity, or upstream permit trends. Returns available permits; optionally filtered/aggregated by state or by operator. Requires an eligible account entitlement. Use opa_get_plans for current access and pricing; the API response is authoritative.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
viewNoWhich view to return: latest (most recent permits), by_state (counts aggregated per state), or by_operator (counts aggregated per operator). Default: latest.latest
stateNoOptional US state name or 2-letter code to filter permits (e.g., 'Texas', 'TX'). Applies to the latest and by_state views.
operatorNoOperator name for the by_operator view. For richer filters and explicit freshness metadata, use opa_search_well_permits.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv3.2.0
  2. Removedv3.0.0
  3. Addedv2.3.0

TDQS

A3.9/5.0
Behavior4/5

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

With readOnlyHint and openWorldHint already in annotations, the description adds value by flagging the account entitlement requirement and noting that returns are permits with optional aggregation. No contradiction with annotations. It stops short of describing response details or error behavior, but for a simple read-only tool this is acceptable.

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 compact and front-loads the core function before usage and entitlement notes. The sentence about opa_get_plans and the authoritative API response is somewhat tangential, but it does not bloat the definition or obscure the main purpose.

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 read-only tool with three optional parameters and no output schema, the definition covers when to use it, what it returns at a high level, and an important access constraint. The lack of explicit return-field or pagination details is a minor gap given the simple enum-driven views.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Input schema coverage is 100%, and the view/state/operator properties already carry detailed descriptions, defaults, and enum options. The top-level description only repeats the aggregation concept ('filtered/aggregated by state or by operator'), so it adds little semantic value beyond the schema. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence pinpoints the resource and operation: 'Get the latest US oil & gas well drilling permit data.' It also specifies the main output shape ('available permits, optionally filtered/aggregated by state or by operator'). However, the top-level description does not explicitly contrast this with the closely related opa_search_well_permits; the distinction is only hinted at in a parameter description.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear trigger conditions: 'Use when the user asks about well permits, new drilling permits, permitting activity, or upstream permit trends,' and states the access prerequisite ('Requires an eligible account entitlement'). The description lacks an explicit 'do not use for richer searches' exclusion, though opa_search_well_permits is named in the schema.

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

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/OilpriceAPI/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server