Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PLACE_RULES_DATANoSet PLACE_RULES_DATA to a directory that contains seed.json to use a local snapshot instead of the live registry.
PLACE_RULES_OFFLINENoSet 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

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 4 tools

Disambiguation5/5

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.

Naming Consistency4/5

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.

Tool Count4/5

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).

Completeness3/5

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.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues