{
  "tools": [
    {
      "name": "watchtower.quote_read",
      "description": "Create a free quote for 1–12 months of EIA U.S. crude oil production. Returns the quote ID, the project owner’s chosen price in USD cents, and its expiry. Creating the quote does not buy data.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "intentId": {
            "type": "string",
            "format": "uuid",
            "description": "A new lowercase UUID for this request. Reuse it only for the same period and series; it identifies the same quote intent."
          },
          "params": {
            "type": "object",
            "properties": {
              "dataset": {
                "const": "monthly-history-energy",
                "type": "string",
                "description": "The prepaid dataset identifier: monthly-history-energy."
              },
              "entity": {
                "const": "eia-pet:MCRFPUS1",
                "type": "string",
                "description": "The EIA series identifier for U.S. field production of crude oil: eia-pet:MCRFPUS1."
              },
              "from": {
                "type": "string",
                "pattern": "^\\d{4}-(0[1-9]|1[0-2])$",
                "description": "First included month in YYYY-MM format. The full range must span 1–12 months."
              },
              "to": {
                "type": "string",
                "pattern": "^\\d{4}-(0[1-9]|1[0-2])$",
                "description": "Last included month in YYYY-MM format, no earlier than the start month."
              }
            },
            "required": [
              "dataset",
              "entity",
              "from",
              "to"
            ],
            "additionalProperties": false,
            "description": "The series and inclusive monthly date range to quote."
          }
        },
        "required": [
          "intentId",
          "params"
        ],
        "additionalProperties": false
      },
      "title": "Get a free energy-data quote",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      }
    },
    {
      "name": "watchtower.run_quoted_read",
      "description": "Run an unexpired quote after the user approves its spending ceiling. A completed read settles against prepaid credit; incomplete reads are not billed. Returns source units, a receipt and the first result page. Replaying the same read within five minutes adds no charge.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "quoteId": {
            "type": "string",
            "format": "uuid",
            "description": "The quoteId returned by watchtower.quote_read for the approved request."
          },
          "currency": {
            "const": "USD",
            "type": "string",
            "description": "Currency used by the quote and the spending ceiling. For Watchtower Connect this must be USD."
          },
          "maxChargeMinor": {
            "type": "integer",
            "minimum": 0,
            "maximum": 100000,
            "description": "Maximum charge the user approves, in integer US cents for this read. The quoted price and all account, project and key caps still apply."
          }
        },
        "required": [
          "quoteId",
          "currency",
          "maxChargeMinor"
        ],
        "additionalProperties": false
      },
      "title": "Run an approved prepaid read",
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      }
    },
    {
      "name": "watchtower.read_result_page",
      "description": "Retrieve the next page of an already completed read within its five-minute replay window. Returns the next monthly observation and continuation cursor, if any. Paging adds no charge.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "readHandle": {
            "type": "string",
            "format": "uuid",
            "description": "The readHandle returned by the completed read. Use the same project credentials that ran it."
          },
          "cursor": {
            "type": "string",
            "description": "The opaque nextCursor from the preceding result page. When nextCursor is null, there are no more pages."
          }
        },
        "required": [
          "readHandle",
          "cursor"
        ],
        "additionalProperties": false
      },
      "title": "Read another result page",
      "annotations": {
        "readOnlyHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      }
    }
  ]
}
