Skip to main content
Glama

Get place details

dogpolicies_get_place
Read-onlyIdempotent

What are the exact dog rules for this one place, and what is the official source: the quote, the publisher, the date checked? The leash rule, where dogs may go, fees and limits in full, with the official source and its quote, for one place known by id or name. Input: id as returned in any result (for example "carmel-beach"); an exact name works, and a near miss resolves to the one clear match, labeled resolved_from. An id nothing matches is an answer with did_you_mean, not an error. Returns every rule with display text and rule ids, each source with URL, publisher, capture date and quote, and facts the source does not state listed as not_stated. A place on I-5 in California also carries its position on the road (Caltrans mile, side, distance off the freeway) and any paired exit.

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": {
      "id": "<id>"
    },
    "name": "dogpolicies_get_place"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPlace id, e.g. "fort-funston"
response_formatNo'markdown' for readable text, 'json' for structured datamarkdown

Output Schema

NameRequiredDescriptionDefault
idYes
uidYesStable id that survives a rename
urlYes
axisYesWhere the place sits on the I-5 axis: s meters from San Ysidro, Caltrans mile, meters off the road, side of northbound travel, road elevation, strip; null off I-5
codeNoWith an outcome other than ok: not_found, invalid, unavailable
nameYes
nextNoCalls that would answer the question, in words
typeYes
as_ofYesDate the data was built (YYYY-MM-DD)
factsYes
mealsNoMeals a restaurant or cafe says it serves
rulesYes
todayNoOnly for a place with seasonal dog rules (plover nesting season, summer beach hours): which applies on the server's date, until when, and which starts next, with the source. Repeat sentence with the answer.
answerYesThe one-line answer; while a seasonal rule applies today it leads with it (see today)
statusYes
licenseYes
messageNoWhat happened, in a sentence
nearestNoWhen nothing is inside the radius: the nearest places in the data, with distance_miles
outcomeNoAbsent or ok: a normal answer. no_match: nothing in the data matches, see did_you_mean, nearest and next. bad_input: the arguments cannot be used as given, see next. partial: some of the ids were found, see missing. unavailable: a live source could not be read. None of these is an error.
sourcesYes
acceptedNoWith bad_input: each argument that could not be read, with the values it accepts
citationYesCopy-ready citation: answer, source, date checked, record URL, license
freshnessYes
closed_nowNoPresent only when Caltrans reports this rest area fully closed now. Live feed data, not a verified rule: check quickmap.dot.ca.gov
confidenceYesstated: the place's own source says it; inferred_from_agency: an agency-wide rule; inherited_brand: the chain's policy, not confirmed by this hotel
not_statedYesExpected facts the sources do not state
review_dueYes
paired_stopYes
source_urlsYes
verified_atYes
confirmed_byYes
did_you_meanNoClose matches to what was asked for: towns, places, slugs or brands, best first
rule_recordsYes
holiday_hoursNoHours the business publishes for a named day that has not passed
resolved_fromNoSet when the id or name given was not exact and this record was the one clear match
record_licenseYes
attribution_urlYes
attribution_textYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / holiday_hours
      Added value: +{
      +  "description": "Hours the business publishes for a named day that has not passed",
      +  "items": {
      +    "additionalProperties": {},
      +    "properties": {
      +      "date": {
      +        "description": "The day the hours are for (YYYY-MM-DD)",
      +        "type": "string"
      +      },
      +      "holiday": {
      +        "description": "The day's name as published",
      +        "type": "string"
      +      },
      +      "hours": {
      +        "description": "The hours as published",
      +        "type": "string"
      +      },
      +      "open": {
      +        "description": "false: the business or hospital says it is closed that day",
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "date",
      +      "open"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / meals
      Added value: +{
      +  "description": "Meals a restaurant or cafe says it serves",
      +  "items": {
      +    "enum": [
      +      "breakfast",
      +      "brunch",
      +      "lunch",
      +      "dinner"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. Changed5 schema fields changed
    • addedOutput schema / properties / accepted
      Added value: +{
      +  "additionalProperties": {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  "description": "With bad_input: each argument that could not be read, with the values it accepts",
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / answer / description
      Added value: +"The one-line answer; while a seasonal rule applies today it leads with it (see today)"
    • addedOutput schema / properties / closed_now
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Present only when Caltrans reports this rest area fully closed now. Live feed data, not a verified rule: check quickmap.dot.ca.gov",
      +  "properties": {
      +    "fetched_at": {
      +      "description": "When the conditions loop read the feed",
      +      "type": "string"
      +    },
      +    "reason": {
      +      "description": "Caltrans' own reason, as published",
      +      "type": "string"
      +    },
      +    "source": {
      +      "const": "Caltrans",
      +      "type": "string"
      +    },
      +    "until": {
      +      "description": "Caltrans' end time (ISO); null when no end is set",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "reason",
      +    "until",
      +    "source",
      +    "fetched_at"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / not_stated / description
      Previous value: -"Expected facts the sources do not state; never guess these"New value: +"Expected facts the sources do not state"
    • addedOutput schema / properties / today
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Only for a place with seasonal dog rules (plover nesting season, summer beach hours): which applies on the server's date, until when, and which starts next, with the source. Repeat sentence with the answer.",
      +  "properties": {
      +    "date": {
      +      "description": "The date this was computed for: the server's date",
      +      "type": "string"
      +    },
      +    "in_effect": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "access": {
      +            "anyOf": [
      +              {
      +                "enum": [
      +                  "yes",
      +                  "yes_restricted",
      +                  "no"
      +                ],
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "area": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "days_left": {
      +            "type": "number"
      +          },
      +          "ends": {
      +            "description": "Last day of this run (YYYY-MM-DD)",
      +            "type": "string"
      +          },
      +          "leash": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "rule": {
      +            "description": "The seasonal rule in plain words",
      +            "type": "string"
      +          },
      +          "season": {
      +            "description": "When it runs, in the source's dates: \"July 1 to May 15\"",
      +            "type": "string"
      +          },
      +          "starts": {
      +            "description": "First day of this run (YYYY-MM-DD)",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "rule",
      +          "season",
      +          "area",
      +          "access",
      +          "leash",
      +          "starts",
      +          "ends",
      +          "days_left"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "in_season": {
      +      "description": "true: a seasonal rule is in effect on that date; null: the source gives a season without dates",
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "next": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "properties": {
      +            "access": {
      +              "anyOf": [
      +                {
      +                  "enum": [
      +                    "yes",
      +                    "yes_restricted",
      +                    "no"
      +                  ],
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "area": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "ends": {
      +              "description": "Last day of this run (YYYY-MM-DD)",
      +              "type": "string"
      +            },
      +            "in_days": {
      +              "type": "number"
      +            },
      +            "leash": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "rule": {
      +              "description": "The seasonal rule in plain words",
      +              "type": "string"
      +            },
      +            "season": {
      +              "description": "When it runs, in the source's dates: \"July 1 to May 15\"",
      +              "type": "string"
      +            },
      +            "starts": {
      +              "description": "First day of this run (YYYY-MM-DD)",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "rule",
      +            "season",
      +            "area",
      +            "access",
      +            "leash",
      +            "starts",
      +            "ends",
      +            "in_days"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "publisher": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "quote": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "sentence": {
      +      "description": "Leads answer and citation while a seasonal rule applies or starts within 14 days; null otherwise",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "source_url": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "starts_soon": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "access": {
      +            "anyOf": [
      +              {
      +                "enum": [
      +                  "yes",
      +                  "yes_restricted",
      +                  "no"
      +                ],
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "area": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "ends": {
      +            "description": "Last day of this run (YYYY-MM-DD)",
      +            "type": "string"
      +          },
      +          "in_days": {
      +            "type": "number"
      +          },
      +          "leash": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "rule": {
      +            "description": "The seasonal rule in plain words",
      +            "type": "string"
      +          },
      +          "season": {
      +            "description": "When it runs, in the source's dates: \"July 1 to May 15\"",
      +            "type": "string"
      +          },
      +          "starts": {
      +            "description": "First day of this run (YYYY-MM-DD)",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "rule",
      +          "season",
      +          "area",
      +          "access",
      +          "leash",
      +          "starts",
      +          "ends",
      +          "in_days"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "undated": {
      +      "description": "Seasons the source states without dates: not known to apply",
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "access": {
      +            "anyOf": [
      +              {
      +                "enum": [
      +                  "yes",
      +                  "yes_restricted",
      +                  "no"
      +                ],
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "area": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "leash": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "rule": {
      +            "description": "The seasonal rule in plain words",
      +            "type": "string"
      +          },
      +          "season": {
      +            "description": "When it runs, in the source's dates: \"July 1 to May 15\"",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "rule",
      +          "season",
      +          "area",
      +          "access",
      +          "leash"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "verified_at": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "date",
      +    "in_season",
      +    "sentence",
      +    "in_effect",
      +    "starts_soon",
      +    "next",
      +    "undated",
      +    "source_url",
      +    "publisher",
      +    "quote",
      +    "verified_at"
      +  ],
      +  "type": "object"
      +}
  3. Changed11 schema fields changed
    • addedOutput schema / properties / code
      Added value: +{
      +  "description": "With an outcome other than ok: not_found, invalid, unavailable",
      +  "type": "string"
      +}
    • addedOutput schema / properties / did_you_mean
      Added value: +{
      +  "description": "Close matches to what was asked for: towns, places, slugs or brands, best first",
      +  "items": {
      +    "additionalProperties": {},
      +    "properties": {},
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / freshness / anyOf
      Added value: +[
      +  {
      +    "description": "fresh: inside its review interval; due: past it; stale: past twice it, confirm before you go; unreadable: the last check could not read the source",
      +    "enum": [
      +      "fresh",
      +      "due",
      +      "stale",
      +      "unreadable"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / freshness / description
      Removed value: -"fresh: inside its review interval; due: past it; stale: past twice it, confirm before you go; unreadable: the last check could not read the source"
    • removedOutput schema / properties / freshness / enum
      Removed value: -[
      -  "fresh",
      -  "due",
      -  "stale",
      -  "unreadable"
      -]
    • removedOutput schema / properties / freshness / type
      Removed value: -"string"
    • addedOutput schema / properties / message
      Added value: +{
      +  "description": "What happened, in a sentence",
      +  "type": "string"
      +}
    • addedOutput schema / properties / nearest
      Added value: +{
      +  "description": "When nothing is inside the radius: the nearest places in the data, with distance_miles",
      +  "items": {
      +    "additionalProperties": {},
      +    "properties": {},
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / next
      Added value: +{
      +  "description": "Calls that would answer the question, in words",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / outcome
      Added value: +{
      +  "description": "Absent or ok: a normal answer. no_match: nothing in the data matches, see did_you_mean, nearest and next. bad_input: the arguments cannot be used as given, see next. partial: some of the ids were found, see missing. unavailable: a live source could not be read. None of these is an error.",
      +  "enum": [
      +    "ok",
      +    "partial",
      +    "no_match",
      +    "bad_input",
      +    "unavailable"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / resolved_from
      Added value: +{
      +  "description": "Set when the id or name given was not exact and this record was the one clear match",
      +  "type": "string"
      +}
  4. Changed3 schema fields changed
    • addedOutput schema / properties / axis
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": {},
      +      "properties": {
      +        "ele": {
      +          "type": "number"
      +        },
      +        "mile": {
      +          "type": "number"
      +        },
      +        "offM": {
      +          "type": "number"
      +        },
      +        "route": {
      +          "type": "string"
      +        },
      +        "s": {
      +          "type": "number"
      +        },
      +        "side": {
      +          "type": "string"
      +        },
      +        "strip": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "route",
      +        "s",
      +        "mile",
      +        "offM",
      +        "side",
      +        "ele",
      +        "strip"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Where the place sits on the I-5 axis: s meters from San Ysidro, Caltrans mile, meters off the road, side of northbound travel, road elevation, strip; null off I-5"
      +}
    • addedOutput schema / properties / paired_stop
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": {},
      +      "properties": {},
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "id",
      -  "uid",
      -  "name",
      -  "type",
      -  "status",
      -  "answer",
      -  "citation",
      -  "confidence",
      -  "confirmed_by",
      -  "freshness",
      -  "verified_at",
      -  "url",
      -  "source_urls",
      -  "record_license",
      -  "as_of",
      -  "license",
      -  "attribution_text",
      -  "attribution_url",
      -  "facts",
      -  "rule_records",
      -  "not_stated",
      -  "rules",
      -  "sources",
      -  "review_due"
      -]New value: +[
      +  "id",
      +  "uid",
      +  "name",
      +  "type",
      +  "status",
      +  "answer",
      +  "citation",
      +  "confidence",
      +  "confirmed_by",
      +  "freshness",
      +  "verified_at",
      +  "url",
      +  "source_urls",
      +  "record_license",
      +  "as_of",
      +  "license",
      +  "attribution_text",
      +  "attribution_url",
      +  "facts",
      +  "rule_records",
      +  "not_stated",
      +  "rules",
      +  "sources",
      +  "review_due",
      +  "axis",
      +  "paired_stop"
      +]
  5. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, closed-world, non-destructive), the description discloses real behavior: near-miss names resolve to a single clear match labeled resolved_from, unmatched ids return did_you_mean instead of an error, unstated facts come back as not_stated, and I-5 places carry Caltrans mile/side/distance data. That is substantive operational context an agent cannot get from annotations alone.

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

Conciseness3/5

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

The purpose is front-loaded, but the opening rhetorical question duplicates the sentence that follows it ('The leash rule, where dogs may go, fees and limits in full...'), costing space without adding information. The Input/Returns block structure is clear and easy to scan, but the redundancy keeps it from being tight.

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?

For a two-parameter read tool with an output schema and covering annotations, the description is nearly complete: input forms, resolution edge cases, return composition, and the I-5 special case are all covered. The only omission is response_format, which the schema fully documents, so nothing critical is missing.

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%, so the baseline is 3, but the description adds genuine semantics beyond it: a concrete id example ('carmel-beach'), the fact that exact names are accepted, and the fuzzy-resolution contract with resolved_from. Only response_format is left entirely to the schema, which is fine given its enum and default are documented.

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 verb+resource: it returns the full dog rules for one place plus the official source, quote, publisher, and capture date. It also scopes the resource ('one place known by id or name') and even flags the I-5 road-position special case, which distinguishes it from broader lookups. It stops short of naming the sibling it replaces (e.g. get_rule or search_places), so a 4 rather than 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?

Usage is implied rather than stated: 'id as returned in any result' tells the agent to obtain the id from a prior search, and the near-miss/did_you_mean behavior is described. There is no explicit when-to-use vs. sibling guidance (e.g. how this differs from dogpolicies_get_rule or compare_places), so the agent must infer which tool to pick.

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.