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

compute_wazp_footprint_area

Computes the effective DES Y6 WaZP survey area in deg², total and versus redshift, enabling conversion of WaZP cluster counts into counts per deg².

Instructions

Effective survey area [deg^2] of the DES Y6 WaZP footprint, total and as a function of redshift.

Use to turn WaZP cluster counts into counts per deg^2: the footprint is a HEALPix
map (Nside 4096, NESTED) with coverage fraction DETFRAC and depth limit ZMAX per pixel;
effective area = sum(DETFRAC) x pixel area = 4544.7 deg^2, and at redshift z only the
pixels with ZMAX > z have complete richness (IN_COSMO). Writes area_vs_z CSV.

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>"
    },
    "name": "compute_wazp_footprint_area"
  }
}

Input Schema

NameRequiredDescriptionDefault
datasetNoOptical catalogue with a footprint (des_y6_wazp).des_y6_wazp
z_valuesNoRedshifts at which to report the depth-limited area (pixels with ZMAX > z). Default 0.5..1.0 step 0.02.
output_dirYesDirectory for output files (created if missing).
use_footprint_fileNoTrue: download (540 MB, first use only) and reduce the HEALPix footprint FITS; False: use the registry table precomputed from the same file (instant, no download).

Output Schema

NameRequiredDescriptionDefault
filesYes
statusYes
messageYes
metadataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose real behavior: it writes an area_vs_z CSV, describes the HEALPix map, DETFRAC and ZMAX semantics, and states the resulting 4544.7 deg^2 value. It stops short of covering overwrite behavior for existing output files or compute cost beyond what the schema already says about the 540 MB download.

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?

Front-loaded with purpose and then usage, with each sentence contributing. The middle sentence is dense with acronyms (DETFRAC, ZMAX, IN_COSMO, Nside 4096, NESTED) but that density is substantive rather than filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a computation tool with four parameters and a declared output schema, the definition supplies purpose, method, the numeric result, and the output file name. Nothing an agent needs in order to call it correctly appears to be missing.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning: it explains that at redshift z only pixels with ZMAX > z have complete richness, which clarifies how z_values is interpreted physically. The dataset parameter is covered only by naming the footprint rather than adding new semantics.

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: effective survey area of the DES Y6 WaZP footprint, total and as a function of redshift. It also implicitly separates itself from count-producing siblings by noting it is the area needed to convert cluster counts into counts per deg^2.

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 a clear use case ("Use to turn WaZP cluster counts into counts per deg^2"), which tells the agent when this tool is the right one. It does not name alternatives such as compute_cluster_counts or predict_cluster_counts_lcdm, nor does it state exclusions, so it stops short of a 5.

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