Skip to main content
Glama
Open AI Data MCP Server

Open AI Data MCP Server

by i6eal

Search and Paginate Dataset Records

query_dataset_records
Read-onlyIdempotent

Search, filter, and paginate records in any catalogued dataset’s JSON index or sibling CSV distribution, returning bounded results with counts, data state, attribution, and rights notice.

Instructions

Search, filter, and paginate records from any catalogued dataset’s primary JSON record list or one of its sibling CSV distributions. Always returns bounded results with total counts, data state, attribution, and compilation-only rights notice.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of matching records to return (1–100, default 20).
queryNoOptional case- and diacritic-insensitive keyword filter (all whitespace-separated terms must match a record).
offsetNoPagination offset into matching records (default 0).
dataset_idYesCanonical i6eal dataset identifier.
distribution_pathNoOptional sibling distribution path declared by the dataset (e.g. "/data/ki-haushaltsmonitor/series.csv"). Defaults to the dataset’s primary JSON index.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuine value by disclosing the return shape (total counts, data state, attribution, rights notice) and that results are bounded, though it says nothing about error behavior for invalid dataset_id or distribution_path.

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?

Two dense sentences, front-loaded with the core action and scope, with no filler. The trailing enumeration of return fields is slightly listy but each item carries information.

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 no output schema, the description usefully compensates by summarizing what comes back (counts, data state, attribution, rights notice). Pagination and filtering semantics live in the fully-documented schema, leaving only minor gaps around failure modes.

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 limit, offset, query, dataset_id and distribution_path are all documented in the schema itself. The description's mention of 'primary JSON record list or one of its sibling CSV distributions' reinforces what distribution_path selects, but adds little beyond the schema text.

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 names specific verbs (search, filter, paginate) and a concrete resource (records from a catalogued dataset's primary JSON index or sibling CSV distribution). An agent can tell it retrieves records from one dataset, implicitly contrasted with cross-dataset search, but no sibling is named explicitly.

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: 'from any catalogued dataset' suggests per-dataset retrieval as opposed to a cross-dataset search, but the description never states when to prefer this over search_across_datasets or get_dataset_changes. No exclusions or prerequisites are given.

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