Skip to main content
Glama
InspireHEP MCP Server

InspireHEP MCP Server

Get References

get_references
Read-onlyIdempotent

Generates a formatted reference list from an InspireHEP record ID, returning BibTeX, JSON, or LaTeX output with reference count and paper title.

Instructions

Generate a formatted reference list for a paper.

Args: inspire_id: InspireHEP record ID (numeric). format: Output format — "bibtex", "json", "latex-us", or "latex-eu".

Returns the reference list in the requested format along with total reference count and paper title.

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": {
      "inspire_id": "<inspire_id>"
    },
    "name": "get_references"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNobibtex
inspire_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.4.0
    • addedInput schema / properties / format / enum
      Added value: +[
      +  "bibtex",
      +  "json",
      +  "latex-us",
      +  "latex-eu"
      +]
    • addedInput schema / properties / inspire_id / maxLength
      Added value: +512
    • addedInput schema / properties / inspire_id / minLength
      Added value: +1
  2. Changed4 schema fields changedv0.3.0
    • addedOutput schema / additionalProperties
      Added value: +true
    • removedOutput schema / properties
      Removed value: -{
      -  "result": {
      -    "title": "Result",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "result"
      -]
    • changedOutput schema / title
      Previous value: -"get_referencesOutput"New value: +"get_referencesDictOutput"
  3. First observedv0.1.4

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is fully covered. The description adds useful context by naming what comes back (reference list, total reference count, paper title), but it says nothing about limits on list size, behavior on an unknown inspire_id, or rate limits expected from an open-world lookup.

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 text is short and front-loaded with the purpose sentence, followed by a compact Args block and a return note. The Args/Returns framing is slightly redundant with structured fields but costs little space and reads cleanly.

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 the description need not explain return shape, and annotations cover the safety profile. Still, for an open-world lookup with a 0%-documented schema, the description leaves gaps: no guidance on invalid or missing IDs, no handling of very long reference lists, and no differentiation from get_bibtex.

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%, so the description must carry parameter meaning, and it does identify both: inspire_id as an InspireHEP record ID and format as the output format. However, it only restates the enum values already present in the schema and omits the documented default (bibtex) and any note that inspire_id is typed as a string despite being 'numeric'.

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 states a specific verb and resource: 'Generate a formatted reference list for a paper', plus the key input (inspire_id). It does not, however, distinguish this from the sibling get_bibtex, which plausibly returns citation data for a single paper, so an agent must infer the boundary between them.

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 explicit when-to-use guidance and no mention of alternatives. Given siblings like get_bibtex and get_citations that could overlap with 'references', the description should say which one to pick when an agent wants a single citation versus the full bibliography of a paper.

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