Skip to main content
Glama

cern-inspire-mcp-server

Search INSPIRE experiments

cern_inspire_search_experiments
Read-onlyIdempotent

Find experiments, collaborations, and facilities in INSPIRE-HEP (ATLAS, CMS, DUNE, Belle II, …) by name, accelerator, or INSPIRE legacy name (CERN-LHC-CMS); digits alone look up an experiment recid. Each record carries the accelerator, host institutions, collaboration and subgroups, classification, lifecycle dates (proposed, approved, started, completed, ongoing), INSPIRE's paper count, a description, and a literatureQuery to pass to cern_inspire_search_literature or cern_inspire_get_citation_summary for the experiment's papers. Returns one page of records; request the next with page and the same limit. Only the first 10,000 results of a query are reachable.

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": {
      "query": "<query>"
    },
    "name": "cern_inspire_search_experiments"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, starting at 1. page × effective limit (after clamping) may not exceed 10,000.
limitNoExperiments per page (positive integer, default 5; above 1000 uses 1000).
queryYesExperiment, collaboration, accelerator, or facility name (ATLAS, LHCb, Tevatron), an INSPIRE legacy name (CERN-LHC-CMS), or an experiment recid (digits only).

Output Schema

NameRequiredDescriptionDefault
capNoThe limit applied.
pageNoThe page returned.
errorNoPresent when the call failed. Absent on success.
limitNoThe effective limit after clamping: experiments per page.
shownNoNumber of records on this page.
noticeNoGuidance on an empty or paged result.
hasMoreNoTrue when INSPIRE has a further page of results.
nextPageNoThe page number to request next, with the same limit, when one exists within the 10,000-result window.
truncatedNoTrue when more results exist beyond this page.
totalCountNoTotal experiment records the query matched.
experimentsNoThe experiment records on this page, in INSPIRE relevance order.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / limit / description
      Previous value: -"Experiments per page (positive integer, default 5; above 25 uses 25)."New value: +"Experiments per page (positive integer, default 5; above 1000 uses 1000)."
  2. Changed14 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"Experiments to return (positive integer, default 5; above 25 uses 25)."New value: +"Experiments per page (positive integer, default 5; above 25 uses 25)."
    • addedInput schema / properties / page
      Added value: +{
      +  "default": 1,
      +  "description": "Page number, starting at 1. page × effective limit (after clamping) may not exceed 10,000.",
      +  "maximum": 9007199254740991,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "not": {
      -      "required": [
      -        "error"
      -      ]
      -    },
      -    "required": [
      -      "experiments",
      -      "totalCount",
      -      "truncated",
      -      "shown",
      -      "cap"
      -    ]
      -  },
      -  {
      -    "required": [
      -      "error"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "not": {
      +      "required": [
      +        "error"
      +      ]
      +    },
      +    "required": [
      +      "experiments",
      +      "page",
      +      "limit",
      +      "hasMore",
      +      "totalCount",
      +      "truncated",
      +      "shown",
      +      "cap"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "error"
      +    ]
      +  }
      +]
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `invalid_query`: INSPIRE answered 400 to a parameter value it refuses. `inspire_rate_limited`: INSPIRE returned 429 after the pacer and retries. `pacer_shed`: The server's outbound INSPIRE queue could not start the request within the call's remaining budget. `upstream_unreadable`: The INSPIRE body exceeded the byte ceiling, was HTML where JSON was expected, or was invalid JSON. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `beyond_result_window`: page × effective limit (after clamping) exceeds the 10,000 results INSPIRE serves for one query. `invalid_query`: INSPIRE answered 400 to a parameter value it refuses. `inspire_rate_limited`: INSPIRE returned 429 after the pacer and retries. `pacer_shed`: The server's outbound INSPIRE queue could not start the request within the call's remaining budget. `upstream_unreadable`: The INSPIRE body exceeded the byte ceiling, was HTML where JSON was expected, or was invalid JSON. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "invalid_query",
      -  "inspire_rate_limited",
      -  "pacer_shed",
      -  "upstream_unreadable"
      -]New value: +[
      +  "beyond_result_window",
      +  "invalid_query",
      +  "inspire_rate_limited",
      +  "pacer_shed",
      +  "upstream_unreadable"
      +]
    • changedOutput schema / properties / experiments / description
      Previous value: -"Matching experiment records, in INSPIRE relevance order."New value: +"The experiment records on this page, in INSPIRE relevance order."
    • changedOutput schema / properties / experiments / items / properties / numberOfPapers / description
      Previous value: -"INSPIRE's stored paper count; it can trail the number of records literatureQuery matches."New value: +"INSPIRE's stored paper count; it can differ from the number of records literatureQuery matches."
    • addedOutput schema / properties / hasMore
      Added value: +{
      +  "description": "True when INSPIRE has a further page of results.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / limit
      Added value: +{
      +  "description": "The effective limit after clamping: experiments per page.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / nextPage
      Added value: +{
      +  "description": "The page number to request next, with the same limit, when one exists within the 10,000-result window.",
      +  "type": "number"
      +}
    • changedOutput schema / properties / notice / description
      Previous value: -"Guidance on an empty or capped result."New value: +"Guidance on an empty or paged result."
    • addedOutput schema / properties / page
      Added value: +{
      +  "description": "The page returned.",
      +  "type": "number"
      +}
    • changedOutput schema / properties / shown / description
      Previous value: -"Number of records returned."New value: +"Number of records on this page."
    • changedOutput schema / properties / truncated / description
      Previous value: -"True when more records matched than were returned."New value: +"True when more results exist beyond this page."
  3. Changed2 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"Experiments to return (1–25, default 5)."New value: +"Experiments to return (positive integer, default 5; above 25 uses 25)."
    • changedInput schema / properties / limit / maximum
      Previous value: -25New value: +9007199254740991
  4. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and open-world behavior, so the safety profile is covered. The description adds genuinely useful behavioral facts beyond that: paging semantics ('request the next with page and the same limit') and a hard reachability ceiling ('Only the first 10,000 results of a query are reachable'). The record-field enumeration overlaps with what the output schema already provides, which keeps this from a 5.

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 description is front-loaded: what it finds and how to query it come first, followed by return shape, chaining, and pagination limits. It is dense and mostly earns its space, though the long enumeration of record fields partly restates the output schema and could be trimmed.

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?

Given an output schema, three fully documented parameters, and annotations covering the safety profile, the description supplies exactly the remaining context an agent needs: accepted query forms, pagination continuation rules, the 10,000-result cap, and how to chain into the literature tools. Nothing required to call it correctly is missing.

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 page, limit, and query all documented in the schema itself, including the 10,000 ceiling and the 1000 limit clamp. The description's query-form examples and the 'same limit' pagination advice add only mild meaning beyond that, so the baseline of 3 is appropriate.

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 states a specific verb ('Find') and concrete resource set ('experiments, collaborations, and facilities in INSPIRE-HEP'), then enumerates the query modes: name, accelerator, INSPIRE legacy name, or recid. The examples (ATLAS, CMS, DUNE, Belle II, CERN-LHC-CMS) make the target entity unambiguous and distinct from the literature, author, and institution siblings.

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?

It gives clear selection context by spelling out what kinds of identifiers can be used, and it routes downstream work by telling the agent to pass the record's literatureQuery to cern_inspire_search_literature or cern_inspire_get_citation_summary. It stops short of an explicit when-not statement (e.g. use search_institutions instead when you want the institution record itself), so it is one notch below fully prescriptive.

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.