Skip to main content
Glama

compare_with_published_constraints

Compare your CMB and late-time parameter constraints against published H0, S8, Omega_m and n_s results, reporting Gaussian tension in sigma for each entry relative to a chosen reference.

Instructions

[Published result - for comparison only] Published result, comparison only: whisker plot of PUBLISHED H0, S8, Omega_m, n_s (sigma8) constraints.

Every entry is a published inference product (chains or tables) across CMB experiments and late-time probes - for the final "compare with published" step of an analysis.

Every point is either a getdist analysis of a public chain (marked 'chain') or a published table value with its citation. Reports the Gaussian tension of each entry vs the reference: (x - x_ref) / sqrt(s^2 + s_ref^2) - e.g. SH0ES vs Planck H0 ~ 4.9 sigma.

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": "compare_with_published_constraints"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainsNoChains to analyse live with getdist ([] = published tables only). Planck chain needs a 65 MB download.
paramsNoParameters for whisker panels.
referenceNoEntry to measure tensions against (n-sigma, Gaussian).Planck 2018 (TT,TE,EE+lowE+lensing)
output_dirYesDirectory for the PNG + CSV.
include_publishedNoAdd the cited published table entries (Planck, SPT-3G D1, ACT DR6, CMB-SPA, SH0ES, DES, KiDS).

Output Schema

NameRequiredDescriptionDefault
filesYes
statusYes
messageYes
metadataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden, and it does add real behavioral context: each point is either a live getdist analysis of a public chain (tagged 'chain') or a cited table value, and tensions are computed as (x - x_ref)/sqrt(s^2 + s_ref^2). It omits the cost/side-effect profile of live chain downloads and does not state that the tool writes files into the filesystem, leaving the safety picture incomplete.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening is duplicated - '[Published result - for comparison only] Published result, comparison only:' says the same thing twice before reaching the actual content. The remainder is dense and useful, but that redundant lead-in is pure waste at the most attention-critical position.

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 tool is moderately complex (chain downloads, reference selection, tension scoring) and has an output schema, so return values need no explanation. The description covers the data provenance and the comparison metric adequately; only the side effects of writing PNG/CSV and downloading chains are left to the schema.

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 all five parameters are already documented in the input schema, which sets the baseline at 3. The description explains the reference-vs-entry tension semantics but adds no per-parameter detail such as how an unrecognised reference string is resolved.

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?

The description names a concrete artifact (whisker plot of published H0, S8, Omega_m, n_s/sigma8 constraints) and a concrete scope (published inference products only, tables or chains). The bracketed '[Published result - for comparison only]' prefix makes the resource distinguishable from live-analysis plotting siblings like plot_triangle or plot_cmb_spectra.

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?

It places itself explicitly as 'the final "compare with published" step of an analysis', which tells an agent when to reach for it. It does not name an alternative tool or an explicit exclusion (e.g. when to use plot_triangle instead), so it stops short of full routing guidance.

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