Skip to main content
Glama

Search backcountry and wilderness permits

search_permits
Read-onlyIdempotent

Find backcountry and wilderness permits in the US, Canada, New Zealand and Australia by name, park, trail or area, for hikes, Great Walks, climbs, river and canoe trips and overnight trips in national, state and provincial parks. Use this when someone asks how to get a permit or which permit a trip needs. Returns up to 10 permits with their PermitSnag page and whether PermitSnag scans them for cancellation openings. It does not check dates; use check_availability for that, and get_permit_details for the rules of one permit. 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_permits"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many results, 1 to 10. Default 5.
queryYesA permit, trail, park or area name, like "Mount Whitney" or "Enchantments".
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
queryYesThe search as asked.
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 backcountry and wilderness permits that match the search."New value: +"Backcountry and wilderness permits 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 / usState / description
      Added value: +"The two-letter US state; null outside the US."
    • changedOutput schema / properties / state / description
      Previous value: -"The two-letter state filter, or null."New 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 backcountry and wilderness permits that match the search.",
      +  "properties": {
      +    "query": {
      +      "description": "The search as asked.",
      +      "type": "string"
      +    },
      +    "results": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "id": {
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "pageUrl": {
      +            "description": "The permit page on permitsnag.com.",
      +            "type": "string"
      +          },
      +          "park": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "scanRoute": {
      +            "description": "How PermitSnag reaches this permit for cancellation openings: direct, through a zone or starting area, through its entry points, or none.",
      +            "enum": [
      +              "direct",
      +              "via_zone",
      +              "via_children",
      +              "none",
      +              null
      +            ]
      +          },
      +          "scannable": {
      +            "description": "True when PermitSnag scans this permit for cancellation openings. Whether an alert is on offer today is in get_permit_details.",
      +            "type": "boolean"
      +          },
      +          "slug": {
      +            "type": "string"
      +          },
      +          "usState": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "slug",
      +          "name",
      +          "park",
      +          "usState",
      +          "pageUrl",
      +          "scanRoute",
      +          "scannable"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 10,
      +      "type": "array"
      +    },
      +    "state": {
      +      "description": "The two-letter state filter, or null.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "query",
      +    "state",
      +    "results"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, so the description correctly spends its words elsewhere: it discloses that it does not check dates, that results cap at 10, and that each result carries a PermitSnag page plus a cancellation-scanning flag. Return shape is partly left to the output schema, which is reasonable.

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 with purpose, then usage, then boundaries and alternatives — a sensible order with no filler. The trip-type enumeration ('hikes, Great Walks, climbs, river and canoe trips and overnight trips') is the one slightly baggy clause.

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?

For a read-only search with full annotation coverage, a complete input schema and an output schema, the description supplies everything extra an agent needs: geographic scope, per-call result cap, the no-date-checking limitation, and the handoff siblings.

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 adds only loose mapping ('by name, park, trail or area', four supported countries) without clarifying interplay between query, state, region and country or how region/state combine.

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?

Opens with a specific verb and resource ('Find backcountry and wilderness permits') and immediately narrows scope to four countries, four search axes (name, park, trail, area) and the trip types covered. An agent can distinguish this from search_campgrounds or get_permit_details from the first 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 states the triggering question ('how to get a permit or which permit a trip needs') and then routes three named alternatives: check_availability for dates, get_permit_details for one permit's rules, create_alert to set up an opening alert. Both when-to-use and when-to-use-something-else are covered.

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