Skip to main content
Glama

Datalab Tables

datalab_tables
Read-onlyIdempotent

List the schemas and tables available in NOIRLab Astro Data Lab, with each table's description and row count, or the columns of one named table. CALL THIS BEFORE WRITING A QUERY: Data Lab holds ~130 schemas and the table names are survey-specific ("ls_dr10.tractor", "gaia_dr3.gaia_source", "des_dr2.main"), so a guessed name is a query error rather than an empty result. AUTHORITATIVE for which survey data releases NOIRLab actually serves and how big each one is.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "limit": 8,
      "schema": "gaia_dr3"
    },
    "name": "datalab_tables"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax rows to return (default 100, max 1000).
tableNoFully-qualified table name, e.g. "gaia_dr3.gaia_source", to list its columns, units and descriptions instead of listing tables.
schemaNoSchema to list tables for, e.g. "gaia_dr3", "ls_dr10", "des_dr2". Omit to list every schema (survey data release) instead.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered structurally. The description adds genuinely non-structured context: the catalog is authoritative for what NOIRLab actually serves, the scale is ~130 schemas, and omitted filters fall back to listing every schema. It stops short of describing pagination or response shape, but the limit semantics live in the schema.

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?

Three tight sentences, front-loaded with purpose and then the imperative usage rule, with concrete example identifiers instead of abstract guidance. The trailing ALL-CAPS claim about authority slightly overlaps the preceding warning and reads as emphasis rather than new information.

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?

No output schema exists, so the description carries the return-value burden and does so: it names schemas, table descriptions, row counts, and column units. Combined with annotations covering the safety profile and a fully documented 3-parameter schema, an agent has everything needed to call this correctly on the first attempt.

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 description coverage is 100%, so the baseline is 3, but the description adds the mode-selection logic the schema only implies: the tool has three distinct behaviors (all schemas, tables in one schema, columns of one table) and the prose states the column-listing branch that the 'table' parameter triggers. Example fully-qualified names (

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?

Opens with a concrete verb plus resource ('List the schemas and tables available in NOIRLab Astro Data Lab') and immediately enumerates what is returned: table descriptions, row counts, or the columns of a named table. It also carves out its scope against query execution by naming the sibling activity ('before writing a query'), so an agent can distinguish catalog lookup from datalab_query without opening schemas.

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 instructs when to call it ('CALL THIS BEFORE WRITING A QUERY') and justifies the ordering with a concrete failure mode: ~130 schemas with survey-specific names mean a guessed name is a query error, not an empty result. This gives the agent both a positive trigger and the consequence of skipping the step.

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.