Skip to main content
Glama

Backcountry permit rules and dates

get_permit_details
Read-onlyIdempotent

Get the rules for one US backcountry or wilderness permit: how it is issued (reservation, lottery or in person), its season, lottery and release dates, closures, group size limit, and the official agency page. Use it after search_permits, or when the person names a specific permit. Every date comes from an agency source; a date we cannot source is left out. Says whether PermitSnag can send an alert when the permit opens. To set one up in the person's own PermitSnag account, use create_alert (it asks the person to sign in to PermitSnag).

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": {
      "permit": "<permit>"
    },
    "name": "get_permit_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
permitYesThe permit id or slug from search_permits, or its permitsnag.com page URL.

Output Schema

NameRequiredDescriptionDefault
idNo
nameNo
parkNo
slugNo
alertNo
foundNoPresent, and false, only when nothing matched.
regionNoOutside the US, the province, state or territory as a slug.
seasonNoThe agency's season or closure state, with agency words in quoted fields.
countryNoThe country: US, CA (Canada), NZ (New Zealand) or AU (Australia).
pageUrlNo
usStateNoThe two-letter US state; null outside the US.
issuanceNoHow the permit is issued, in plain words.
checkedAtNoWhen this answer was composed, ISO 8601.
scanRouteNoHow PermitSnag reaches this permit for cancellation openings: direct, through a zone or starting area, through its entry points, or none.
agencyDatesNoUpcoming dates from an agency source (lottery opens, closes, results, claims).
descriptionNo
officialUrlNoThe agency's own permit page.
releaseRulesNoThe agency schedule for when dates go on sale.
groupSizeLimitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedOutput schema / description
      Previous value: -"The rules and sourced dates of one US backcountry or wilderness permit, or found: false."New value: +"The rules and sourced dates of one backcountry or wilderness permit (US, Canada, New Zealand or Australia), or found: false."
    • addedOutput schema / properties / country
      Added value: +{
      +  "description": "The country: US, CA (Canada), NZ (New Zealand) or AU (Australia).",
      +  "enum": [
      +    "US",
      +    "CA",
      +    "NZ",
      +    "AU"
      +  ]
      +}
    • addedOutput schema / properties / region
      Added value: +{
      +  "description": "Outside the US, the province, state or territory as a slug.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / usState / description
      Added value: +"The two-letter US state; null outside the US."
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "anyOf": [
      +    {
      +      "required": [
      +        "id",
      +        "slug",
      +        "name",
      +        "park",
      +        "usState",
      +        "pageUrl",
      +        "officialUrl",
      +        "issuance",
      +        "scanRoute",
      +        "alert",
      +        "season",
      +        "agencyDates",
      +        "releaseRules",
      +        "groupSizeLimit",
      +        "description",
      +        "checkedAt"
      +      ]
      +    },
      +    {
      +      "required": [
      +        "found"
      +      ]
      +    }
      +  ],
      +  "description": "The rules and sourced dates of one US backcountry or wilderness permit, or found: false.",
      +  "properties": {
      +    "agencyDates": {
      +      "description": "Upcoming dates from an agency source (lottery opens, closes, results, claims).",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "agencyQuote": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "date": {
      +            "description": "YYYY-MM-DD.",
      +            "type": "string"
      +          },
      +          "sourceUrl": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "type": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "type",
      +          "date",
      +          "sourceUrl",
      +          "agencyQuote"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 8,
      +      "type": "array"
      +    },
      +    "alert": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "available": {
      +          "description": "True only when PermitSnag can send an alert for this place right now.",
      +          "type": "boolean"
      +        },
      +        "pageUrl": {
      +          "description": "The PermitSnag page where an alert is set up, or where to read what to do instead.",
      +          "type": "string"
      +        },
      +        "reason": {
      +          "description": "Why an alert is or is not on offer.",
      +          "enum": [
      +            "eligible",
      +            "lottery_period",
      +            "out_of_season",
      +            "closed",
      +            "no_quota_now",
      +            "lottery_draw_only",
      +            "not_sold_online",
      +            "not_tracked"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "available",
      +        "reason",
      +        "pageUrl"
      +      ],
      +      "type": "object"
      +    },
      +    "checkedAt": {
      +      "description": "When this answer was composed, ISO 8601.",
      +      "type": "string"
      +    },
      +    "description": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "found": {
      +      "const": false,
      +      "description": "Present, and false, only when nothing matched."
      +    },
      +    "groupSizeLimit": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "id": {
      +      "type": "string"
      +    },
      +    "issuance": {
      +      "description": "How the permit is issued, in plain words.",
      +      "type": "string"
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "officialUrl": {
      +      "description": "The agency's own permit page.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "pageUrl": {
      +      "type": "string"
      +    },
      +    "park": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "releaseRules": {
      +      "description": "The agency schedule for when dates go on sale.",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "agencyQuote": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "kind": {
      +            "type": "string"
      +          },
      +          "sourceUrl": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "kind",
      +          "sourceUrl",
      +          "agencyQuote"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 4,
      +      "type": "array"
      +    },
      +    "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
      +      ]
      +    },
      +    "season": {
      +      "additionalProperties": true,
      +      "description": "The agency's season or closure state, with agency words in quoted fields.",
      +      "properties": {
      +        "agency": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "agencyQuote": {
      +          "description": "The agency's own words, capped.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "closedParts": {
      +          "description": "Named parts that are closed while the rest stays open.",
      +          "items": {
      +            "additionalProperties": true,
      +            "properties": {
      +              "agencyQuote": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "name": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "reopensOn": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "since": {
      +                "type": "string"
      +              },
      +              "url": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "maxItems": 5,
      +          "type": "array"
      +        },
      +        "closesOn": {
      +          "description": "YYYY-MM-DD the agency says the season closes.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "closure": {
      +          "additionalProperties": true,
      +          "description": "A closure of the whole place, when the agency posted one.",
      +          "properties": {
      +            "agency": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "incident": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "readAt": {
      +              "type": "string"
      +            },
      +            "reopensOn": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "since": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "url": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "offer": {
      +          "description": "What the page offers in this season.",
      +          "type": "string"
      +        },
      +        "opensOn": {
      +          "description": "YYYY-MM-DD the agency says the season opens.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "sourceUrl": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "state": {
      +          "description": "The season state code, or null when nothing is published.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "offer",
      +        "state"
      +      ],
      +      "type": "object"
      +    },
      +    "slug": {
      +      "type": "string"
      +    },
      +    "usState": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "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?

The annotations already declare a safe, idempotent, closed-world read, so the description earns credit for the extra behavioral context it does provide: dates are agency-sourced and unsourced dates are omitted, and it clarifies that this tool only says whether an alert can be sent while create_alert requires the person to sign in. It does not describe rate limits or failure modes for an unknown permit id, which is the remaining gap.

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?

The core capability and its contents are front-loaded in the first sentence, and the provenance caveat follows logically. The final two sentences about alerts are useful routing but add length that sits at the edge of belonging here rather than in create_alert's own definition.

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, so return structure need not be explained, yet the description still summarizes the rule categories an agent will receive. Combined with the explicit usage routing and provenance guarantee, nothing an agent needs 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?

There is a single parameter with full schema description coverage that already explains the accepted forms (id or slug from search_permits, or the permitsnag.com page URL). The description adds nothing about format or accepted variants beyond that, so the baseline of 3 for schema-carried semantics is appropriate.

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?

The description uses a specific verb and resource ('Get the rules for one US backcountry or wilderness permit') and then enumerates what the rules cover: issuance method (reservation/lottery/in-person), season, lottery and release dates, closures, group size limit, and the official agency page. That level of detail separates it cleanly from search_permits and get_campground_details without needing 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 Guidelines5/5

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

It gives both an explicit trigger ('Use it after search_permits, or when the person names a specific permit') and an explicit handoff rule ('To set one up in the person's own PermitSnag account, use create_alert'). The boundary between reporting that an alert is possible and actually creating one is spelled out, leaving no inference to the agent.

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