Skip to main content
Glama

Arxiv Get Metadata

arxiv_get_metadata
Read-only

Get full metadata for one or more arXiv papers by ID. Use when you have known IDs from citations, prior search results, or memory.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paper_idsYesarXiv paper ID or array of up to 10 IDs. Format: "2401.12345" or "2401.12345v2" (with version). Also accepts legacy IDs like "hep-th/9901001".

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
papersNoPapers found. May be fewer than requested if some IDs are invalid.
not_foundNoPer-input explanations for inputs that could not be returned. Absent when nothing failed.
totalSucceededNoNumber of successful items in 'papers'

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / additionalProperties
      Added value: +false
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "not": {
      +      "required": [
      +        "error"
      +      ]
      +    },
      +    "required": [
      +      "papers",
      +      "totalSucceeded"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "error"
      +    ]
      +  }
      +]
    • addedOutput schema / properties / error
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Present when the call failed. Absent on success.",
      +  "properties": {
      +    "code": {
      +      "description": "JSON-RPC error code for this failure.",
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "data": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "reason": {
      +          "description": "Machine-readable failure mode. Declared by this tool: `no_match`: None of the requested IDs returned data from arXiv. `version_unavailable`: Every requested ID pinned a version the local mirror does not hold, and live arXiv fallback is disabled. `rate_limited`: arXiv has throttled requests (HTTP 429 or \"Rate exceeded.\" body). `invalid_request`: arXiv rejected the request (HTTP 4xx other than 429), e.g. malformed ID syntax. Other values are possible when a failure originates below the handler.",
      +          "examples": [
      +            "no_match",
      +            "version_unavailable",
      +            "rate_limited",
      +            "invalid_request"
      +          ],
      +          "type": "string"
      +        },
      +        "recovery": {
      +          "additionalProperties": {},
      +          "description": "Actionable next step for the caller.",
      +          "properties": {
      +            "hint": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "hint"
      +          ],
      +          "type": "object"
      +        },
      +        "retryable": {
      +          "description": "Whether retrying may succeed.",
      +          "type": "boolean"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "message": {
      +      "description": "Human-readable description of what went wrong.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "message"
      +  ],
      +  "type": "object"
      +}
    • removedOutput schema / required
      Removed value: -[
      -  "papers",
      -  "totalSucceeded"
      -]
  2. Changed2 schema fields changed
    • changedOutput schema / properties / not_found / items / description
      Previous value: -"A requested ID that arXiv did not return."New value: +"A requested ID that could not be returned, with the reason it was missed."
    • changedOutput schema / properties / not_found / items / properties / reason / enum
      Previous value: -[
      -  "not_in_arxiv"
      -]New value: +[
      +  "not_in_arxiv",
      +  "version_not_in_mirror"
      +]
  3. Changed8 schema fields changed
    • changedOutput schema / properties / not_found / description
      Previous value: -"Paper IDs that returned no results."New value: +"Per-input explanations for inputs that could not be returned. Absent when nothing failed."
    • addedOutput schema / properties / not_found / items / additionalProperties
      Added value: +false
    • addedOutput schema / properties / not_found / items / description
      Added value: +"A requested ID that arXiv did not return."
    • addedOutput schema / properties / not_found / items / properties
      Added value: +{
      +  "detail": {
      +    "description": "Additional human-readable context, when available",
      +    "type": "string"
      +  },
      +  "id": {
      +    "description": "arXiv ID that returned no data.",
      +    "type": "string"
      +  },
      +  "reason": {
      +    "description": "Why the paper ID could not be returned.",
      +    "enum": [
      +      "not_in_arxiv"
      +    ],
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / properties / not_found / items / required
      Added value: +[
      +  "id",
      +  "reason"
      +]
    • changedOutput schema / properties / not_found / items / type
      Previous value: -"string"New value: +"object"
    • addedOutput schema / properties / totalSucceeded
      Added value: +{
      +  "description": "Number of successful items in 'papers'",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "papers"
      -]New value: +[
      +  "papers",
      +  "totalSucceeded"
      +]
  4. Changed2 schema fields changed
    • changedInput schema / properties / paper_ids / anyOf
      Previous value: -[
      -  {
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  {
      -    "items": {
      -      "minLength": 1,
      -      "type": "string"
      -    },
      -    "maxItems": 10,
      -    "minItems": 1,
      -    "type": "array"
      -  }
      -]New value: +[
      +  {
      +    "description": "Single arXiv paper ID (e.g., \"2401.12345\" or \"2401.12345v2\").",
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  {
      +    "description": "Array of up to 10 arXiv paper IDs for batch lookup.",
      +    "items": {
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "maxItems": 10,
      +    "minItems": 1,
      +    "type": "array"
      +  }
      +]
    • addedOutput schema / properties / papers / items / description
      Added value: +"arXiv paper metadata — identifier, title, authors, abstract, categories, and links."
  5. First observed

TDQS

A4/5.0
Behavior3/5

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

The annotation readOnlyHint=true already signals that the operation is read-only, so the description doesn't need to repeat safety. The description adds context about the input (known IDs) but doesn't disclose any additional behavioral traits, such as whether the tool returns partial results for invalid IDs, rate limiting, or error handling behavior. Given the annotation coverage, this is adequate but not rich.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences with no waste. The primary purpose is front-loaded, and the usage guidance is compact and specific. Every sentence earns its place.

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?

The tool is simple (1 parameter, no nested objects), and it has an output schema that defines the return structure. The description covers the key input context (known IDs) and the output is handled by the schema. An agent has enough to call the tool correctly. Missing minor details like error cases, but these are not critical for simple tools with annotations.

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?

The schema covers 100% of parameter descriptions, including format examples and array constraints. The description itself does not add new semantic information beyond what's in the schema. Since the schema is exhaustive, the baseline score 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 clearly states a specific verb ('Get') and resource ('full metadata for one or more arXiv papers by ID'). It distinguishes itself from sibling tools like arxiv_search (which finds papers) and arxiv_read_paper (which reads content) by focusing on metadata retrieval. The purpose is unambiguous and specific.

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?

The description provides clear usage context: 'Use when you have known IDs from citations, prior search results, or memory.' This tells the agent when to use this tool versus searching. However, it does not explicitly mention when NOT to use it or mention alternative tools (like arxiv_search) by name, which would help further differentiate.

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.