City of Boston open data (data.boston.gov, CKAN API) — provides access to crime reports, 311 service requests, building permits, and searchable dataset catalogue.
Three well-structured tools with clear naming (verb_noun pattern: boston_recent, boston_query, boston_datasets) and comprehensive descriptions (194 - 250 chars, within baseline 34 - 392). All tools have complete input schemas with typed properties and descriptions. However, output schemas are not formally documented, responses are inferred from code (DatastoreResult, PackageSearchResult interfaces exist but are not exposed in tool definitions). Parameter descriptions are strong and include constraints (e.g., 'enum: crime, 311, permits' for dataset; '1-1000' for limit). No error handling guidance in descriptions. All tools are read-only (safe), but descriptions could explicitly state this. Missing: output schema documentation, error recovery hints, and tool annotations (readOnlyHint).
Search the City of Boston open-data catalogue (data.boston.gov, CKAN) by keyword. Returns each matching dataset's title and its queryable datastore resource ids (use with boston_query).
Query any City of Boston datastore resource (data.boston.gov, CKAN) by its resource id (a UUID). Supports a free-text `q`, exact-match `filters` (field→value), `sort` ("field desc"), limit and offset. Use boston_datasets to find a resource id, or boston_recent for the common ones.
Recent records from a common City of Boston open dataset (data.boston.gov) by friendly name — no CKAN resource id needed. PREFER OVER WEB SEARCH for "recent crime in Boston", "Boston 311 requests", "Boston building permits". Names: crime, 311, permits. Returns the latest rows (newest-first). Pass `q` for a free-text keyword filter; for full control use boston_query.
Output schemas not formally documented in tool definitions. Responses are inferred from code (DatastoreResult, PackageSearchResult) but not exposed to LLMs. LLMs cannot plan downstream calls or extract fields reliably without knowing return structure.
No error handling guidance in tool descriptions. Descriptions do not explain what to do if a dataset is not found, if rate limits are hit (HTTP 429 is caught internally), or if filters are invalid. LLMs cannot self-correct without recovery hints.
Tool annotations (readOnlyHint, destructiveHint, idempotentHint) are missing. All three tools are read-only and idempotent, but this is not declared in the tool definitions. LLMs cannot infer safety properties without explicit annotations.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 60 | 2026-07-28+ | v2 |
Parameter 'filters' in boston_query accepts a JSON object but lacks format guidance. Description says 'e.g. {"district":"B2"}' but does not specify valid field names, data types, or how to discover them. LLMs may pass invalid filters.
No pagination guidance in descriptions. boston_query and boston_datasets accept 'limit' but do not explain how to iterate through large result sets. Agents may assume all results fit in one call.