Skip to main content
Glama

List Alerts

list_alerts
Read-onlyIdempotent

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

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "park_code": "grca"
    },
    "name": "list_alerts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo1-500 (default 50)
queryNoFree-text alert search
stateNo2-letter state code
park_codeNoparkCode(s), comma-separated

Output Schema

NameRequiredDescriptionDefault
totalYesTotal number of alerts
alertsYesList of current park alerts
returnedYesNumber of alerts in this response

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "park_code": "grca"
      +  },
      +  {
      +    "query": "closure",
      +    "state": "CO"
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "alerts": {
      +      "description": "List of current park alerts",
      +      "items": {
      +        "properties": {
      +          "category": {
      +            "description": "Alert category",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "description": {
      +            "description": "Alert description",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "id": {
      +            "description": "Alert ID",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "last_indexed": {
      +            "description": "Last indexed timestamp",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "park_code": {
      +            "description": "Park code for this alert",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "title": {
      +            "description": "Alert title",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "url": {
      +            "description": "Alert URL",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "returned": {
      +      "description": "Number of alerts in this response",
      +      "type": "number"
      +    },
      +    "total": {
      +      "description": "Total number of alerts",
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "total",
      +    "returned",
      +    "alerts"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is fully covered. The description adds useful domain context about what categories of alert data are returned, but says nothing about result volume, max page size, or ordering despite a limit parameter going up to 500. An output schema exists, so return-shape disclosure is not required.

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

Conciseness4/5

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

Two short sentences, front-loaded with the resource and its content scope, followed by the filter axes. No filler, though the comma-separated content list is slightly dense.

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?

For a filtered read-only list tool with a rich annotations block, a fully documented schema, and an output schema, the definition supplies the essential domain framing. The only notable gap is pagination/volume guidance around the limit parameter, which the schema partly covers with its '1-500 (default 50)' note.

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

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, and all four parameters (limit, query, state, park_code) are documented in the schema with formats and defaults. The description only restates two of them (parkCode, state) and adds no syntax or filtering-combination behavior beyond what the schema provides. Baseline 3 applies when the schema does the heavy lifting.

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 (park alerts) and enumerates the content types it covers: closures, road conditions, weather warnings, danger advisories. The word 'Current' implicitly separates it from the 'recent_alerts' sibling, though that sibling is never named. An agent can identify the tool's purpose without opening the schema.

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?

'Current park alerts' and 'Filter by parkCode or state' imply the usage context, and 'Current' suggests a temporal distinction from recent_alerts. However, there is no explicit statement of when to use this versus recent_alerts, and no prerequisites or exclusions are given.

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.