Skip to main content
Glama

querytap

Rows from a public open-data dataset, with its publisher and

opendata_rows
Read-onlyIdempotent

Rows from a public open-data dataset, with its publisher and licence. Socrata: 4x4 id with optional SoQL where/select/order. CKAN (open.canada.ca, donneesquebec.ca): datastore resource id with optional q. Input: A portal and dataset id, from /opendata/search (fields portal and dataset). Example: /opendata/data.ct.gov/n7gp-d28j?limit=5 Price: $0.005 USDC per call (x402). Without payment: a free 3-row preview, 3 per day.

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": {
      "portal": "<portal>",
      "dataset": "<dataset>"
    },
    "name": "opendata_rows"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoCKAN full-text filter.
limitNo1–100 (default 25).
orderNoSocrata SoQL $order.
whereNoSocrata SoQL $where.
portalYesPortal hostname, e.g. data.ct.gov or open.canada.ca.
selectNoSocrata SoQL $select.
datasetYesSocrata 4x4 id or CKAN datastore resource id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent and non-destructive behavior, and the description adds material context beyond them: per-call pricing ($0.005 USDC via x402), the free 3-row preview capped at 3 per day, and which parameters only apply to which backend. Minor gap: the arbitrary portal hostname input sits in some tension with openWorldHint=false, and error behavior for unsupported portals is not described.

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?

The opening sentence largely restates the title, but everything after it is dense and front-loaded: backend formats, input provenance, example, then price and quota. No filler, though the title/description duplication is a small waste.

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 read-only retrieval tool with no output schema, the description covers input provenance, accepted id formats, return payload (rows plus publisher and licence), and cost/quota limits. It stops short of describing failure modes for unsupported portals or how limit interacts with the free preview.

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 earns more by explaining backend-conditional applicability — where/select/order are Socrata SoQL only, q is the CKAN full-text filter — which the schema states only piecemeal per property. It also anchors limit usage with the ?limit=5 example.

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?

The description states a specific resource (rows from a public open-data dataset, returned with publisher and licence) and immediately splits it into its two concrete backends, Socrata 4x4 ids and CKAN datastore resource ids. It also routes dataset discovery to /opendata/search, so an agent can tell this apart from the search sibling without opening a schema.

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?

It gives clear context for when this tool is the right call: you already have a portal and dataset id obtained from /opendata/search, and it supplies a worked example plus the payment/free-preview conditions. What it lacks is an explicit exclusion such as 'do not use this to find datasets — use opendata_search', though that is strongly implied.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources