Skip to main content
Glama

List a dataset's tables

list_tables
Read-onlyIdempotent

The tables in one dataset, without the full column schemas — the cheap call when you only need table ids and titles. Example: {"dataset_slug": "kden-metar-hourly"}. Returns {dataset_slug, main_table, tables: [{id, slug, title, display_title?, description?, section?, license, version_id, capabilities}]} in curated order, except that the main table comes first and carries main: true. section contains id, title and collapsed; collapsed is only a UI preference, not an access restriction. Tables named source_* hold raw inputs; prefer main_table from list_tables. Use get_dataset instead when you also want columns.

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_slug": "<dataset_slug>"
    },
    "name": "list_tables"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataset_slugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), and the description still adds substantive behavior: curated ordering, the main table forced first with main: true, the meaning of section.collapsed as UI-only, and that source_* tables hold raw inputs. That last point materially affects how an agent interprets results.

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?

Front-loaded with the cheapest-call framing, which is the key selection signal, and every sentence carries information. The inline return-shape listing is dense and slightly hard to scan, but it is justified given there is no output schema.

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

Completeness5/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 must carry return semantics, and it does: field list, ordering rules, main-table override, and next-step routing. For a one-parameter read tool this leaves nothing an agent needs missing.

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 0% for the single parameter, but the worked example {"dataset_slug": "kden-metar-hourly"} conveys the expected slug format and casing that the bare string schema does not. It stops short of stating where slugs come from, so not a 5.

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?

Names the resource and scope precisely ('the tables in one dataset') and immediately contrasts it with the richer alternative ('without the full column schemas'). An agent can distinguish this from get_dataset without opening either schema.

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

Usage Guidelines5/5

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

Explicitly states when to use this tool ('the cheap call when you only need table ids and titles') and names the alternative with its selecting condition ('Use get_dataset instead when you also want columns'). It even adds intra-result guidance: 'prefer main_table from list_tables' over source_* tables.

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