Skip to main content
Glama

Exoplanet Archive Tap

exoplanet_archive_tap
Read-onlyIdempotent

ADQL TAP query. For "how many confirmed exoplanets" or any per-planet count, query pscomppars (one row per confirmed planet) or COUNT(DISTINCT pl_name) -- never a bare COUNT(*) FROM ps, which counts published parameter SOLUTIONS (several per planet, currently ~40k rows for ~6.5k planets) and silently over-counts by 6x. Prefer the dedicated confirmed_planet_count tool for planet-count questions.

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": {
      "query": "SELECT TOP 5 pl_name, sy_dist FROM ps"
    },
    "name": "exoplanet_archive_tap"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYese.g. "SELECT TOP 5 pl_name, sy_dist FROM ps"
formatNojson (default) | csv | votable

Output Schema

NameRequiredDescriptionDefault
bodyNoNon-JSON response body (first 16000 chars)
countNo
itemsNo
formatNoResponse format (json, csv, or votable)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the bar is lower, and the description clears it by disclosing a genuine semantic trap: ps stores published parameter SOLUTIONS (~40k rows for ~6.5k planets) and silently over-counts by 6x. That is exactly the kind of context annotations cannot convey. It stops short of describing result-set limits, service errors, or query-cost behavior, but with an output schema present that is a modest gap.

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 dense sentences, front-loaded with the operation and then the decisive warning, with no filler or restatement of the tool name. The bolded 'never' clause and the supporting numbers (~40k rows / ~6.5k planets / 6x) each earn their place by making the trap concrete.

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?

With an output schema present, the description need not explain return values, and it covers the highest-risk ambiguity (table choice and count semantics) plus points to a simpler sibling. Completion for a read-only open-world query tool is good, though an agent still has no guidance on service behaviour such as large-result handling or ADQL dialect errors.

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 100% with the query example and an explicit format enum description (json | csv | votable), so the schema carries parameter documentation and baseline 3 applies. The description adds table-level semantics that guide what to write inside the query string (pscomppars vs ps, COUNT(DISTINCT pl_name)), which is meaningful but concerns query content rather than the two declared parameters themselves.

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?

States the specific operation as an ADQL TAP query and immediately clarifies the key table distinction (pscomppars vs ps), which tells an agent what kind of resource this is. It is somewhat jargon-forward for a naive agent, and it doesn't contrast against most siblings (planets, kepler_candidates, microlensing), but it does name confirmed_planet_count as the alternative for the most common question class, so it is distinguishable where it matters.

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

Usage Guidelines4/5

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

Gives an explicit when-to-use rule (per-planet counts -> pscomppars or COUNT(DISTINCT pl_name)), an explicit when-not rule (never a bare COUNT(*) FROM ps), and names a preferred alternative tool (confirmed_planet_count). The guidance is strong but narrowly aimed at counting questions; it says nothing about when raw TAP is preferable to the other catalog siblings for non-count queries.

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.