Skip to main content
Glama
Open Data B2B & Compliance MCP Server

Open Data B2B & Compliance MCP Server

list_code_violation_metros

Read-onlyIdempotent

Lists the six supported US municipal code enforcement Socrata portals, including live dataset URLs, ordering fields, and distress filters for quick data-source discovery.

Instructions

List all 6 supported US municipal code enforcement Socrata portals (Austin, Seattle, San Francisco, Buffalo, Montgomery County MD, Cincinnati), their live dataset URLs, ordering fields, and supported distress filters.

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": "list_code_violation_metros"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds behaviorally useful content the annotations do not: that the portals are 'live' upstream datasets and that each entry carries ordering fields and supported distress filters, which tells the agent what capabilities exist downstream. It stops short of describing the concrete response shape.

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

Conciseness4/5

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

A single front-loaded sentence with no filler; the verb and scope come first, the detail follows. It is somewhat dense with a long parenthetical jurisdiction list, but every clause maps to a returned field rather than padding.

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?

There is no output schema, so the description must carry the return contract, and it does: it names the count (6), the jurisdictions, and the per-entry fields (dataset URLs, ordering fields, distress filters). For a zero-parameter metadata tool, nothing essential 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?

The tool takes zero parameters and the schema coverage is 100%, so there is nothing for the description to clarify about inputs. Baseline 4 applies for a no-parameter tool.

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 names a specific verb ('List') and resource ('code enforcement Socrata portals'), then enumerates exactly what comes back: dataset URLs, ordering fields, and supported distress filters. The enumeration of six named jurisdictions makes it unambiguously distinct from sibling tools like list_supported_permit_metros and search_code_violation_leads.

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?

Usage is implied rather than stated: an agent can infer this is a discovery/metadata step before running search_code_violation_leads, but the description never says so explicitly, nor does it state exclusions or prerequisites. Adequate context, no routing guidance.

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