Skip to main content
Glama

PermitSnag

Booking link for a permit or campground

get_booking_link
Read-onlyIdempotent

Returns the link to the official booking page for one US backcountry permit or one campground. For some permits the link also carries the first date and the number of people you give, but the booking site may not use them, so the person checks or picks the dates and group size on that page. For a campground, the person picks or checks the dates on the booking page. For some places it returns the agency's own page or the PermitSnag page instead of a booking page. It only returns a link and a sentence about it; it does not book, pay or enter a lottery.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
permitNoThe permit id or slug. Give this or campground, not both.
endDateNoOptional last date, YYYY-MM-DD. Sent in the link for a few booking sites; the site may ignore it.
partySizeNoOptional number of people. Sent in the link for some permit booking sites; the site may ignore it.
startDateNoOptional first date, YYYY-MM-DD. Sent in the link for some booking sites; the site may ignore it.
campgroundNoThe campground id. Give this or permit, not both.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoThe page to open.
foundNoPresent, and false, only when nothing matched.
subjectNo
datePrefillNoWhether the asked date reaches the booking page.
destinationNo
executesNothingNoThis tool only returns a link.
providerHomeUrlNoPermits only: the booking site's front page, when that is all we can name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / endDate / description
      Previous value: -"Optional last date, YYYY-MM-DD."New value: +"Optional last date, YYYY-MM-DD. Sent in the link for a few booking sites; the site may ignore it."
    • changedInput schema / properties / partySize / description
      Previous value: -"Optional number of people."New value: +"Optional number of people. Sent in the link for some permit booking sites; the site may ignore it."
    • changedInput schema / properties / startDate / description
      Previous value: -"Optional first date, YYYY-MM-DD."New value: +"Optional first date, YYYY-MM-DD. Sent in the link for some booking sites; the site may ignore it."
    • changedOutput schema / description
      Previous value: -"The official booking page for a permit or campground, or found: false. Nothing is booked."New value: +"A link to the booking page, the agency's page or the PermitSnag page for a permit or campground, or found: false. Nothing is booked."
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "anyOf": [
      +    {
      +      "required": [
      +        "subject",
      +        "url",
      +        "destination",
      +        "datePrefill",
      +        "executesNothing"
      +      ]
      +    },
      +    {
      +      "required": [
      +        "found"
      +      ]
      +    }
      +  ],
      +  "description": "The official booking page for a permit or campground, or found: false. Nothing is booked.",
      +  "properties": {
      +    "datePrefill": {
      +      "description": "Whether the asked date reaches the booking page.",
      +      "enum": [
      +        "applied",
      +        "ignored",
      +        "unknown"
      +      ]
      +    },
      +    "destination": {
      +      "enum": [
      +        "booking_page",
      +        "official_page",
      +        "permitsnag_page"
      +      ]
      +    },
      +    "executesNothing": {
      +      "const": true,
      +      "description": "This tool only returns a link."
      +    },
      +    "found": {
      +      "const": false,
      +      "description": "Present, and false, only when nothing matched."
      +    },
      +    "providerHomeUrl": {
      +      "description": "Permits only: the booking site's front page, when that is all we can name.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "subject": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "id": {
      +          "type": "string"
      +        },
      +        "kind": {
      +          "enum": [
      +            "permit",
      +            "campground"
      +          ]
      +        },
      +        "name": {
      +          "type": "string"
      +        },
      +        "pageUrl": {
      +          "type": "string"
      +        },
      +        "slug": {
      +          "description": "Permits only.",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "kind",
      +        "id",
      +        "name",
      +        "pageUrl"
      +      ],
      +      "type": "object"
      +    },
      +    "url": {
      +      "description": "The page to open.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources