Skip to main content
Glama

Query Catalog

query_catalog
Read-onlyIdempotent

VizieR astronomical catalogue service at CDS Strasbourg — return data rows from one published catalogue, identified by its VizieR id such as "I/345/gaia2" (Gaia DR2). Takes optional column selection and a numeric constraint expression, up to 50000 rows. Answers what a published astronomy catalogue records for stars, galaxies or other objects meeting a cut.

Input Schema

NameRequiredDescriptionDefault
maxNo1-50000 (default 50).
catalogYes
columnsNoComma-sep columns to return.
constraintNoSolr-style constraints, e.g. "Plx>20"

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "catalog": "I/345/gaia2"
      +  },
      +  {
      +    "catalog": "J/ApJ/896/72/table1",
      +    "columns": "RAJ2000,DEJ2000,Plx",
      +    "constraint": "Plx>20",
      +    "max": 1000
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "description": "Single catalogue query results",
      +  "oneOf": [
      +    {
      +      "additionalProperties": true,
      +      "properties": {},
      +      "type": "object"
      +    },
      +    {
      +      "properties": {
      +        "body": {
      +          "description": "Raw text response (first 4000 chars)",
      +          "type": "string"
      +        },
      +        "format": {
      +          "description": "Format indicator when JSON parsing fails",
      +          "enum": [
      +            "raw"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "format",
      +        "body"
      +      ],
      +      "type": "object"
      +    }
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Beyond annotations (readOnlyHint, openWorldHint, idempotentHint), the description discloses the row limit (up to 50000 rows), constrains to a single catalog, and describes the input as a 'numeric constraint expression'. It also clarifies that it returns data rows, not metadata or summaries. No contradiction with annotations.

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?

The description is two sentences, front-loaded with the action and service, then adds limit and purpose. Every sentence contributes value without redundancy or fluff.

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?

The description covers the essential aspects: catalog ID, row limit, column selection, constraint, and the nature of the data. With an output schema present and strong annotations, it does not need to explain return format or safety. Minor gaps like how constraints are parsed are covered by schema examples. Overall, sufficient for a read-only query tool.

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?

The description adds meaning to parameters beyond the schema. It explains the catalog parameter as a VizieR ID with an example, describes columns as 'column selection', and defines constraint as a 'numeric constraint expression' and 'cut'—more informative than the schema's 'Solr-style constraints'. The schema covers most parameters, but the description compensates for the undocumented 'catalog' field.

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?

The description clearly states the tool's purpose: 'return data rows from one published catalogue' via the VizieR service. It specifies the resource (VizieR astronomical catalogue service at CDS Strasbourg) and the action (query by catalog ID), distinguishing it from sibling tools like cone_search or catalogs by focusing on row extraction from a known catalog.

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?

The description provides clear context on when to use the tool: when you have a VizieR catalog ID and want rows of objects meeting a constraint. It also mentions the optional column selection and constraint expression, implying use cases like filtering by numeric parameters. It does not explicitly exclude alternatives or mention sibling tools, but the guidance is sufficient for typical usage.

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.