Skip to main content
Glama

cern-opendata-mcp-server

Get CMS Validated Runs

cern_opendata_get_validated_runs
Read-onlyIdempotent

Get a CMS validated-run (good-run) list, which certifies the luminosity sections that are good for physics in each run. Select it by a CMS collision dataset recid, a validated-run list recid, or a run period such as Run2012B (give exactly one of recid and run_period). Choose the full validation or the muons-only variant, and narrow to a run range; a dataset recid defaults the range to the first and last run the dataset lists. Returns the runs with their luminosity-section ranges and the list file download URL. CMS only.

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

Input Schema

NameRequiredDescriptionDefault
limitNoRuns to return. Values above 2000 are served at that limit.
recidNoA CMS collision dataset recid (its linked list is used) or a validated-run list recid (used as named): up to 12 digits, optionally after a lowercase experiment prefix (cms-93956). Give this or run_period.
run_maxNoHighest run to return, inclusive. Defaults with run_min for a dataset recid.
run_minNoLowest run to return, inclusive. With a dataset recid and neither bound set, run_min and run_max default to the first and last run the dataset lists; run_bounds echoes the range applied.
variantNofull (every detector certified) or muons_only (certified for muon physics). Omitted: a list recid is used as named; a dataset recid or run_period selects full.
run_periodNoA CMS run period such as Run2012B, matched case-insensitively; 2012B also matches Run2012B. Give this or recid. cern_opendata_list_reference with topic run_periods lists them.

Output Schema

NameRequiredDescriptionDefault
capNoThe page size (limit) applied to this call.
listNoThe selected list, when exactly one matched.
runsNoCertified runs ascending within run_bounds, capped at limit; empty unless one list was selected.
errorNoPresent when the call failed. Absent on success.
shownNoNumber of items returned on this page.
noticeNoContinuation, empty-result guidance or result caveats; absent when none.
datasetNoThe dataset, when recid named a dataset rather than a list.
summaryNoThe whole selected list, before run_bounds.
truncatedNoTrue when more results remain past this page; notice says how to reach them.
run_boundsNoRun filter range; absent when unbounded.
totalCountNoRuns in the selected list inside run_bounds.
matched_listsNoAll selector matches in the requested variant. If several, none was read: call again with one recid.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"Runs to return, 1-2000. A value above 2000 is served at 2000."New value: +"Runs to return. Values above 2000 are served at that limit."
    • removedInput schema / properties / limit / maximum
      Removed value: -10000
  2. Changed5 schema fields changed
    • changedOutput schema / properties / matched_lists / description
      Previous value: -"Every list the selector matched in the requested variant. Several means none was read: call again with recid set to one of them."New value: +"All selector matches in the requested variant. If several, none was read: call again with one recid."
    • changedOutput schema / properties / notice / description
      Previous value: -"Guidance for the next call: how to page on, why nothing matched and what to change, or a caveat about the results."New value: +"Continuation, empty-result guidance or result caveats; absent when none."
    • changedOutput schema / properties / run_bounds / description
      Previous value: -"The run range runs was filtered to; absent when no bound applies."New value: +"Run filter range; absent when unbounded."
    • changedOutput schema / properties / run_bounds / properties / source / description
      Previous value: -"input: run_min/run_max as given. dataset: both defaulted to the first and last run the dataset lists."New value: +"input: supplied run_min/run_max; dataset: both default to its first/last listed run."
    • changedOutput schema / properties / runs / description
      Previous value: -"Certified runs, ascending, inside run_bounds and cut at limit; empty when no single list was selected."New value: +"Certified runs ascending within run_bounds, capped at limit; empty unless one list was selected."
  3. Changed3 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"Runs to return, 1-2000."New value: +"Runs to return, 1-2000. A value above 2000 is served at 2000."
    • changedInput schema / properties / limit / maximum
      Previous value: -2000New value: +10000
    • changedInput schema / properties / recid / description
      Previous value: -"A CMS collision dataset recid (its linked list is used) or a validated-run list recid (used as named): up to 12 digits, optionally after an experiment prefix (cms-93956); recid:N or a portal record URL also work. Give this or run_period."New value: +"A CMS collision dataset recid (its linked list is used) or a validated-run list recid (used as named): up to 12 digits, optionally after a lowercase experiment prefix (cms-93956). Give this or run_period."
  4. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, open-world, so safety is covered. The description adds useful context — dataset recid defaults the range to the first and last run listed, and the response carries LS ranges plus a file download URL — but return details are largely deferred to the existing output schema.

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, then selection rules, then return shape; most clauses carry information. The run-range defaulting is stated twice (once broadly, once inside run_min's semantics), minor redundancy in an otherwise tight paragraph.

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 six-parameter, zero-required lookup tool with annotations and an output schema, the description supplies everything an agent needs to choose a selector, pick a variant, and anticipate the returned range and download URL.

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; the description earns an extra point by stating the mutual-exclusivity rule ('give exactly one of recid and run_period') and the default-derivation behavior for run_min/run_max, neither of which is expressible in the schema since no parameters are required.

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?

Names a specific verb and resource ('Get a CMS validated-run (good-run) list') and immediately defines what that artifact means — certification of luminosity sections good for physics per run. The 'CMS only' qualifier and the domain-specific scope make it unmistakable against record/file/reference siblings.

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

Usage Guidelines5/5

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

Gives explicit selection rules: give exactly one of recid or run_period, choose full vs muons-only, and optionally narrow by run range. It also routes the agent to cern_opendata_list_reference with topic run_periods when it needs valid period names.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.