U.S. Bureau of Transportation Statistics (BTS) — data.bts.gov open-data portal (Socrata platform).
Three well-named, read-only tools with complete input schemas and solid descriptions. All tools follow verb_noun naming (search_, dataset_, query_). Descriptions are detailed (194 - 392 chars, within baseline 34 - 392 range) and explain WHAT, WHEN, and dependencies. Input schemas are properly typed with required fields. However, output schemas are not documented, LLMs cannot predict response structure for downstream chaining. Parameter descriptions are good but lack explicit constraints (e.g., no min/max for limit/offset, no enum for SoQL clauses). Error handling is minimal, no recovery guidance or actionable error messages visible in code.
List the columns of a data.bts.gov dataset: field name (used in SoQL $select/$where), human label, and data type (number, text, calendar_date, etc.). Call this before query_dataset so you know which fields exist. datasetId is the Socrata 4x4 code from search_datasets.
Query rows from a data.bts.gov dataset using SoQL. datasetId is the Socrata 4x4 code from search_datasets. SoQL clauses: $select (columns / aggregates like "count(*)" or "avg(air_fare)"), $where (SQL-like filter, e.g. "date > '2024-01-01' AND state='TX'"), $order ("date desc"), $group, $q (full-text across the row). Use dataset_columns first to learn field names. Returns an array of row objects keyed by field name. Default $limit is 50 (Socrata max per page is 50000).
Search datasets published on the U.S. Bureau of Transportation Statistics open-data portal (data.bts.gov). Returns each dataset's Socrata 4x4 id (e.g. "crem-w557"), name, and description. Use the id with dataset_columns and query_dataset. BTS covers aviation (passenger counts, on-time performance, air fares, airline financials), freight movement, transit ridership, border crossings, and transportation safety. Example queries: "aviation", "border crossing", "transit", "freight".
Output schemas not documented. LLMs cannot predict response structure (fields, types, pagination) for downstream tool chaining or data extraction.
No explicit constraints on numeric parameters. limit/offset lack min/max bounds; LLMs could pass absurd values (limit=999999, offset=-1) that break Socrata API or cause timeouts.
Error handling is silent. callTool() throws generic errors ('BTS: 404 ...') with no recovery guidance. LLMs cannot self-correct or know whether to retry, ask user, or abort.
query_dataset SoQL parameters ($select, $where, $order, $group, $q) lack format/syntax guidance. Descriptions mention examples but no validation or error messages if LLM passes invalid SoQL.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 60 | 2026-07-28+ | v2 |
No pagination guidance in search_datasets description. Agents calling this in a loop won't know when to stop or how to fetch all results efficiently.