Skip to main content
Glama
wa-state-ev-opendata-mcp

wa-state-ev-opendata-mcp

Query Washington dataset resource

query_wa_dataset_resource
Read-onlyIdempotent

Query live JSON rows from Washington State Socrata datasets by 4x4 resource ID, with optional full-text search, row limits, and pagination.

Instructions

Query live JSON rows from any Washington State Socrata dataset using its 4x4 resource identifier.

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_wa_dataset_resource"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum rows to return (default 10).
queryNoOptional full-text filter query.
offsetNoPagination offset (default 0).
dataset_idYes4x4 Socrata resource ID (from search_wa_opendata_catalog, e.g. "f6w7-q2d2").

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 readOnly, idempotent, non-destructive, and open-world, so the safety profile is covered. The description adds value by noting results are "live JSON rows," implying real-time retrieval and a JSON return format. It does not cover error behavior for invalid IDs, rate limits, or pagination interaction, keeping it at 3.

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 zero wasted words that conveys source, action, and required identifier. Nothing is buried or padded.

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?

For a simple generic-query tool with complete schema coverage and rich annotations, the description states data source, return format (live JSON rows), and the key identifier. With no output schema, it gives a minimal return hint, though it omits query-field scope and error behavior. Slightly thin but largely adequate.

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 coverage is 100%, so all four parameters (dataset_id, limit, query, offset) are already documented in the schema. The description's "4x4 resource identifier" corroborates the dataset_id format but adds no detail beyond it, and gives no extra guidance on limit/query/offset. Baseline 3 is 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?

States a specific verb and resource: "Query live JSON rows from any Washington State Socrata dataset using its 4x4 resource identifier." This distinguishes it as the generic dataset-query tool versus the more specialized siblings like query_wa_ev_by_county. It does not explicitly name or contrast the sibling tools, so not a 5.

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 only implied: "any Washington State Socrata dataset" signals generality, and the required identifier hints you need a dataset ID first. There is no explicit when-to-use versus the pre-built EV query siblings, and no stated exclusions. The routing pointer (search_wa_opendata_catalog) lives in the schema, not the description.

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