Skip to main content
Glama

Find hotels for a dog

dogpolicies_find_hotels
Read-onlyIdempotent

Will a hotel take my dog, and what will the pet fee come to: a 70 lb Lab under $50, two dogs for three nights near Palm Springs, the Motel 6 in Fresno? Does the weight, dog-count and fee arithmetic for the stay, hotel by hotel, against each hotel's published pet policy. It answers for stays at specific hotels, not for a chain's policy in general, and it lists no other kind of place. Inputs: query (hotel name, city or brand), brand, county without "County", state "CA" or "NV", area (lake-tahoe, big-sur, east-bay), region, or near={lat, lon}; dog_weight_lb, dogs, nights, max_total_fee. Each hotel is a match, a possible (needs a call: case by case, weight unstated, "up to" fee) or excluded, with the arithmetic spelled out, the source URL and verified date. Amounts are pet fees, never room rates: there are no room prices here.

Examples:

  • "Will a Monterey hotel take my 70 lb Lab for under $50?" -> county="Monterey", dog_weight_lb=70, max_total_fee=50

  • "Two dogs, three nights near Palm Springs" -> near={lat:33.83, lon:-116.55}, dogs=2, nights=3

  • "Is the Motel 6 in Fresno dog friendly?" -> query="Motel 6 Fresno"

  • "A hotel near LAX for my dog" -> query="LAX" (an airport code or name searches 5 miles around the airport)

  • "A Las Vegas hotel for my 60 lb dog" -> county="Clark", state="NV", dog_weight_lb=60

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

Input Schema

NameRequiredDescriptionDefault
areaNoArea id, the name a traveler gives the trip: san-francisco, east-bay, peninsula, south-bay, north-bay, lake-tahoe, big-sur, mendocino-coast, yosemite, death-valley
dogsNoNumber of dogs
nearNoLimit to places near a point; results are sorted by distance
brandNoOnly this hotel brand
limitNoMaximum results to return
queryNoWords in the hotel name, city or brand; or an airport code or name ("LAX", "Harry Reid") for hotels within 5 miles of it
stateNo"CA" or "NV". Also tells apart counties with the same name, such as Humboldt.
countyNoCounty name without "County", in California or Nevada, e.g. "Monterey" or "Washoe"
nightsNoNights of the stay
offsetNoResults to skip, for pagination
regionNoRegion id, e.g. central-coast, san-diego or reno-tahoe-nevada
dog_weight_lbNoThe dog's weight in pounds
max_total_feeNoMost the guest will pay in pet fees for the whole stay, USD
response_formatNo'markdown' for readable text, 'json' for structured datamarkdown
include_possibleNoInclude hotels that need a call to confirm

Output Schema

NameRequiredDescriptionDefault
codeNoWith an outcome other than ok: not_found, invalid, unavailable
nextNoCalls that would answer the question, in words
as_ofYesDate the data was built (YYYY-MM-DD)
countYes
totalYes
countsYes
hotelsYes
offsetYes
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.
acceptedNoWith bad_input: each argument that could not be read, with the values it accepts
has_moreYes
did_you_meanNoClose matches to what was asked for: towns, places, slugs or brands, best first
resolved_fromNoSet when a word was read as the value the tool uses: hotel as lodging, NB as north. Each key is the argument; asked is what was sent, used what it was read as
attribution_urlYes
attribution_textYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / brand / enum
      Previous value: -[
      -  "best-western",
      -  "extended-stay-america",
      -  "kimpton",
      -  "la-quinta",
      -  "motel-6",
      -  "red-roof"
      -]New value: +[
      +  "best-western",
      +  "candlewood-suites",
      +  "comfort",
      +  "econo-lodge",
      +  "extended-stay-america",
      +  "hilton",
      +  "hyatt",
      +  "kimpton",
      +  "la-quinta",
      +  "marriott",
      +  "motel-6",
      +  "quality-inn",
      +  "red-roof",
      +  "sleep-inn",
      +  "staybridge-suites",
      +  "wyndham"
      +]
  2. Changed2 schema fields changed
    • addedOutput schema / properties / hotels / items / 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 / hotels / items / properties / meals
      Added value: +{
      +  "description": "Meals a restaurant or cafe says it serves",
      +  "items": {
      +    "enum": [
      +      "breakfast",
      +      "brunch",
      +      "lunch",
      +      "dinner"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  3. Changed6 schema fields changed
    • changedInput schema / properties / query / description
      Previous value: -"Words in the hotel name, city or brand"New value: +"Words in the hotel name, city or brand; or an airport code or name (\"LAX\", \"Harry Reid\") for hotels within 5 miles of it"
    • 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 / hotels / items / properties / answer / description
      Added value: +"The one-line answer; while a seasonal rule applies today it leads with it (see today)"
    • addedOutput schema / properties / hotels / items / 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"
      +}
    • addedOutput schema / properties / hotels / items / 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"
      +}
    • addedOutput schema / properties / resolved_from
      Added value: +{
      +  "additionalProperties": {
      +    "additionalProperties": {},
      +    "properties": {
      +      "asked": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          }
      +        ]
      +      },
      +      "used": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          }
      +        ]
      +      }
      +    },
      +    "required": [
      +      "asked",
      +      "used"
      +    ],
      +    "type": "object"
      +  },
      +  "description": "Set when a word was read as the value the tool uses: hotel as lodging, NB as north. Each key is the argument; asked is what was sent, used what it was read as",
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
  4. Changed10 schema fields changed
    • changedInput schema / properties / dog_weight_lb / maximum
      Previous value: -250New value: +300
    • changedInput schema / properties / dogs / maximum
      Previous value: -4New value: +10
    • changedInput schema / properties / max_total_fee / maximum
      Previous value: -5000New value: +10000
    • changedInput schema / properties / nights / maximum
      Previous value: -30New value: +90
    • 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 / 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"
      +}
  5. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnly/idempotent/non-destructive), the description discloses the real output semantics: each hotel is a match, a 'possible' needing a call, or excluded, with the fee arithmetic spelled out plus source URL and verified date. It also pre-empts a likely misread — amounts are pet fees only, never room rates — which is exactly the kind of behavioral caveat 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?

Content is front-loaded: purpose first, then scope boundary, then inputs, then examples. The opening sentence is a dense run-on of illustrative questions rather than a clean statement, and the example block is long, but nearly every line earns its place by resolving an ambiguity in how to call the tool.

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?

For a 15-parameter, all-optional, nested-object tool with an output schema and full annotations, the description covers what an agent still needs: scope limits, result classification, fee-only semantics, and call-construction examples. Nothing essential to selecting or invoking it correctly 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 description coverage is 100%, so the schema already explains every parameter, including 'County without "County"', state enum values, and area ids; the prose largely echoes it. The added value comes from the examples, which show how natural-language requests map onto the mutually substitutable addressing modes (query, county+state, near with lat/lon, area/region), which the schema alone does not teach.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The definition states a concrete verb+resource (evaluate hotels against their published pet policies and compute dog-count/weight/fee arithmetic for a stay) rather than restating the name. It explicitly delimits scope against siblings: 'It answers for stays at specific hotels, not for a chain's policy in general, and it lists no other kind of place,' which cleanly separates it from a brand-policy lookup and from place search.

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?

Usage context is clear — use it for a specific stay at a specific property, not for chain-wide policy — and five worked examples map realistic questions onto parameter combinations (county, near, query with airport code, dogs/nights). It stops short of naming the alternative tool to use for chain policy, so the routing is implied rather than explicit.

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.