Skip to main content
Glama

WellState Labs SB 1150 Screening (read-only)

Get the plug record

get_plug_record
Read-onlyIdempotent

Returns the publication's plug record (contract 1.4.0 and later): W-3 plug dates on the Railroad Commission of Texas Full Wellbore file, counted by the calendar year the operator reported and by district, as published. Without a district it returns the statewide count for each year and each district's count for each year. With a district it returns that district's years with state-funded plug numbers, well types and district bases. With rows_limit it pages the per-wellbore rows one district and one year's count is made of, each with the line of the Full Wellbore file it was read from. Every response carries the publication's claims with their labels (DOCUMENTED_FACT, INFERENCE, UNKNOWN), the two UNKNOWN claims that travel with every count, and the publication's statement of what the record is not. This server computes no figure from these counts and combines none with the screening counts. On an edition without a plug record the plug_record field is null.

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": "get_plug_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
districtNoA district key of the plug record: a Commission district (e.g. 08, 7C, 8A) or NOT_IN_SOURCE for wellbore-years the file gives no district. Omit for the statewide years and every district's counts.
last_yearNoLast calendar year returned. Default: the last year of the plug record's window.
first_yearNoFirst calendar year returned. Default: the first year of the plug record's window.
rows_limitNoPer-wellbore rows to return, 0-200. Default 0 (counts only). Rows are served for one district and one year per call: pass district, and first_year equal to last_year.
rows_offsetNoRows to skip before the first one returned, for paging. Default 0.

Output Schema

NameRequiredDescriptionDefault
noteYes
termsYes
boundaryYes
plug_recordYes
contract_versionYes
publication_rootYes

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",
      -  "contract_version",
      -  "note",
      -  "plug_record"
      -]New value: +[
      +  "boundary",
      +  "terms",
      +  "publication_root",
      +  "contract_version",
      +  "note",
      +  "plug_record"
      +]
  3. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the description earns credit for what it adds on top: every response carries provenance labels (DOCUMENTED_FACT, INFERENCE, UNKNOWN), two UNKNOWN claims always accompany a count, and on an edition without a plug record the field is null. That nullability and provenance disclosure is real behavioral context an agent cannot get from the annotations or schema.

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

Conciseness3/5

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

The purpose and mode behavior are front-loaded, but the body is one dense block of long, heavily subordinated sentences ("the two UNKNOWN claims that travel with every count," "the publication's statement of what the record is not") that force re-reading. Some clauses, particularly the closing meta-remarks about what the record is not, could be tightened without losing meaning.

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?

This is a complex, multi-mode tool with five optional parameters and an output schema, and the description covers the mode branching, the version precondition, the null case, and provenance labeling. Since an output schema exists, the description is not obliged to detail return shapes, so the remaining gap is minor domain scaffolding rather than a missing agent-critical fact.

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 baseline is 3, but the description goes further by explaining what district absent vs present actually returns and by constraining rows_limit ("one district and one year per call"), which matches the schema's note about passing district with first_year equal to last_year. Only rows_offset is left entirely to the schema.

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 names a specific resource ("the publication's plug record") with a version gate (contract 1.4.0 and later) and enumerates exactly what the record contains (W-3 plug dates on the Railroad Commission Full Wellbore file, counted by reported calendar year and district). It also implicitly separates itself from the screening tools by stating it "combines none with the screening counts," though it never names a sibling tool outright.

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?

Each parameter combination is given an explicit outcome: no district yields statewide years plus per-district counts, a district yields that district's funded years and well types, and rows_limit yields the underlying per-wellbore rows. The description also sets a precondition ("contract 1.4.0 and later") and an exclusion (no combining with screening counts), but it never points to an alternative tool for the adjacent question.

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