Skip to main content
Glama

Preview Dataset

preview_dataset
Read-only

Preview dataset rows up to a set limit, with guidance to raise the limit or create a filtered dataset.

Instructions

Return a bounded preview of an immutable dataset.

    Includes a truncation_message telling how to raise the limit (up to the
    configured max) or derive a filtered dataset.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
dataset_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description adds useful behavioral context: the dataset is immutable and the response includes a truncation_message that explains how to raise the limit or derive a filtered dataset. No contradiction exists.

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 description is two tight sentences. The core purpose is front-loaded, and the second sentence adds exactly one valuable behavioral detail without any fluff.

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?

An output schema exists, so return values do not need to be spelled out. Combined with annotations, the description gives enough behavioral context for a read-only preview tool, though it misses sibling differentiation.

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?

The schema has zero description coverage, so the description must carry meaning for the parameters. It partially explains limit by referencing a configured maximum and the truncation_message guidance, but dataset_id is left entirely to inference.

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 opens with 'Return a bounded preview of an immutable dataset,' which is a specific verb, resource, and scope. It clearly says what the tool does, though it does not explicitly distinguish itself from the sibling inspect_dataset.

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

Usage Guidelines2/5

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

There is no guidance on when to use preview_dataset instead of inspect_dataset, derive_tabular_dataset, or other siblings. The truncation_message note explains a follow-up behavior, not when or when not to select this tool.

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