Skip to main content
Glama
DogPolicies MCP Server

DogPolicies MCP Server

by xultrax-web

Nearest emergency vet

dogpolicies_emergency_vet
Read-onlyIdempotent

Find the nearest 24-hour or emergency animal hospital for a town, landmark, or GPS point, including address, phone, hours, distance, and source date so travelers can call ahead.

Instructions

Where is the nearest 24-hour or emergency animal hospital to this town, landmark or point: "my dog ate something near Kettleman City", "emergency vet near South Lake Tahoe tonight"? Returns the nearest hospitals with address, phone number, whether they are open 24 hours every day or take emergencies in published hours, any hours the hospital publishes for an upcoming holiday such as Thanksgiving, the straight-line distance, the hospital's own page and the date it was read. Mountain and desert stretches often have none close: the answer then names the nearest one anyway with its distance. It gives where, when and the phone number only: never medical advice. Tell the traveler to call ahead. Inputs: place as people say it (a city, county, neighborhood, airport) or near={lat, lon}; radius_miles (default 60, up to 200); open_24h_only (default false).

Examples:

  • "My dog ate chocolate, we are near Kettleman City" -> place="Kettleman City"

  • "24-hour vet near South Lake Tahoe" -> place="South Lake Tahoe", open_24h_only=true

  • "Emergency vet near here" -> near={lat:38.68, lon:-119.75}

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_emergency_vet"
  }
}

Input Schema

NameRequiredDescriptionDefault
nearNoA point as an alternative to a town: one of place or near
limitNoHospitals to list
placeNoA city, county, area, region, neighborhood or airport in California or Nevada, e.g. "Monterey", "South Lake Tahoe", "Washoe County, NV", "Las Vegas", "East Bay", "Lake Tahoe", "Central Valley", "Van Nuys", "Koreatown", "Venice Beach", "the Mission", "DTLA", "SFO" or "LAX airport" (an airport searches 5 miles unless radius_miles is given). Accepts the place as people say it; small spelling slips ("Montery") are corrected and the answer says so.
radius_milesNoHow far to look, in miles (straight line)
open_24h_onlyNoOnly hospitals open 24 hours every day
response_formatNo'markdown' for readable text, 'json' for structured datamarkdown

Output Schema

NameRequiredDescriptionDefault
codeNoWith an outcome other than ok: not_found, invalid, unavailable
nextNoCalls that would answer the question, in words
vetsYes
as_ofYesDate the data was built (YYYY-MM-DD)
labelYes
totalYes
caveatYes
centerYes
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
nearest_24hNoThe nearest 24-hour hospital at any distance, when none is inside the radius
did_you_meanNoClose matches to what was asked for: towns, places, slugs or brands, best first
radius_milesYes
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. Addedv0.6.1

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavior beyond that: the fallback that names the nearest hospital anyway when none are in range, the holiday-hours caveat, and the read-date provenance. However, it spends several lines enumerating return fields that the output schema already defines, diluting the behavioral value.

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 structure is front-loaded and scannable (purpose, returns, caveat, inputs, examples), but the first sentence is an overlong run-on that embeds quoted queries mid-clause. The 'Inputs' block repeats defaults and bounds already present in the schema, which is filler rather than earned content.

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 an output schema, full schema coverage, and rich annotations already supplied, the description only needs to add intent, edge-case behavior, and scope. It does all three: the empty-result fallback, the no-medical-advice boundary, and the call-ahead instruction. Nothing an agent needs in order to call 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 baseline is 3, and the description still adds meaning: it explains that place should be given 'as people say it', that spelling slips are corrected and flagged in the answer, and that an airport implicitly uses a 5-mile radius. It omits limit and response_format entirely, which keeps it from a 5.

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 opening sentence states a specific question the tool answers (nearest 24-hour or emergency animal hospital) and the scope of the query (town, landmark, or point). An agent can distinguish this from siblings like dogpolicies_find_hotels or dogpolicies_get_place without opening any schema, because the resource and the emergency-vet framing are both explicit.

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?

The examples map real user phrasings ('my dog ate chocolate, we are near Kettleman City') to concrete argument combinations, which is strong when-to-use guidance. It also states a scope exclusion ('never medical advice. Tell the traveler to call ahead'), but it never names an alternative tool or says when a different sibling would be the better pick.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.