Skip to main content
Glama

Nearest toilets, resupply and chargers

nearby
Read-onlyIdempotent

USE THIS for "nearest toilet", "bathroom near", "where can I fill water, dump, shower, fuel up, buy groceries, do laundry, get propane or air, find a mechanic, pharmacy, urgent care, hardware store, post office, outfitter or coffee shop", or "electric charger near" at a latitude and longitude anywhere in the United States. kind is toilets (the default: 21,390 recorded toilets with the agency that lists them), chargers (the Department of Energy station list), or one mapped resupply kind: potable_water, shower, dump_station, fuel, grocery, laundry, propane, air, mechanic, pharmacy, urgent_care, hardware, mail, outfitter, coffee (cafes within 25 miles of a camp record only). Returns up to 25 records within a straight-line radius (up to 50 miles), nearest first, with the source and its date. A recorded toilet can be closed for the season, and the mapped points are a floor from OpenStreetMap, not a survey: hours, brands and whether a place still exists go stale, so say "OpenStreetMap lists", never "there is". It never says a place is open.

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": {
      "lat": "<lat>",
      "lon": "<lon>"
    },
    "name": "nearby"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYesLatitude in decimal degrees.
lonYesLongitude in decimal degrees (negative in the US).
kindNoWhat to find. Default toilets.toilets
limitNo
radius_milesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "toilets",
      -  "chargers",
      -  "potable_water",
      -  "shower",
      -  "dump_station",
      -  "fuel",
      -  "grocery",
      -  "laundry",
      -  "propane",
      -  "air",
      -  "mechanic",
      -  "pharmacy",
      -  "urgent_care",
      -  "hardware",
      -  "mail",
      -  "outfitter"
      -]New value: +[
      +  "toilets",
      +  "chargers",
      +  "potable_water",
      +  "shower",
      +  "dump_station",
      +  "fuel",
      +  "grocery",
      +  "laundry",
      +  "propane",
      +  "air",
      +  "mechanic",
      +  "pharmacy",
      +  "urgent_care",
      +  "hardware",
      +  "mail",
      +  "outfitter",
      +  "coffee"
      +]
  2. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, and the description adds substantially beyond them: result caps (25 records, 50-mile radius), ordering (nearest first), provenance (source plus source date), seasonal closures, and the explicit warning that OSM points are a floor rather than a survey. The instruction to phrase results as 'OpenStreetMap lists' rather than 'there is' and the note that it never reports a place as open are exactly the kind of behavioral context annotations cannot convey.

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?

It is front-loaded with the 'USE THIS' trigger block and then moves to kinds, return behavior, and caveats in a sensible order. The long quoted trigger-phrase list and the run-on enumeration of resupply kinds add bulk, but most of it earns its place by supporting intent matching.

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?

With no output schema and no annotation for return shape, the description carries that burden itself and does so: it specifies record count, radius ceiling, ordering, and per-record source/date. The staleness and 'never says open' caveats cover the main failure mode of an open-world lookup, leaving nothing essential unstated for a 5-parameter tool.

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 60%, and the description fills several gaps the schema leaves: it gives the meaning and provenance behind each kind value (toilets default with 21,390 records and listing agency, chargers as the DOE station list), the 25-mile restriction on coffee, the 25-record and 50-mile ceilings matching limit and radius_miles, and the US-only geographic constraint on lat/lon. Only the limit and radius_miles defaults are left to the schema, which is a minor residual gap.

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 states a specific resource set (toilets, chargers, and 15 named resupply kinds), the input (lat/lon in the US), and the output shape (up to 25 records, nearest first). It does not explicitly differentiate itself from the sibling water_near, whose subject matter overlaps with the potable_water kind, so an agent has no stated rule for choosing between them.

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?

Strong when-to-use guidance via explicit trigger phrasing ('USE THIS for "nearest toilet", "bathroom near"...'), which makes intent matching easy. There is no when-not-to-use clause and no reference to the closest alternative (water_near), so the exclusion side of the guidance is missing.

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