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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoRuns to return, 1-2000.
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 an experiment prefix (cms-93956); recid:N or a portal record URL also work. 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

TableJSON Schema
NameRequiredDescriptionDefault
capNoThe page size (limit) applied to this call.
listNoThe selected list, when exactly one matched.
runsNoCertified runs, ascending, inside run_bounds and cut at limit; empty when no single list was selected.
errorNoPresent when the call failed. Absent on success.
shownNoNumber of items returned on this page.
noticeNoGuidance for the next call: how to page on, why nothing matched and what to change, or a caveat about the results.
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_boundsNoThe run range runs was filtered to; absent when no bound applies.
totalCountNoRuns in the selected list inside run_bounds.
matched_listsNoEvery list the selector matched in the requested variant. Several means none was read: call again with recid set to one of them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, openWorld), so the bar is lower; the description adds useful behavioral context beyond them: the CMS-only scope, the implicit run-range defaulting for a dataset recid, and the variant defaulting rules. It stops short of noting rate limits or how large a returned list can be, so it is not exhaustive.

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?

It is a dense block but front-loads the core purpose and then the selection rules in a logical progression; every clause carries information. It is slightly long for the amount of guidance and could be split into sentences for faster scanning.

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?

With an output schema present the description needn't explain return values, but it still summarizes them (runs with luminosity-section ranges and list file download URL). Combined with annotations and full schema coverage, an agent has everything needed to call it correctly.

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 100%, so the baseline is 3, but the description adds interpretive value: it clarifies the dual meaning of recid (collision dataset vs named list) and how variant and run bounds default differently per selection mode.

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?

The description names a specific verb and resource ('Get a CMS validated-run (good-run) list') and immediately states what the artifact certifies (luminosity sections good for physics), which no sibling tool does. It is clearly distinguishable from the record/file/reference lookup 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?

It states the mutually exclusive selection rules explicitly ('give exactly one of recid and run_period'), explains the variant choice, and routes the agent to a sibling ('cern_opendata_list_reference with topic run_periods lists them') for discovering run periods. That is concrete when/how guidance, not inference.

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.