Skip to main content
Glama

WellState Labs SB 1150 Screening (read-only)

List an operator's wellbores

list_operator_wells
Read-onlyIdempotent

Lists one operator's wellbore claims from the publication, filtered by outcome (AFFECTED, APPROACHING or ALL; default AFFECTED) and sorted by Commission-published plugging cost descending, unpriced wellbores last, then by API number. Returns one page of at most 100 rows plus the number matching and the Commission-published cost total over all matching rows (the same on every page). When more rows remain, next_cursor is set: pass it back as cursor, with the same operator_number and outcome, for the next page. A cursor is bound to the publication root that issued it.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "operator_number": "<operator_number>"
    },
    "name": "list_operator_wells"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum rows on this page, 1-100. Default 25.
cursorNonext_cursor from the previous page, unchanged. Omit for the first page. Refused when it was issued for another publication root, operator or outcome.
outcomeNoAFFECTED: affected at the evaluation date. APPROACHING: not affected then but affected by 2042-09-01 (compliance-plan horizon). ALL: every claim. Default AFFECTED.AFFECTED
operator_numberYesSix-digit Railroad Commission of Texas operator number, with leading zeros (e.g. 276959).

Output Schema

NameRequiredDescriptionDefault
linkYes
sortYes
termsYes
wellsYes
offsetYesPosition of this page's first row in the full sorted listing, from 0.
boundaryYes
returnedYes
truncatedYesTrue when rows remain after this page.
next_cursorYesPass as cursor for the next page; null on the last page.
display_nameYes
outcome_filterYes
total_matchingYes
operator_numberYes
publication_rootYes
matching_unpriced_countYes
matching_commission_published_totalYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / terms / const
      Previous value: -"https://mcp.wellstatelabs.com/terms"New value: +"https://wellstatelabs.com/legal/terms"
  2. Changed2 schema fields changed
    • addedOutput schema / properties / terms
      Added value: +{
      +  "const": "https://mcp.wellstatelabs.com/terms",
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "boundary",
      -  "publication_root",
      -  "operator_number",
      -  "display_name",
      -  "outcome_filter",
      -  "sort",
      -  "total_matching",
      -  "returned",
      -  "truncated",
      -  "offset",
      -  "next_cursor",
      -  "matching_commission_published_total",
      -  "matching_unpriced_count",
      -  "wells",
      -  "link"
      -]New value: +[
      +  "boundary",
      +  "terms",
      +  "publication_root",
      +  "operator_number",
      +  "display_name",
      +  "outcome_filter",
      +  "sort",
      +  "total_matching",
      +  "returned",
      +  "truncated",
      +  "offset",
      +  "next_cursor",
      +  "matching_commission_published_total",
      +  "matching_unpriced_count",
      +  "wells",
      +  "link"
      +]
  3. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare the safe read-only, idempotent profile, and the description layers on genuinely new behavior: the page cap of 100, the sort key (cost descending, unpriced last, then API number), and the fact that the match count and cost total are computed over all rows and repeat on every page. The cursor-binding rule to a publication root is also disclosed, which is exactly the kind of constraint an agent would otherwise trip over.

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

Conciseness5/5

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

Four sentences, none wasted, front-loaded with the resource and filter before the sort, return shape and pagination details. Dense but readable, with the paging contract stated in the order an agent needs it.

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

Completeness5/5

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

For a paginated, sorted list tool with a full schema, complete annotations and an output schema, the description covers everything an agent needs to call it correctly: ordering, page size, what the totals mean across pages, and cursor invariants. Return-value structure is correctly left to the output schema.

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 still adds meaning: the cursor is only valid with the same operator_number and outcome that issued it, and 'unpriced wellbores last' clarifies how cost-sorting treats rows the schema never mentions. The outcome enum's substantive meaning lives in the schema, so the description does not need to repeat it.

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 description gives a precise verb and resource ('Lists one operator's wellbore claims from the publication') plus the filter and sort semantics, so an agent knows exactly what the call produces. It never names a sibling (e.g. get_operator_exposure or screen_operators), so the boundary with those tools must be inferred rather than read.

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?

Usage guidance is operational rather than selective: it explains how to page ('pass it back as cursor, with the same operator_number and outcome') but not when to choose this tool over get_operator_exposure or screen_operators. The default of AFFECTED implies the common case, but there is no explicit when-not guidance.

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.

Resources