Skip to main content
Glama
us-kansascity-opendata-mcp

us-kansascity-opendata-mcp

Query Kansas City Socrata dataset

query_kcmo_socrata_dataset
Read-onlyIdempotent

Query live rows from any Kansas City Socrata dataset by four-by-four resource ID, with optional SoQL filters, sorting, pagination, and field selection.

Instructions

Query live rows from any Kansas City Socrata dataset by four-by-four resource ID using optional SoQL parameters.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "dataset_id": "<dataset_id>"
    },
    "name": "query_kcmo_socrata_dataset"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoOptional full-text search term.
limitNoMaximum records to return (default 10).
orderNoOptional SoQL $order sort clause.
whereNoOptional SoQL $where filter expression.
offsetNoPagination offset (default 0).
selectNoOptional comma-separated list of column names to return.
dataset_idYesSocrata four-by-four dataset ID (for example "pnm4-68wg").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true, and destructiveHint=false, covering the safety profile. The description adds that rows are 'live' and that SoQL parameters are supported, but it omits rate limits, pagination behavior, error handling, and return shape, so it adds only moderate behavioral context.

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 definition is a single front-loaded sentence with no wasted wording. It puts the core action and scope first and mentions optional SoQL parameters without unnecessary elaboration.

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

Completeness4/5

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

With seven fully documented parameters and annotations covering safety, the description is nearly complete for invocation. The main gap is that no output schema exists and the description does not describe the shape of returned rows or pagination metadata, though the core query contract is clear.

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?

Schema description coverage is 100%, so the schema already documents each parameter including dataset_id format, limit defaults, and SoQL clauses. The description reinforces the four-by-four ID format and optional SoQL usage but adds no syntax or semantic detail beyond the schema, making the baseline 3 appropriate.

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?

The description states a specific verb and resource: query live rows from any Kansas City Socrata dataset by four-by-four resource ID. It is clear what the tool does, though it does not explicitly distinguish itself from siblings such as search_kcmo_opendata_catalog or get_kcmo_dataset_metadata.

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

Usage Guidelines3/5

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

Usage is implied by 'Query live rows' and the dataset ID requirement, so an agent can infer this is the tool for retrieving actual records. However, there is no explicit guidance on when to prefer it over the catalog search, metadata, or category-listing siblings, and no stated exclusions.

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