Skip to main content
Glama

plot_triangle

Generate getdist triangle plots with 68/95% contours from CMB chains and overlay up to three experiments to compare LCDM parameter agreement.

Instructions

[Published result - for comparison only] Published result, comparison only: getdist triangle plot (68/95% contours) of published CMB chains.

Overlay planck_pr3 with act_dr6_lite to show the Planck-vs-ACT LCDM agreement.

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

Input Schema

NameRequiredDescriptionDefault
chainsNo1-3 chains to overlay.
paramsNoShort names (see analyze_chain).
output_dirYesDirectory for the PNG.

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?

No annotations are supplied, so the description carries the disclosure burden alone. It does reveal the plot semantics (getdist triangle, 68/95% contour levels) and that it operates on pre-published chains, but says nothing about whether files are overwritten in output_dir, expected runtime, or any access constraints.

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?

Two short sentences are appropriately front-loaded with the scope restriction, but the leading tag '[Published result - for comparison only] Published result, comparison only:' restates the same constraint twice in nearly identical words. Trimming the duplication would make it tighter without losing information.

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?

An output schema exists, so return values need not be explained, and all three parameters are documented in the schema. What remains for a plot-producing tool — output filename convention and whether prior PNGs are replaced — is not covered, but the definition is otherwise sufficient 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% with all three parameters documented, including the 1-3 chain limit and 2-8 parameter limit, so the schema does the heavy lifting. The description adds only an illustrative overlay of two specific chain names, not new semantics about params selection or output naming.

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 specific verb+resource (a getdist triangle plot with 68/95% contours of published CMB chains) and scopes it as comparison-only, which separates it from analysis/plotting siblings aimed at user-supplied chains. It stops short of naming an explicit sibling alternative, so it lands at a clear-but-undifferentiated 4.

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 repeated 'for comparison only' tag establishes a when-to-use boundary: this is for benchmarking against published results, not for fresh analysis. The second sentence gives a concrete usage scenario (overlay planck_pr3 with act_dr6_lite to show Planck-vs-ACT LCDM agreement), though no sibling tool is named as the alternative for non-published chains.

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