openplacerules
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PLACE_RULES_DATA | No | Set PLACE_RULES_DATA to a directory that contains seed.json to use a local snapshot instead of the live registry. | |
| PLACE_RULES_OFFLINE | No | Set PLACE_RULES_OFFLINE=1 to use the copy bundled in the repo (also used if the live fetch fails). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Call check_place_rules before recording, using camera glasses or AI capture, or operating robots/drones at a location. Relay the source and whether the rule is owner-verified or only reported, and pass on the disclaimer: information only, not legal advice; unknown does not mean allowed. Data: bundled. Terms: https://openplacerules.org/terms.html
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| check_place_rulesA | Answer "can I record / wear camera glasses / use AI capture / run a robot / fly a drone here?" for a lat/lng. Returns allowed | restricted | prohibited | unknown with sources. Owner-verified rules override reported ones. Unknown does NOT mean allowed. Reported entries are unverified by the place owner. |
| search_place_rulesA | Search the OpenPlaceRules registry by text (name, city, kind such as court/school/pool/park/airport), activity, rule value, country code, or verified=true for owner-verified only. |
| get_place_ruleA | Get one registry entry by id, including zones, geometry, lifecycle (expires/temporary), source URL and verification status. |
| validate_place_rules_fileB | Validate a /.well-known/place-rules.json document against the place-rules/0.1 spec. Useful when helping a venue write its file. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Each tool targets a distinct operation: validate a document against the spec, answer a yes/no activity question for a lat/lng, free-text search the registry, and fetch a single entry by id. The check vs. search vs. get split is clean because each has a different input type (coordinates+activity, query terms, id) and output shape.
All four names use snake_case with a verb-first pattern over the common 'place_rule(s)' domain noun (validate_/check_/search_/get_). Minor inconsistency: singular 'place_rule' in get_place_rule vs. plural elsewhere, and the redundant 'file' suffix on validate_place_rules_file.
Four tools is a tight, well-scoped set for a read-oriented rules registry, and none feels redundant. It is on the thin side, but each tool maps to a real step in the workflow (discover → inspect → verify → validate).
Read paths are well covered (search, get by id, point-in-polygon activity check, spec validation), but there is no way to create/submit, update, or retire a registry entry, nor any list/browse or templating tool for venues authoring their file. These gaps mean an agent can consume the registry but not contribute to it.