Skip to main content
Glama

Preview a dataset

preview_dataset
Read-onlyIdempotent

The first records of the current version (up to 25), to see what the data looks like before querying or downloading. Free.

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": "preview_dataset"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRecords to return (1 to 25)
dataset_idYesDataset id from search_datasets, for example bg.finance.credit_institutions

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true and a closed-world scope, so the safety profile is fully covered by structured data. The description does add two things not in the annotations: that only the current version is sampled, and that the call is free, which is useful cost context. It says nothing about latency, pagination, or what a preview record actually contains beyond "what the data looks like."

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?

A single front-loaded sentence that opens with the return content, then the use case, then cost, with zero filler. It is written as a sentence fragment without a leading verb, which is slightly clipped but not confusing.

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 two-parameter read tool with full annotation coverage, full schema coverage, and no output schema, the description supplies the sampling behavior, the cap, the version scope, and the cost. The only real omission is any hint about the preview's return shape, which is minor given how little the agent needs to decide on this call.

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%, and the limit parameter is already documented as 1 to 25 with a default, so the schema carries most of the burden. The description contributes one extra piece of meaning by specifying ordering as the first records, which the schema does not state, and by tying dataset_id to the current version rather than a specific version. That is modest added value on top of the baseline.

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 identifies the resource (the first records of the current dataset version) and the cap (up to 25), which is specific enough for an agent to know exactly what comes back. It implicitly separates itself from querying and downloading, though it never names query_dataset or download_dataset directly.

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: use this to see the shape of the data before querying or downloading, which is a genuine when-to-use statement with implied exclusions. It stops short of an explicit "do not use this if you need more than 25 records or filtered rows" rule, so the routing is a touch soft.

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