Skip to main content
Glama

Run an ADQL query on the Exoplanet Archive

nasa_exoplanet_query
Read-onlyIdempotent

Runs a read-only ADQL SELECT query against NASA Exoplanet Archive TAP tables to retrieve exoplanet, host star, and candidate data as JSON rows for analysis.

Instructions

Run one read-only ADQL SELECT on the NASA Exoplanet Archive TAP service (tables ps, pscomppars, stellarhosts, toi, k2pandc and more). The server caps the row count and returns rows as JSON objects keyed by column name. Next: cite the archive with source.citation.

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": {
      "adql": "<adql>"
    },
    "name": "nasa_exoplanet_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
adqlYesOne ADQL SELECT against archive tables (ps, pscomppars, stellarhosts, toi, k2pandc, ...). Rows are capped at the server limit (TAP maxrec).

Output Schema

NameRequiredDescriptionDefault
adqlYes
rowsYes
notesNo
rowCapYes
sourceNo
resolvedNo
nextStepsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover readOnlyHint, idempotentHint, destructiveHint and openWorldHint, so the bar is lower. The description adds genuinely new behavioral context: the server caps the row count, results come back as JSON objects keyed by column name, and the caller should cite the archive via source.citation. It does not specify the actual cap value or rate limits, which keeps it short of a 5.

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?

Three tight sentences, front-loaded with the operation and scope, followed by the result format and the citation obligation. Every sentence carries distinct information with no repetition or filler.

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 one-parameter pass-through query tool with an output schema and full annotation coverage, the description supplies what the agent needs: what to send (one read-only SELECT against named tables), what comes back (capped JSON rows), and the follow-up citation step. Only the concrete row cap and any error behavior are left unstated.

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?

There is a single required parameter with 100% schema description coverage, so the baseline is 3. The description names the same table set the schema already lists and reinforces the single-SELECT constraint, but adds no syntax, formatting, or example guidance beyond what the schema and its maxLength/minLength carry.

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 names a specific verb (run one read-only ADQL SELECT) and a specific resource (NASA Exoplanet Archive TAP service), and enumerates the tables available (ps, pscomppars, stellarhosts, toi, k2pandc). It is clearly distinct from nasa_exoplanet_search by virtue of being a raw query interface, though it never explicitly contrasts itself with that sibling.

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: 'Run one read-only ADQL SELECT' tells the agent it is a single-statement query interface, and the table list hints at the scope of queries. There is no explicit when-to-use guidance versus nasa_exoplanet_search, no prerequisites, and no exclusions, leaving the agent to infer that this is the advanced/custom-query path.

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