Skip to main content
Glama

phmsa-orders

GET https://ticks.bnm.farm/phmsa-orders — $0.05 USDC on Base to 0xf59621FC406D266e18f314Ae18eF0a33b8401004. PHMSA pipeline enforcement-order text GET ?id= is one official text ($0.02). Newest chunk on a plain GET ($0.05); older chunk if they ask (?before, $0.05); newer than a watermark ?since= ($0.05). Unpaid returns HTTP 402. After a valid X-PAYMENT, the same URL returns JSON. Not a new SKU.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoOfficial catalog id. That one official text, $0.02. Same door, not a new SKU.
pageNo1-based page. Page 1 is the newest chunk. Ignored when since/before is set.
sinceNoISO timestamp or official catalog id. Official texts newer than this watermark, $0.05. Empty new set is 304 or recordCount 0.
beforeNoOfficial catalog id or YYYY-MM-DD. Next older chunk on the same URL, another $0.05. Omit for the newest chunk.
x_paymentNoOptional x402 X-PAYMENT value forwarded to the paid GET as the X-PAYMENT header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / page / description
      Previous value: -"1-based page. Page 1 is the newest chunk. Ignored when before is set."New value: +"1-based page. Page 1 is the newest chunk. Ignored when since/before is set."
    • addedInput schema / properties / since
      Added value: +{
      +  "description": "ISO timestamp or official catalog id. Official texts newer than this watermark, $0.05. Empty new set is 304 or recordCount 0.",
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / page / description
      Previous value: -"1-based page. Page 1 is the newest chunk. Ignored when since/before is set."New value: +"1-based page. Page 1 is the newest chunk. Ignored when before is set."
    • removedInput schema / properties / since
      Removed value: -{
      -  "description": "ISO timestamp or official catalog id. Official texts newer than this watermark, $0.05. Empty new set is 304 or recordCount 0.",
      -  "type": "string"
      -}
  3. Changed2 schema fields changed
    • changedInput schema / properties / page / description
      Previous value: -"1-based page. Page 1 is the newest chunk. Ignored when before is set."New value: +"1-based page. Page 1 is the newest chunk. Ignored when since/before is set."
    • addedInput schema / properties / since
      Added value: +{
      +  "description": "ISO timestamp or official catalog id. Official texts newer than this watermark, $0.05. Empty new set is 304 or recordCount 0.",
      +  "type": "string"
      +}
  4. 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 behavioral burden. It discloses payment pricing, the x402 X-PAYMENT flow, the unpaid 402 response, the paid JSON return, and the chunking/watermark semantics. It does not mention rate limits or response structure details, but the critical payment-gated behavior is clearly exposed.

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 description is dense and information-rich, but it is structured as a run-on set of clauses with repeated price mentions and the confusing 'Not a new SKU' aside. It is concise in length but could be better organized with clearer sentence boundaries or bullets.

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?

Given there is no output schema, the description covers the essential invocation context: endpoint, auth/payment mechanism, error behavior (402), successful response type (JSON after valid X-PAYMENT), and pagination semantics. It is slightly incomplete on what the JSON payload contains for a paid text request, but for the core paid-API flow it is sufficiently complete.

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

Parameters5/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, but the description adds significant meaning beyond the schema: cost per parameter, page-1 being the newest chunk, since/before being mutually relevant pagination controls, and the X-PAYMENT forwarding behavior. This materially helps an agent choose and fill parameters correctly.

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 (PHMSA pipeline enforcement-order text) and the action (GET on https://ticks.bnm.farm/phmsa-orders), making the core purpose clear. It is not a full 5 because the 'Not a new SKU' phrasing is cryptic and the description does not explicitly contrast with sibling order/report tools beyond the agency-specific name.

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 gives concrete usage branches: use ?id= for one official text, a plain GET for the newest chunk, ?before= for an older chunk, and ?since= for newer-than-watermark texts. It also explains the payment requirement and HTTP 402 for unpaid requests. It lacks an explicit 'use this instead of sibling X' statement, but for a per-agency data endpoint this is adequate.

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.