Skip to main content
Glama

List a campground's zones

list_campground_zones
Read-onlyIdempotent

Zones within a campground — the level at which most inventories are actually organised. In many of them one campground row holds the several campgrounds a person would name (Sandbanks is one row holding Outlet River A and B, Cedars, Woodlands and West Lake A/B/C), so stopping at list_park_campgrounds can make a park look like a single undifferentiated site pool. Elsewhere a campground has one default zone and this simply confirms it.

Call this before create_alert whenever the user names a part of a park ("near the beach", "the quiet loop", a campground by name), and pass the zone ids in campground_selections.

Also returns the caller's site caps for this provider and tier: max_sites_per_alert is what ONE alert may watch, and each zone's site_count says whether a selection fits. A park-wide selection is the BIGGEST one available, so it is the wrong fallback when a narrower one was refused for size.

A zone answers "which campground", NOT "which site". If the user named somewhere INSIDE one — the beach, the waterfront, a quiet loop, near the washrooms, away from the road — picking the right zone is half the answer, and the sites within it still differ. Where has_map is true, call get_zone_map before create_alert and choose site_ids from it; where the sites carry lat/lng, list_zone_sites gives you the same thing in coordinates. Watching the whole zone is a fine fallback, but say that is what you did.

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": {
      "campground_id": "<campground_id>"
    },
    "name": "list_campground_zones"
  }
}

Input Schema

NameRequiredDescriptionDefault
campground_idYesFrom list_park_campgrounds.

Output Schema

NameRequiredDescriptionDefault
totalNo
zonesYes
campground_idNo
max_sites_per_alertNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedOutput schema / properties / campground_id / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / max_sites_per_alert / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / total / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
  2. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnlyHint, idempotent, non-destructive), so the bar is lower, and the description does add real context: the response carries the caller's max_sites_per_alert cap and per-zone site_count, has_map flags, and the fact that wider selections are larger and thus a bad fallback. However, much of this is return-value semantics that the stated output schema already documents, so the marginal disclosure is moderate rather than rich.

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 what a zone is and why it matters, then layered with usage routing, which is the right order. It is somewhat long for a one-parameter read tool — the Sandbanks/Outlet River parenthetical is illustrative filler, and 'picking the right zone is half the answer' restates the preceding 'which campground, NOT which site' point.

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 single-parameter lookup with annotations and an output schema, nothing an agent needs is missing: when to call it, what to do with the ids, how to interpret the returned caps and counts, and which sibling to follow up with before create_alert.

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 100% schema description coverage ('From list_park_campgrounds'), so the schema already carries the semantic load. The description supplies no additional detail about campground_id, which is acceptable at baseline but adds nothing beyond structured fields.

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 opening sentence names the resource (zones), its scope (within a campground), and its role as the level where inventories are organised, then explicitly contrasts it with list_park_campgrounds ('stopping at list_park_campgrounds can make a park look like a single undifferentiated site pool'). An agent can tell it apart from list_park_campgrounds, get_zone_map and list_zone_sites without opening any 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?

Gives an explicit trigger ('Call this before create_alert whenever the user names a part of a park'), names the downstream parameter to attach results to (campground_selections), and routes to alternatives with conditions: get_zone_map when has_map is true, list_zone_sites when sites carry lat/lng. It even warns against a specific wrong behaviour — using a park-wide selection as the fallback after a size refusal.

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