Skip to main content
Glama
Inelastic Dark Matter MCP Server

Inelastic Dark Matter MCP Server

by nesar

compute_relic_density

Calculates thermal relic density from dark matter mass and annihilation inputs, then compares the result to the Planck measurement for model viability.

Instructions

Compute thermal relic density and compare to Planck measurement.

Parameters:
    m_chi_GeV: DM mass [GeV]
    is_higgsino: If true, use higgsino annihilation channels
    sigma_v_cm3_s: Annihilation cross section [cm^3/s] (0 = auto)

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

Input Schema

NameRequiredDescriptionDefault
m_chi_GeVNo
is_higgsinoNo
sigma_v_cm3_sNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/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 full burden; it does disclose that the result is compared against the Planck measurement and that sigma_v=0 triggers automatic computation, which is useful behavioral detail. It says nothing about underlying cosmological assumptions, model validity ranges, or failure modes for extreme masses.

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 purpose sentence is front-loaded and the parameter block is compact and scannable, with no filler. The parameter list partially duplicates the schema property names, but the added units and semantics justify it.

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?

For a three-parameter, zero-required physics calculation with an output schema covering return values, the description supplies purpose, units, and the auto-cross-section behavior. The main remaining gap is the absence of any guidance on when this tool is the right choice versus its siblings.

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 description coverage is 0%, so the description must compensate, and it does: it gives units for m_chi_GeV ([GeV]) and sigma_v_cm3_s ([cm^3/s]) and explains the meaning of is_higgsino (switch to higgsino annihilation channels) and the sentinel value 0 for sigma_v. It stops short of stating defaults or valid ranges beyond the auto sentinel.

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?

States a specific verb and resource ('Compute thermal relic density') plus a secondary action ('compare to Planck measurement'), which is enough for an agent to know this is a dark-matter relic-abundance calculation. It does not name or contrast with any sibling tool, so differentiation is left to inference.

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 or when-not-to-use guidance, and no mention of prerequisites or alternatives such as the recoil/modulation predictors or constraint checkers. The agent must infer the context from the physics terminology alone.

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