Skip to main content
Glama

Get a day-use zone's bookable dates

get_day_use_window
Read-onlyIdempotent

The dates a DAY-USE grid offers (start / end), the max_span_days one alert may cover, and closed_cells — the slot/date pairs whose booking window has already shut.

Call this before setting day_use_cells. Day use is the one inventory whose season appears NOWHERE in the provider's API — only in the availability grid, and it moves when the next season is released — so dates chosen without it are a guess, and a guess outside the window is an alert that can never match.

Where the permits go on sale at a published time, list_zone_sites returns next_release_at for the zone. AlertCamp force-checks the target the moment that instant passes, so a user does not need to be at their phone for the drop — AlertCamp polls on the drop itself.

Day use also dies during its own arrival day: each slot has its own cutoff, so a date being in the future does not make it live. Skip anything in closed_cells.

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": {
      "zone_id": "<zone_id>"
    },
    "name": "get_day_use_window"
  }
}

Input Schema

NameRequiredDescriptionDefault
zone_idYesA day-use zone, from list_campground_zones on a park whose camp_types include DayUse.

Output Schema

NameRequiredDescriptionDefault
endNo
noteNo
startNo
closed_cellsNo
max_span_daysNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedOutput schema / properties / closed_cells / type
      Previous value: -"array"New value: +[
      +  "array",
      +  "null"
      +]
    • changedOutput schema / properties / end / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / max_span_days / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / note / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / start / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), so the bar is lower, and the description does add genuinely new behavior: day-use season appears nowhere in the provider API and shifts when the next season releases, and each slot has its own arrival-day cutoff. Those are real operational traits beyond the structured fields. It stops short of documenting rate limits, caching, or staleness of the grid, so it does not reach the top of the scale.

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 answer comes first and the guidance follows, so an agent gets the essentials from sentence one. The middle paragraph about AlertCamp polling on the drop instant is somewhat promotional and drifts toward another tool's behavior, but each remaining sentence still carries a constraint that affects correct invocation.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter read tool with full schema coverage, annotations, and an output schema, the definition covers preconditions and pitfalls well. The gap is that it describes the shape of the return informally while an output schema exists, and it never states behavior when zone_id is not a day-use zone, leaving the main failure mode unexplained.

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 coverage is 100% for the single zone_id parameter, and the schema already states it must come from a park whose camp_types include DayUse. The description adds no syntax, format, or failure-mode detail beyond that, so the schema is doing the heavy lifting and baseline 3 applies.

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 opening names the resource and enumerates exactly what comes back: bookable start/end dates, max_span_days, and closed_cells slot/date pairs. It also distinguishes itself from siblings by pointing to list_zone_sites for next_release_at. It falls just short of 5 because the purpose is delivered as a noun phrase listing return values rather than a crisp verb statement of the operation.

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?

Gives an explicit precondition ("Call this before setting day_use_cells") and the consequence of skipping it ("a guess outside the window is an alert that can never match"). It also names the alternative source for release timing via list_zone_sites and tells the caller to skip entries in closed_cells. No inference is required to know when this tool is and is not the right call.

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