Skip to main content
Glama
briandconnelly

seattle-open-data

Seattle Data Describe Dataset

seattle_data_describe_dataset
Read-only

Inspect a Seattle open dataset's columns, live row count, time coverage, and place/geo fields before querying to choose valid filters for area or near searches.

Instructions

Decide whether and how to query a dataset: columns, live row count, data_coverage (actual time range), place fields for "in " questions (with reliability), and geo columns for near.

Call before querying a dataset whose columns you do not know. For area questions, use detail="full". Filter a place field on its value, never its label; an area may span several values. Example: {"dataset_id": "kzjm-xkqj", "detail": "full"}. Typically 1-3 s; fails with query_timeout after 30 s.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
detailNosummary (default) or full: adds place-field values and column stats.
dataset_idYesSocrata dataset id, e.g. kzjm-xkqj (from seattle_data_search_datasets).
sample_rowsNoExample rows to include. Default 0.
column_queryNoOnly columns whose name or description contains this; omit for all.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYes
sourceYes
columnsYes
guide_uriNo
row_countYes
dataset_idYes
geo_columnsYes
sample_rowsNo
geo_unusableNo
place_fieldsYes
queryabilityYes
data_coverageYes
time_semanticsYes
example_queriesNo
stats_availableYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, openWorldHint), so the description earns credit for adding latency and failure behavior: 'Typically 1-3 s; fails with query_timeout after 30 s.' It also flags a non-obvious data caveat (place values vs labels, areas spanning multiple values), which is genuinely beyond structured fields.

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?

Front-loads the payoff, then usage rules, then an example and a performance note. Dense but every line carries decision-relevant information; the enumerated return list is a touch verbose but justified for a metadata tool.

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?

An output schema exists, so return formatting need not be explained. The description supplies everything an agent needs to decide whether to call it, choose detail, and interpret place fields, matching the tool's complexity.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real decision semantics: when to set detail="full" (area questions) and how to use place fields (filter on value, not label). It also supplies a concrete example call.

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?

States a specific verb (decide whether/how to query) and enumerates exactly what the tool returns: columns, live row count, data_coverage, place fields with reliability, and geo columns. The mention of querying clearly separates it from seattle_data_search_datasets and seattle_data_get_reference.

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?

Gives a clear trigger ('Call before querying a dataset whose columns you do not know') and conditional guidance ('For area questions, use detail="full"'), plus a field-filtering rule. It stops short of explicitly naming seattle_data_query_dataset as the next step or stating when this call can be skipped.

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