Skip to main content
Glama

Search Facilities

search_facilities
Read-onlyIdempotent

Search US federal recreation facilities — campgrounds, day-use areas, visitor centers, trailheads — on Recreation.gov. Filter by name/keyword, state, activity (e.g. "camping", "hiking"), or geographic radius. Returns facility IDs, names, types, phone/email, and coordinates. Example: search_facilities({ query: "Yosemite", state: "CA", activity: "camping" })

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax results to return (default 20, max 50)
queryNoKeyword or name to search, e.g. "Yosemite", "Pinnacles"
stateNoTwo-letter US state code, e.g. "CA", "CO"
offsetNoPagination offset (default 0)
radiusNoSearch radius in miles around latitude/longitude
_apiKeyNoOptional — your own Recreation.gov RIDB API key for higher limits; omit to use the shared Pipeworx key.
activityNoActivity name to filter by, e.g. "camping", "hiking", "fishing"
latitudeNoLatitude for geographic search (use with longitude + radius)
longitudeNoLongitude for geographic search (use with latitude + radius)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral context beyond the annotations: the data source (Recreation.gov), the kinds of matches included, and the specific return fields (IDs, names, types, phone/email, coordinates). This helps an agent predict the result content without an output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core purpose, then enumerates filter dimensions and return fields in compact phrases. The example call is a high-value addition and takes one line. No sentence is wasted or redundant with the schema.

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 nine optional parameters and no output schema, the description covers the essential context: what is searched, how to filter, what the result contains, and a working example. It does not explicitly mention pagination or the optional _apiKey in prose, but those are already documented in the fully covered schema, so the missing prose is a minor gap.

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%, which establishes a baseline of 3. The description adds value by grouping the nine parameters into meaningful filter categories (name/keyword, state, activity, geographic radius) and by providing a concrete example call. This goes just beyond the schema's individual descriptions to show intended combinations.

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?

States a specific verb ('Search') and a well-scoped resource: US federal recreation facilities on Recreation.gov, with facility types enumerated. The description also lists filter dimensions and return fields, so an agent can identify what this tool does without opening the schema. It distinguishes itself from sibling search_recareas by focusing on facilities rather than areas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The description makes it clear this is a search tool with filters, but it provides no explicit guidance about when to choose it over sibling tools such as get_facility, list_campsites, or search_recareas. No exclusions or alternative routing are given, so the agent must infer the appropriate context from the general search wording.

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.