Skip to main content
Glama

Restaurant Inspection Scores

civicdataforge--restaurant-inspection-scores

Use for official restaurant inspection scores, violations, and facility-history research in supported jurisdictions. Do not use for general property-code violations or childcare inspections. Starts the bound Apify Actor with the caller's APIFY_TOKEN, may consume Apify usage, waits up to 60 seconds, and returns at most 1,000 source-linked rows without modifying government records.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sinceNoInclusive ISO date YYYY-MM-DD.
untilNoInclusive ISO date YYYY-MM-DD.
citiesNoOfficial inspection feeds to query. Every output and run receipt discloses source age, row grain, and source status.
resultContainsNoCase-insensitive substring on the jurisdiction's published result or grade. A source with no such field returns no matches; scores are never guessed into grades.
socrataAppTokenNoOptional caller-owned app token for a dedicated Socrata rate-limit pool. It is sent only as X-App-Token and never returned.
maxRecordsPerCityNoBounded newest-first query limit per jurisdiction (1-5,000).
businessNameContainsNoCase-insensitive establishment-name substring. Applied server-side where supported and verified client-side for every source.

TDQS

A4.4/5.0
Behavior5/5

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

The description goes well beyond the sparse annotations by revealing that it starts an Apify Actor, consumes caller usage via APIFY_TOKEN, may wait up to 60 seconds, returns at most 1,000 rows, and does not modify government records. This meaningfully adds cost, latency, limit, and side-effect information that annotations do not provide.

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?

The description is three tight sentences with no filler. Purpose is front-loaded, exclusions come second, and behavioral constraints are concentrated in one dense final sentence. Every clause contributes useful information.

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 tool with 7 optional parameters, the description covers the key operational facts: scope, exclusions, auth, cost, latency, row limit, and non-modification. The rich input schema fills in jurisdiction options and parameter details. The only gap is absence of output row structure, but no output schema exists and the description still gives a useful high-level output expectation.

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 description coverage is 100%, and the schema itself already gives rich parameter explanations including date patterns, enum values, defaults, and bounds. The description adds no parameter-specific semantics, but since the schema carries the load, the baseline score of 3 is appropriate.

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 description opens with a specific verb and resource: 'Use for official restaurant inspection scores, violations, and facility-history research in supported jurisdictions.' It also explicitly excludes related areas ('Do not use for general property-code violations or childcare inspections'), which distinguishes it from sibling tools such as property-violations and childcare licensing.

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?

It clearly states when to use the tool and gives explicit negative guidance for property-code violations and childcare inspections. It stops short of naming the exact alternative sibling tools, but the intended routing is clear enough for an agent.

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.

TDQS

A4.1/5.0
Disambiguation4/5

The domain-specific tools are clearly separated by record type, with explicit cross-references that reduce confusion between similar categories like Texas vs. multistate childcare or STR permits vs. Florida DBPR lodging. The main ambiguity is the broad evidence-gateway tool, which overlaps with several specialized query tools and could be selected instead of the more precise one.

Naming Consistency4/5

The domain tools follow a consistent civicdataforge-- prefix pattern, and the Apify utilities follow a get-/abort- verb pattern, making the overall set readable. Minor deviations include the awkward civicdataforge--civicdataforge-evidence-gateway duplication and the mix between noun-style domain tools and verb-style utility tools.

Tool Count5/5

With 14 tools, the set is well-scoped: ten specialized public-record query tools plus four Apify lifecycle/data-access utilities. Each tool has a distinct role, and the count is appropriate for the breadth of supported public records without feeling bloated.

Completeness4/5

The tool surface covers a broad range of public-record evidence categories and provides the necessary run, dataset, and key-value-store operations for working with results. Minor gaps include a lack of discovery tools for listing supported jurisdictions/sources and no general-purpose search across all record types, but the core evidence workflows are well covered.