Skip to main content
Glama

Search campgrounds

search_campgrounds
Read-onlyIdempotent

Find campgrounds in the US, Canada, New Zealand and Australia by name, area, state or province, across Recreation.gov, state and provincial park and national park booking systems. Use this when someone wants a place to camp or asks about a specific campground. Returns up to 10 campgrounds with their PermitSnag page, their booking system, and whether PermitSnag can send an alert when a site opens. It does not check dates; use check_availability for that. An opening alert is set up with create_alert.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "search_campgrounds"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many results, 1 to 10. Default 5.
queryYesA campground name or area, like "Upper Pines" or "Big Sur".
stateNoOptional two-letter US state code, like CA for California. It limits the search to the US.
regionNoOptional province, state or territory outside the US, by name or abbreviation, like British Columbia, BC, Tasmania or NSW.
countryNoOptional country: US, CA (Canada), NZ (New Zealand) or AU (Australia). Omit to search all four.

Output Schema

NameRequiredDescriptionDefault
queryYes
stateYesThe two-letter US state filter, or null.
regionNoThe province, state or territory filter outside the US, as a slug, or null.
countryNoThe country filter, or null for all four.
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • addedInput schema / properties / country
      Added value: +{
      +  "description": "Optional country: US, CA (Canada), NZ (New Zealand) or AU (Australia). Omit to search all four.",
      +  "enum": [
      +    "US",
      +    "CA",
      +    "NZ",
      +    "AU"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / region
      Added value: +{
      +  "description": "Optional province, state or territory outside the US, by name or abbreviation, like British Columbia, BC, Tasmania or NSW.",
      +  "maxLength": 60,
      +  "type": "string"
      +}
    • changedInput schema / properties / state / description
      Previous value: -"Optional two-letter US state code to narrow results, like CA."New value: +"Optional two-letter US state code, like CA for California. It limits the search to the US."
    • changedOutput schema / description
      Previous value: -"US campgrounds that match the search."New value: +"Campgrounds in the US, Canada, New Zealand and Australia that match the search."
    • addedOutput schema / properties / country
      Added value: +{
      +  "description": "The country filter, or null for all four.",
      +  "enum": [
      +    "US",
      +    "CA",
      +    "NZ",
      +    "AU",
      +    null
      +  ],
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / region
      Added value: +{
      +  "description": "The province, state or territory filter outside the US, as a slug, or null.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / country
      Added value: +{
      +  "description": "The country: US, CA (Canada), NZ (New Zealand) or AU (Australia).",
      +  "enum": [
      +    "US",
      +    "CA",
      +    "NZ",
      +    "AU"
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / region
      Added value: +{
      +  "description": "Outside the US, the province, state or territory as a slug.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / state / description
      Added value: +"The US state; null outside the US."
    • addedOutput schema / properties / state / description
      Added value: +"The two-letter US state filter, or null."
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "description": "US campgrounds that match the search.",
      +  "properties": {
      +    "query": {
      +      "type": "string"
      +    },
      +    "results": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "bookingSystem": {
      +            "type": "string"
      +          },
      +          "depth": {
      +            "description": "site_level: our checks count individual sites. campground_level: the booking system reports the campground as a whole.",
      +            "enum": [
      +              "site_level",
      +              "campground_level"
      +            ]
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "pageUrl": {
      +            "type": "string"
      +          },
      +          "scannable": {
      +            "description": "True when PermitSnag checks this campground for openings. Whether an alert is on offer today is in get_campground_details.",
      +            "type": "boolean"
      +          },
      +          "state": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "name",
      +          "state",
      +          "bookingSystem",
      +          "depth",
      +          "pageUrl",
      +          "scannable"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 10,
      +      "type": "array"
      +    },
      +    "state": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "query",
      +    "state",
      +    "results"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful context: the result cap, the fact that each result carries a PermitSnag page, booking system, and alert-eligibility flag, and that date filtering is out of scope. It stops short of covering pagination, ranking, or empty-result behavior. Note the mild tension between the multi-system external sourcing described here and openWorldHint=false, though it does not rise to a contradiction.

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?

Front-loaded purpose followed by use case, return shape, and two routing redirects — a sensible order with no filler sentences. Slight redundancy in "Returns up to 10 campgrounds," which repeats the schema's limit maximum of 10.

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?

An output schema exists and the annotations are rich, so the description's job is routing and scope, which it delivers: what it searches, what it does not do, and which sibling handles the adjacent tasks. Nothing an agent needs in order to call this correctly is missing.

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%, so the baseline is 3. The description restates the search axes in prose, but the schema already carries the US-only constraint on state, the province/territory meaning of region, and the country enum. No additional format or precedence guidance (e.g., how query interacts with state/region) is provided.

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 verb and resource ("Find campgrounds") plus the geographic scope (US, Canada, New Zealand, Australia) and the search axes (name, area, state or province). An agent can distinguish it from search_permits or get_campground_details from this sentence alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly names the triggering intent ("when someone wants a place to camp or asks about a specific campground") and gives two exclusions with named alternatives: dates go to check_availability, opening alerts go to create_alert. This is the when/when-not/alternative pattern done properly.

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.

Resources