Skip to main content
Glama

Restaurant Health Inspections

Inspection history

get_inspection_history
Read-only

Get the inspection history (dates, scores/grades/results, and violations where published) for one restaurant.

Input Schema

NameRequiredDescriptionDefault
cityYes"nyc" (New York City, New York, US), "sf" (San Francisco, California, US), "la" (Los Angeles County, California, US), "las_vegas" (Las Vegas, Clark County, Nevada, US), "chicago" (Chicago, Illinois, US), "boston" (Boston, Massachusetts, US), "austin" (Austin, Texas, US), "santa_clara" (Santa Clara County, San Jose & Silicon Valley, California, US), "marin" (Marin County, California, US), "sacramento" (Sacramento County, California, US), "raleigh" (Raleigh / Wake County, North Carolina, US), "louisville" (Louisville, Kentucky, US), "detroit" (Detroit, Michigan, US), "cincinnati" (Cincinnati, Ohio, US), "ny_state" (New York State, Rochester, Syracuse, Albany, Westchester, Nassau & more (not NYC)), "omaha" (Omaha / Douglas County, Nebraska, US), "fairfax" (Fairfax County, Northern Virginia, US), "uk" (London & the UK, England, Wales, Scotland & Northern Ireland), "toronto" (Toronto, Ontario, Canada), "france" (Paris & France, Nationwide, France)
restaurant_idYesThe `id` from search_restaurants (nyc: NYC CAMIS number; sf: SF permit number; la: LA record id like PR0012345; las_vegas: Southern Nevada permit number; chicago: Chicago license number; boston: Boston license number; austin: Austin facility id; santa_clara: Santa Clara business id like PR0300002; marin: Marin business id; sacramento: Sacramento facility id like FA0001195; raleigh: Wake County HSISID; louisville: Louisville establishment id; detroit: Detroit establishment id; cincinnati: Cincinnati license number like FSO-013375-C4S; ny_state: NYS health operation id; omaha: Douglas County permit number like FS-68561-25; fairfax: Fairfax record id like HFOOD-000009369; uk: FHRS id; toronto: DineSafe establishment id; france: Alim'confiance unit code like 43485195200433_00001).
max_inspectionsNoMax inspections to return, newest first (default 10).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already state readOnlyHint=true and openWorldHint=true, so safety and world scope are covered. The description adds the useful caveat that violations are included only 'where published' and names the result fields, but it does not state ordering, limits, or failure behavior; those remain schema-only.

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

Conciseness5/5

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

One front-loaded sentence names the operation, the target, and the content returned. The parenthetical listing is efficient and there is no redundant prose.

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 read-only lookup with rich schema descriptions and no output schema, the definition supplies enough to understand what is fetched and the publication caveat. It stops short of full completeness on when to use it versus alternatives and on pagination/order, though those are partly covered by the max_inspections schema description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, including detailed restaurant_id and city descriptions, so the schema carries parameter semantics. The description adds only the 'one restaurant' scope and does not explain parameter formats or constraints beyond the schema.

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 read operation (get inspection history) and resource (one restaurant), and lists the returned content (dates, scores/grades/results, violations). It is clear, but it does not explicitly contrast with sibling tools such as search_restaurants or rating_systems.

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?

It implies usage for a single restaurant that has already been identified, but gives no explicit when-to-use/when-not guidance or named alternative. The only routing hint is 'for one restaurant'; the dependency on search_restaurants appears only in the schema, not the description.

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.