Skip to main content
Glama
ajwann

Charlotte Open Data MCP Server

by ajwann

City budget by department or fund

get_city_budget
Read-onlyIdempotent

Retrieve Charlotte city budget totals by fiscal year, department, fund, or expense category to analyze municipal spending and funding allocations.

Instructions

City of Charlotte budget totals for a fiscal year by department, fund, or expense type.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
group_byNodepartment
departmentNoOptional filter, e.g. 'Police'.
fiscal_yearNoe.g. 'FY2023'; defaults to the latest published.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
rowsYes
notesYes
group_byYes
fiscal_yearYes
net_total_amountYesSum of all lines, including negative ones.
department_filterYes
positive_total_amountYesSum of lines with positive amounts.
available_fiscal_yearsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds only that results are budget totals scoped to a single fiscal year; it says nothing about pagination despite a limit parameter, so it adds limited value beyond structured data.

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?

A single, front-loaded sentence with no filler. Every word carries scope information and nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and annotations cover safety. But for a parameterized aggregation tool, the undocumented limit/pagination behavior and the absence of any usage context leave it only minimally complete.

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?

At 50% schema coverage, the description usefully maps the group_by enum concepts ('by department, fund, or expense type') to real aggregation dimensions. However, the limit parameter is unexplained in both schema and description, so the description only partially compensates for the coverage gap.

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 verb and resource with scope: 'City of Charlotte budget totals for a fiscal year by department, fund, or expense type.' This distinguishes it from data siblings like get_city_salary_stats. It does not explicitly name an alternative, but the resource is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description offers no when-to-use guidance, no prerequisites, and no alternatives among the many sibling data tools (query_dataset, get_city_salary_stats). Usage must be inferred entirely from the resource name.

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