Skip to main content
Glama

Booking link for a permit or campground

get_booking_link
Read-onlyIdempotent

Returns the link to the official booking page for one backcountry permit or one campground in the US, Canada, New Zealand or Australia. 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.

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

Input 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

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

A4.2/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses that dates and party size are only forwarded for some permits and may be ignored, that the user must confirm on the destination page, and that some places return an agency page or PermitSnag page instead of a booking page. It also states the response is only a link plus a sentence, which heads off an agent expecting booking confirmation.

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 purpose is front-loaded in the first sentence and the exclusions land last, which is good structure. It is slightly repetitive: the permit sentence already says dates and group size are checked on that page, and the campground sentence restates essentially the same idea.

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

Completeness4/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 needn't explain return values, and all five parameters are already documented in the schema. The remaining gap is edge-case behavior: no required parameters and a mutual-exclusion rule mean an agent could pass both permit and campground or neither, and the description is silent on what happens then.

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 is 3; the description earns a 4 by clarifying that startDate, endDate and partySize attach to permit links only and are checked or picked on the booking page for campgrounds — a distinction the schema does not draw. It still does not address the neither/both case for permit vs campground, which the schema only partly covers.

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

Purpose4/5

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

The first sentence states a specific verb and resource — returns the official booking-page link for one permit or one campground — and bounds the scope to US, Canada, New Zealand and Australia. It doesn't name a sibling to contrast with, but the output (a link, not availability or details) makes it distinguishable from check_availability and get_permit_details.

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?

The closing sentence gives explicit exclusions: it does not book, pay or enter a lottery, which tells the agent this is a read-only lookup and not a booking action. It lacks explicit routing to alternatives such as check_availability, but the exclusion set makes the boundary reasonably clear.

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