Skip to main content
Glama

NYC violations — hearing dismissal rates by code

violation_dismissal_rates
Read-onlyIdempotent

How New York City parking and camera tickets are actually decided at hearing, violation type by violation type — the share dismissed outright and the share dismissed or reduced, computed from the City's own published hearing records (119.8M rows). Give a violation to get its rates (partial names match, e.g. 'SIDEWALK' or 'MUNI METER'); omit it for a ranking of all 80 violation types.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoHow many rows in the ranking. Default 20.
orderNoRanking order when no violation is given. Default most_dismissed.
violationNoViolation name as printed on the ticket, or a fragment of it. Omit for the full ranking.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already carry the read-only, non-destructive, idempotent profile, so the description adds useful behavioral context beyond them: it notes the 119.8M-row public source, partial-name matching behavior, and the two rates produced. It also discloses that omitting the violation produces a full ranking. No contradiction with annotations.

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?

Two sentences carry the entire definition with no filler: the first sets the domain and goal, the second covers both invocation modes with examples. Front-loaded and highly scannable.

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?

With no output schema, the description adequately explains what the tool returns—dismissal and dismissal/reduction rates per violation—and how to request single-code versus ranked results. It could mention match edge cases or exact response fields, but the optional-parameter design keeps the missing detail minor.

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?

The input schema already describes all three parameters fully, so the baseline is 3. The description adds meaningful extra semantics: partial string matching for the violation parameter, concrete examples, and the behavior of omitting the violation to get the full ranking.

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 clearly names the analysis being delivered: hearing dismissal rates for NYC parking and camera tickets, computed from a specific data source. It also explains the two primary usage modes—single violation lookup versus full ranking—but does not explicitly distinguish the tool from sibling analytics tools like borough_odds or popla_outcomes.

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 description gives concrete usage context: provide a partial violation name for single-code rates, or omit it for a ranking, with defaults implied. It does not state when not to use this tool or name alternatives, but the intended scenarios are clear enough for an agent to select it appropriately.

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