Skip to main content
Glama

national-parks-mcp-server: get activities

nps_get_activities
Read-only

Curated things to do and points of interest at a park — title, description, time commitment, location, accessibility, fees, pet rules, and reservation details. Covers the NPS editorially-curated activity list (distinct from a park's raw activity tags in nps_get_park). Accepts a single 4-letter park code or a single two-letter state code, and at least one is required. Not every park has a curated list; an empty result is not an error.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum activities to return (1–50).
queryNoFree-text search across activity titles/descriptions (e.g. "sunrise", "hike", "tour").
startNoZero-based pagination offset.
parkCodeNoA single 4-letter lowercase park code (e.g. "acad"). Get it from nps_find_parks. Accepts one park code, not a list. Provide parkCode or stateCode.
stateCodeNoA single two-letter state code (e.g. "ME"). Returns curated activities across NPS sites in that state.

Output Schema

NameRequiredDescriptionDefault
capNoLimit applied (populated when results were truncated).
errorNoPresent when the call failed. Absent on success.
shownNoActivities returned in this response (populated when capped by limit).
noticeNoGuidance on the result set: where else to look when no curated activities matched, the start value for the next page when more matched, or the way back when start ran past the end.
truncatedNoTrue when more activities matched than this response returned; absent on a complete result.
activitiesNoCurated activities and points of interest for the requested park/state.
totalCountNoTotal activities matching the filter before the limit was applied.
appliedFiltersNoEcho of parkCode/stateCode/query as applied.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedOutput schema / properties / activities / items / properties / parkCode / description
      Previous value: -"Park code the activity belongs to, or null if absent."New value: +"Requested park code if listed for this activity, otherwise its first related park code, or null if unavailable."
    • addedOutput schema / properties / activities / items / properties / petsDescription
      Added value: +{
      +  "description": "Pet rules or restrictions as plain text, or null.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / activities / items / properties / petsPermitted / description
      Previous value: -"Whether pets are permitted."New value: +"Whether pets are permitted, subject to park rules."
    • addedOutput schema / properties / activities / items / properties / reservationDescription
      Added value: +{
      +  "description": "Reservation or permit details as plain text, or null.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / activities / items / required
      Previous value: -[
      -  "id",
      -  "title",
      -  "parkCode",
      -  "shortDescription",
      -  "location",
      -  "latitude",
      -  "longitude",
      -  "duration",
      -  "reservationRequired",
      -  "feeDescription",
      -  "petsPermitted",
      -  "accessibility",
      -  "season",
      -  "url"
      -]New value: +[
      +  "id",
      +  "title",
      +  "parkCode",
      +  "shortDescription",
      +  "location",
      +  "latitude",
      +  "longitude",
      +  "duration",
      +  "reservationRequired",
      +  "reservationDescription",
      +  "feeDescription",
      +  "petsPermitted",
      +  "petsDescription",
      +  "accessibility",
      +  "season",
      +  "url"
      +]
  2. Changed6 schema fields changed
    • removedInput schema / properties / parkCode / pattern
      Removed value: -"^[a-z]{4}$"
    • removedInput schema / properties / stateCode / pattern
      Removed value: -"^[A-Za-z]{2}$"
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `missing_filter`: Neither parkCode nor stateCode provided. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `missing_filter`: Neither parkCode nor stateCode provided. `invalid_park_code`: parkCode isn't a single 4-letter lowercase code. `invalid_state_code`: stateCode isn't a single two-letter code. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "missing_filter"
      -]New value: +[
      +  "missing_filter",
      +  "invalid_park_code",
      +  "invalid_state_code"
      +]
    • changedOutput schema / properties / notice / description
      Previous value: -"Guidance when no curated activities matched."New value: +"Guidance on the result set: where else to look when no curated activities matched, the start value for the next page when more matched, or the way back when start ran past the end."
    • addedOutput schema / properties / truncated
      Added value: +{
      +  "description": "True when more activities matched than this response returned; absent on a complete result.",
      +  "type": "boolean"
      +}
  3. Changed16 schema fields changed
    • removedOutput schema / properties / activities / items / properties / accessibility / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / activities / items / properties / accessibility / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / activities / items / properties / duration / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / activities / items / properties / duration / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / activities / items / properties / feeDescription / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / activities / items / properties / feeDescription / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / activities / items / properties / latitude / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / activities / items / properties / latitude / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / activities / items / properties / location / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / activities / items / properties / location / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / activities / items / properties / longitude / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / activities / items / properties / longitude / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / activities / items / properties / parkCode / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / activities / items / properties / parkCode / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / activities / items / properties / url / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / activities / items / properties / url / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  4. Changed6 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / additionalProperties
      Added value: +false
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "not": {
      +      "required": [
      +        "error"
      +      ]
      +    },
      +    "required": [
      +      "activities",
      +      "totalCount",
      +      "appliedFilters"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "error"
      +    ]
      +  }
      +]
    • addedOutput schema / properties / error
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Present when the call failed. Absent on success.",
      +  "properties": {
      +    "code": {
      +      "description": "JSON-RPC error code for this failure.",
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "data": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "reason": {
      +          "description": "Machine-readable failure mode. Declared by this tool: `missing_filter`: Neither parkCode nor stateCode provided. Other values are possible when a failure originates below the handler.",
      +          "examples": [
      +            "missing_filter"
      +          ],
      +          "type": "string"
      +        },
      +        "recovery": {
      +          "additionalProperties": {},
      +          "description": "Actionable next step for the caller.",
      +          "properties": {
      +            "hint": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "hint"
      +          ],
      +          "type": "object"
      +        },
      +        "retryable": {
      +          "description": "Whether retrying may succeed.",
      +          "type": "boolean"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "message": {
      +      "description": "Human-readable description of what went wrong.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "message"
      +  ],
      +  "type": "object"
      +}
    • removedOutput schema / required
      Removed value: -[
      -  "activities",
      -  "totalCount",
      -  "appliedFilters"
      -]
  5. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover readOnly and openWorld semantics, and the description adds real behavioral context beyond them: coverage is not universal across parks, an empty result is not a failure, and only a single code (not a list) is accepted. It does not discuss rate limits or result ordering, but the key failure mode an agent would hit is disclosed.

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?

Three front-loaded sentences with no filler; the returned-field list comes first, then the disambiguation from the sibling, then the input constraint. The field enumeration is slightly redundant given an output schema exists, but it is compact and reads as orientation rather than padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, the description need not explain return values, and it covers purpose, sibling differentiation, input constraints, and the empty-result edge case. Nothing an agent needs in order to call this correctly or interpret a null response is missing.

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 would be 3, but the description adds a constraint the schema does not express: no parameters are formally required yet 'at least one' of parkCode or stateCode must be supplied, and only singly, not as lists. That is genuine meaning beyond the structured fields.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific resource ('Curated things to do and points of interest at a park') with the returned fields enumerated, and explicitly distinguishes itself from 'a park's raw activity tags in nps_get_park'. An agent can tell this apart from nps_get_park without opening either schema.

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?

Gives clear context for use: pass a park code or a state code, and at least one is required. It also sets an expectation that empty results are normal and not an error, which prevents wasteful retries. It stops short of routing to sibling tools for related needs (e.g. events), so it is clear but not exhaustive.

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.