Skip to main content
Glama

show_inspection

Read-only

Returns an MCP App card for a restaurant name, or a map for a violation term in a city. Hosts that support MCP Apps render the card or map inline. The text result names the matches for hosts that only show text.

Input Schema

NameRequiredDescriptionDefault
cityNoCity scope. Required for a violation map.all
viewNocard, map, or auto. auto uses a card for a restaurant and a map for a violation search.auto
limitNoMaximum places to show (1-12).
queryNoRestaurant name, or a violation word when violation is omitted.
violationNoViolation text to map, such as pest, roach, or dropping.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare this is read-only and non-destructive. The description adds useful behavior beyond that: supporting hosts render the card or map inline, while text-only hosts get a text result naming the matches. It does not cover no-match or error behavior.

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?

Three short sentences, front-loaded with the output behavior and followed by host-rendering fallback details. Every sentence contributes useful information without redundant restatement.

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 moderate-complexity visual-output tool with no output schema, the description covers the key output forms and text fallback. It remains implicit about the underlying data source and exactly what the text matches include.

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?

The input schema has 100% description coverage for all five parameters, including enums and defaults. The description reinforces the query/violation split but adds no syntax, format, or constraint details beyond what the schema already provides.

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?

States a specific output behavior: it returns an MCP App card for a restaurant name or a map for a violation term in a city. The purpose is clear enough to call, but it does not explicitly name inspection records or differentiate itself from siblings like search_restaurants.

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?

Implies usage based on query type: restaurant name for a card, violation term plus city for a map, and notes host rendering support. It gives no explicit when-not guidance or alternatives among the sibling tools.

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.

Resources