Skip to main content
Glama
Inelastic Dark Matter MCP Server

Inelastic Dark Matter MCP Server

by nesar

plot_recoil_spectrum

Generates a recoil spectrum plot comparing inelastic versus elastic scattering for given WIMP mass and mass splitting, returning a PNG file path.

Instructions

Generate a recoil spectrum plot comparing inelastic vs elastic. Returns PNG path.

Parameters:
    m_chi_GeV: WIMP mass [GeV]
    delta_keV: Mass splitting [keV]

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "plot_recoil_spectrum"
  }
}

Input Schema

NameRequiredDescriptionDefault
delta_keVNo
m_chi_GeVNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. It states only that a PNG path is returned; it never says whether a file is written to disk, where, whether it overwrites prior output, or what errors arise for out-of-range masses. For a file-producing tool with zero annotation coverage, this is a significant gap.

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?

The lead sentence front-loads purpose and return value with zero waste; the parameter block is short and adds units rather than restating schema noise. Slightly undermined by not stating defaults alongside the parameter meanings.

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

Completeness3/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 needn't be re-explained, and the two-parameter surface is simple. Still, with no annotations at all, a minimally adequate definition would note the optional/default behavior and where the PNG lands.

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 0% and the schema only offers titles like "M Chi Gev," so the description's units and physical meaning (WIMP mass in GeV, mass splitting in keV) genuinely add value. However, both parameters are optional with non-trivial defaults (1100 GeV, 350 keV) that the description never mentions, leaving an agent unaware it can call it with no arguments.

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 opens with a specific verb+resource: "Generate a recoil spectrum plot comparing inelastic vs elastic," plus a stated return (PNG path). That is enough to separate it from siblings like predict_recoil or plot_constraint_summary, though it never explicitly names those alternatives.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance: nothing says whether to call this before or after predict_recoil/scan_mass_splitting, or what inputs must exist first. The elastic-vs-inelastic comparison implies a scientific context but leaves selection between plotting siblings to inference.

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