Skip to main content
Glama
clusters-mcp-server
by HEP-KE

plot_cluster_sky_map

Generate a Mollweide sky map of one or more galaxy-cluster catalogues to visualize survey footprints and overlaps before cross-matching.

Instructions

Mollweide sky map of one or more cluster catalogues (RA increasing to the left, astronomical convention).

Use to show footprints and overlaps (e.g. SPT south, ACT equatorial strip, eRASS1 western Galactic half, Planck all-sky) before a crossmatch.

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": {
      "output_dir": "<output_dir>",
      "catalogs": "<catalogs>"
    },
    "name": "plot_cluster_sky_map"
  }
}

Input Schema

NameRequiredDescriptionDefault
stemNoOutput file stem.sky_map
coordsNoCoordinate frame of the map.equatorial
catalogsYesHarmonised CSVs from fetch_cluster_catalog and/or dataset keys (full catalogue).
color_byNoColour points by survey, redshift, mass, or richness (optical catalogues only).survey
output_dirYesDirectory for the PNG.
marker_sizeNoMarker size.

Output Schema

NameRequiredDescriptionDefault
filesYes
statusYes
messageYes
metadataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden. It discloses the projection and orientation convention, and the schema notes the output is a PNG written to output_dir, but the description never states that a file is written, how it is named (the stem param), or whether existing files are overwritten. It also omits any statement about what the plot contains beyond footprints.

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?

Two short sentences, front-loading the core description before the usage guidance, with the convention noted parenthetically. Efficient, though the embedded survey list is somewhat dense and the line breaks fragment the first sentence.

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, return values need not be explained, and the rich schema covers all six parameters. What remains thin is behavioral disclosure for an unannotated, file-writing tool — no mention of PNG output or overwrite behavior — but the purpose and usage are complete enough to call it correctly.

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 every parameter (stem, coords, catalogs, color_by, output_dir, marker_size) is already documented, including enums for coords and color_by. The description adds only the notion of 'one or more catalogues' and the orientation convention; it adds no format or behavioral detail about any parameter, so the baseline of 3 applies.

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?

States a specific verb and resource — a Mollweide sky map of one or more cluster catalogues — plus a rendering convention (RA increasing left). That is clearly distinguishable from sibling plotting tools such as plot_completeness, plot_mass_redshift, or plot_counts_vs_prediction.

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?

Explicitly frames the use case: show footprints and overlaps among named surveys (SPT south, ACT equatorial strip, eRASS1, Planck) before a crossmatch. It gives a clear trigger for when to call it but does not name an alternative tool or state when not to use it.

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