Skip to main content
Glama

List closures

list_closures
Read-onlyIdempotent

Current trail closures and detours posted by trail managers and agencies, optionally for one state, with the source notice. Trails not listed have no reported closure.

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

Input Schema

NameRequiredDescriptionDefault
stateNoTwo-letter state code (PA) or state name. Matches every trail that enters the state.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely useful semantics beyond that: results carry the source notice, and the absence of a trail from results means no reported closure, which prevents misreading an empty result.

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?

Two tight sentences: the first front-loads what is returned and the optional filter, the second supplies the crucial empty-result interpretation. Nothing is redundant.

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?

There is no output schema, so the description wisely mentions the returned source notice, and it covers the empty-result case. A single-optional-parameter list tool needs little more, though naming what a closure record contains would close the last gap.

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% and the schema already explains that a two-letter code or full state name is accepted and that it matches any trail entering the state. The description only restates that the state filter is optional, adding no format or edge-case detail beyond the schema.

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 description names a specific resource — current trail closures and detours from trail managers and agencies — which is clearly distinct from the trail-lookup siblings (get_trail, search_trails, trails_near). It does not explicitly name or rule out those siblings, so it stops short of a 5.

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?

It implies usage by noting the state filter is optional and that unlisted trails have no reported closure, so an agent can infer when the tool applies. However, it gives no explicit when-to-use versus alternatives guidance (e.g., use get_trail to inspect a specific trail's status).

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