Skip to main content
Glama
Lavoiedavidw

Charlotte-Mecklenburg MCP Server

by Lavoiedavidw

crime_near

Find CMPD patrol and domestic violence call counts near a Charlotte/Mecklenburg address or point, with adjustable radius and time window.

Instructions

CMPD calls-for-service (patrol + domestic violence) near a point.

Provide either address (free-form string) or both lat and lon. CMPD_Calls_for_Service has no incident-level geometry — it is a monthly-aggregate table keyed by Neighborhood Profile Area (NPA). This tool resolves the NPA(s) near the point via nearby 311 request density (see module docstring), then sums CALL_COUNT by CALL_DESCRIPTION ("CMPD Patrol Calls For Service" / "CMPD DV Calls For Service") for months within days of now.

Args: address: Free-form address, e.g. "600 E 4th St, Charlotte, NC". lat: Latitude, used with lon if address is not given. lon: Longitude, used with lat if address is not given. radius_m: Radius in meters used to resolve nearby NPAs (default 800). days: Only include months within this many days of now (default 90). limit: Maximum number of raw NPA/month/category records to return (default 50); the breakdown totals cover all matching months, not just the returned records.

Returns: Dict with nearby_npas (NPA ids used), records (raw NPA/month/ category rows, capped at limit), breakdown (call description -> total count), total_calls, radius_m, days, lat, lon, resolved_address, and a summary.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latNo
lonNo
daysNo
limitNo
addressNo
radius_mNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations, the description carries the full burden and does so thoroughly. It discloses the data aggregation methodology, the NPA resolution via 311 request density, and the exact computation (sums CALL_COUNT by CALL_DESCRIPTION) — information that goes far beyond a simple read operation and gives the user a clear mental model of 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?

The description is long but every sentence earns its place: a one-line summary, a necessary methodological caveat, a concise Args list with defaults, and a Returns summary. It is well-structured and front-loaded with the most essential fact first.

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?

The tool has 6 parameters, no required ones, and an output schema, but the description still provides complete context: it explains the data's nature, the resolution strategy, parameter meanings, and return fields. Even without the output schema, an agent would know what to expect. No gaps remain.

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

Parameters5/5

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

Schema description coverage is 0%, yet the description explains every parameter in Args, including defaults and special behaviors (e.g., 'the breakdown totals cover all matching months, not just the returned records' for limit). This fully compensates for the schema's lack of descriptions.

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 first line states the exact purpose: 'CMPD calls-for-service (patrol + domestic violence) near a point.' This clearly distinguishes it from sibling tools like homicides_near or service_requests_near by specifying the dataset and the spatial query nature.

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 explicit input guidance: 'Provide either address or both lat and lon.' It also explains the underlying data limitation (no incident-level geometry, monthly aggregate by NPA) which tells the user when this tool is appropriate. However, it does not explicitly mention when not to use it or name alternatives, so it falls short of a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Lavoiedavidw/Charlotte-City-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server