Skip to main content
Glama
InspireHEP MCP Server

InspireHEP MCP Server

Get Paper Figures

get_paper_figures
Read-onlyIdempotent

Retrieve a paper's figures, captions, descriptions, and direct download URLs by INSPIRE ID, arXiv ID, or DOI, together with the paper title and INSPIRE URL.

Instructions

Retrieve figures for a specific paper.

Provide at least one identifier. Accepts multiple formats:

  • inspire_id: "3456"

  • arxiv_id: "arxiv:2301.12345", "arxiv:hep-ph/0123456", or full URL

  • doi: "10.1103/PhysRevLett.123.456789" or full URL

Returns title, inspire url, and a list of figures with their captions, descriptions and direct download URLs.

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

Input Schema

NameRequiredDescriptionDefault
doiNo
arxiv_idNo
inspire_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.4.0
    • changedInput schema / properties / arxiv_id / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 512,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / doi / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 512,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / inspire_id / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 512,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  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_paper_figuresOutput"New value: +"get_paper_figuresDictOutput"
  3. First observedv0.1.4

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds the identifier-format variations, which is useful, but says nothing about failure behavior (paper not found, invalid identifier) or precedence among multiple identifiers, which is the remaining behavioral risk.

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 purpose sentence followed by a scannable bulleted format list — efficient and easy to parse. The closing sentence on return values is somewhat redundant given an output schema exists, but it is short.

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 zero-required-parameter lookup tool with an output schema and full safety annotations, the description covers the main ambiguity (identifier formats) well. Missing only edge-case behavior: what happens with no identifier supplied despite all params being nullable, and how conflicting identifiers are resolved.

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 carries the full burden and it largely succeeds: each of the three identifier parameters gets a concrete example format, including bare IDs, 'arxiv:' prefixes, legacy arXiv IDs, and full URLs. The gap is that mutual exclusivity/precedence between doi, arxiv_id, and inspire_id is never stated.

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 opens with a specific verb+resource: 'Retrieve figures for a specific paper.' That is clearly distinct from siblings like get_paper_details, get_bibtex, or get_references. It stops short of explicitly naming when to prefer a sibling, but the resource boundary is unambiguous.

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

Usage Guidelines3/5

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

'Provide at least one identifier' is a real usage constraint and is the most important guidance here. However, it never states when to use this tool versus get_paper_details, nor what to do if two identifiers are supplied, so use-case guidance is implied rather than explicit.

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