list_alerts

Pack: nps · Endpoint: https://gateway.pipeworx.io/nps/mcp

Current park alerts — closures, road conditions, weather warnings, danger advisories. Filter by parkCode or state.

Parameters

NameTypeRequiredDescription
park_codestringnoparkCode(s), comma-separated
statestringno2-letter state code
querystringnoFree-text alert search
limitnumberno1-500 (default 50)

Example call

Arguments

{
  "park_code": "grca"
}

curl

curl -X POST https://gateway.pipeworx.io/nps/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_alerts","arguments":{"park_code":"grca"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('list_alerts', {
  "park_code": "grca"
});

More examples

{
  "state": "CO",
  "query": "closure"
}

Response shape

Always returns: total, returned, alerts

FieldTypeDescription
totalnumberTotal number of alerts
returnednumberNumber of alerts in this response
alertsarrayList of current park alerts
Full JSON Schema
{
  "type": "object",
  "properties": {
    "total": {
      "type": "number",
      "description": "Total number of alerts"
    },
    "returned": {
      "type": "number",
      "description": "Number of alerts in this response"
    },
    "alerts": {
      "type": "array",
      "description": "List of current park alerts",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "Alert ID"
          },
          "park_code": {
            "type": [
              "string",
              "null"
            ],
            "description": "Park code for this alert"
          },
          "title": {
            "type": [
              "string",
              "null"
            ],
            "description": "Alert title"
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Alert description"
          },
          "category": {
            "type": [
              "string",
              "null"
            ],
            "description": "Alert category"
          },
          "url": {
            "type": [
              "string",
              "null"
            ],
            "description": "Alert URL"
          },
          "last_indexed": {
            "type": [
              "string",
              "null"
            ],
            "description": "Last indexed timestamp"
          }
        }
      }
    }
  },
  "required": [
    "total",
    "returned",
    "alerts"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "nps": {
      "url": "https://gateway.pipeworx.io/nps/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026