Skip to main content
Glama
OilpriceAPI

OilPriceAPI

Official
by OilpriceAPI

Get Well Production

opa_get_well_production
Read-only

Retrieve US oil and gas production data by state, individual well, or top producer, and analyze drill-to-production cycle times.

Instructions

Get US oil & gas well production data (BETA coverage: monthly state-level production from EIA + selected state regulators, and well-level histories for selected states only — NOT complete US well-level production). Views: summary (national + top states), states (all reporting states, latest month), state (monthly history for one state), well (monthly history for one well by 14-digit API number), top_producers (highest-output wells, optionally by state), cycle_time (permit-to-production cycle time stats, optionally by state), cohorts (cycle times by spud quarter). Use when the user asks about oil/gas production volumes by state or well, top producing wells, or drill-to-production cycle times. Requires the well-permits add-on or an enterprise plan.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
viewNoWhich view to return: summary (national + top states), states (all reporting states), state (one state's monthly history — requires 'state'), well (one well's monthly history — requires 'api_number'), top_producers, cycle_time, or cohorts. Default: summary.summary
stateNoUS state name or 2-letter code (e.g., 'Texas', 'TX'). Required for the state view; optional filter for top_producers and cycle_time.
api_numberNo14-digit API well number (e.g., '42329447130000'). Required for the well view.
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the agent knows it is safe. The description adds valuable behavioral context: BETA coverage, limited well-level histories, availability of multiple views, and the requirement for an add-on/plan. These details go beyond the annotations and help the agent set expectations, though no rate limits or error behavior are disclosed. No contradiction exists.

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 moderately long (around 100 words) but every sentence serves a purpose: purpose, coverage caveat, view list, usage scenarios, and access requirements. The use of parentheses and a compact enumeration keeps it structured. It is thoroughly front-loaded with the main verb and resource in the first sentence.

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 multi-view tool with no output schema, the description covers the essential ground: data coverage, view semantics, required parameters per view, and plan prerequisites. It doesn't spell out response formats, but the view summaries provide enough for an agent to reason about expected outputs. Minor gaps include lack of error/edge-case behavior, but overall it's complete enough for safe invocation.

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?

The input schema has 100% coverage and already describes each parameter, including the enum values and dependencies. The description reinforces these by explaining what each view returns (e.g., 'monthly history for one state' for the state view, 'highest-output wells' for top_producers). While not adding new parameter syntax, it adds semantic richness beyond the schema, making the baseline 3 become a 4.

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 function: 'Get US oil & gas well production data' with explicit scope and a BETA coverage caveat. It enumerates seven distinct views, distinguishing it from sibling tools like opa_get_well_permits or opa_lookup_well. The purpose is specific, verifiable, and not a tautology.

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?

The description provides explicit when-to-use guidance: 'Use when the user asks about oil/gas production volumes by state or well, top producing wells, or drill-to-production cycle times.' It also warns about incomplete US well-level production, implying when it's not suitable, but does not explicitly name alternative tools or provide a clear when-not-to-use list. This is a strong 4, missing only explicit alternatives.

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

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