Skip to main content
Glama
inoribea
by inoribea

sdss_query

Query Sloan Digital Sky Survey DR18 by coordinates, spectroscopic object ID, or plate/MJD/fiberid to retrieve matching astronomical objects.

Instructions

Query the Sloan Digital Sky Survey (SDSS DR18). Supports cone search, specobjid lookup, and plate/mjd/fiberid lookup.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
raNoRight Ascension in degrees (cone search)
decNoDeclination in degrees (cone search)
mjdNoModified Julian Date
langNoOutput languageen
plateNoPlate number
radiusNoSearch radius in arcminutes (cone search, max 3)
fiberidNoFiber ID
objtypeNoFilter by object type (STAR, GALAXY, QSO) — only for specobjid/plate queries
specobjidNoSpectroscopic object ID
query_typeYesQuery type
max_resultsNoMaximum results

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.2

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It does not mention that queries are read-only, what authentication or network access is needed, rate limits, or that results may be truncated by max_results. It reveals only the supported lookup modes.

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?

A single tight sentence front-loads the resource and enumerates the three modes with no filler. Every clause earns its place.

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?

The description names the query modes, which is the minimum needed to select a query_type, but with 11 parameters, no annotations, and no output schema, it leaves out return format, result limits, and safety profile. Adequate but with clear gaps for a tool of this complexity.

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 description coverage is 100%, so the schema already documents every parameter, including which apply to which query type. The description adds no parameter semantics beyond naming the three query types, which the schema already encodes as an enum. Baseline 3 is appropriate.

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 a specific verb (Query) and resource (SDSS DR18) and enumerates three supported query modes, making the tool's scope clear. It does not, however, distinguish itself from siblings like simbad_query or ned_query that also do astronomical lookups.

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

Usage Guidelines2/5

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

The description lists query modes but gives no guidance on when to use this tool versus the many sibling astronomy query tools, nor any prerequisites or exclusions. An agent cannot tell from the text when SDSS is the right choice.

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