Skip to main content
Glama

get_dataset

Read-onlyIdempotent

Read approved rows from one published dataset, optionally filtering an exported field. Use offset and limit for pages. Request fields to read a statutory category catalog. Responses are capped near 30 KB.

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": {
      "id": "<id>"
    },
    "name": "get_dataset"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
fieldNo
limitNo
valueNo
fieldsNo
offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so safety is covered. The description adds real behavioral context beyond that: visibility is restricted to approved rows of published datasets, results are paginated, and responses are capped near 30 KB — the size cap being operationally important for callers planning large reads.

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?

Four short sentences, each carrying a distinct fact (scope, paging, catalog mode, size cap), with no filler. The third sentence's phrasing is awkward enough to cost a point, but nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With six parameters, no output schema, and no parameter descriptions in the schema, the definition should be more self-sufficient. It covers paging and response size but leaves the required `id` unexplained and gives no sense of the returned row shape or what the 'statutory category catalog' mode actually yields.

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 0%, so the description must carry the parameter burden, and it only partly does: offset/limit paging, the field/value filter pair, and the fields parameter are alluded to. However, the crucial `id` parameter (the dataset identifier) is never explained, and 'Request fields to read a statutory category catalog' is too cryptic to clarify the fields parameter's alternate behavior.

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 a specific verb and scope: 'Read approved rows from one published dataset,' which tells the agent exactly what resource is returned and that only approved/published content is visible. It does not name or differentiate against siblings such as list_datasets or get_page, keeping it just short of 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 implied rather than stated: the agent is told to 'use offset and limit for pages' and to pass fields for the catalog mode, which conveys mechanics of use. There is no when-to-use/when-not-to-use guidance and no routing to alternatives like list_datasets for discovery.

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