Skip to main content
Glama
arXiv MCP Server

arXiv MCP Server

by MaksPyn

arXiv category taxonomy

list_categories
Read-only

List official arXiv subject categories with codes, names, and descriptions, filtered by group or search text, to get the category codes needed for paper searches.

Instructions

List official arXiv subject categories (e.g. cs.AI, math.CO, q-bio.NC) with their names and descriptions. Filter by group (cs, econ, eess, math, physics, q-bio, q-fin, stat, or a physics archive such as astro-ph / cond-mat) and/or search text. Use the codes with search_papers and get_recent_papers.

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

Input Schema

NameRequiredDescriptionDefault
groupNoGroup or archive to list, e.g. "cs", "math", "physics", "astro-ph"
searchNoWords to look for in the code, name or description, e.g. "neural", "number theory"
includeDescriptionsNoInclude each category's scope description. Defaults to true when 25 or fewer categories match.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. Beyond that, the description discloses the shape of the returned content (codes plus names and descriptions) and the filtering dimensions, which matters because there is no output schema. It says nothing about size or truncation behavior for large unfiltered listings.

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?

Three sentences: what it returns, how to filter, and where to use the output. The core purpose is front-loaded and no sentence is redundant.

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 with zero required parameters and full schema coverage, and the description covers both return content and filtering. The only gap is behavior on large unfiltered results, but nothing essential for correct invocation is missing.

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 coverage is 100%, so the baseline is 3. The description still adds value by enumerating valid group values well beyond the schema's two examples — including physics archives like astro-ph and cond-mat — and by clarifying that search spans code, name, and description. That goes past restating the schema.

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?

Names a specific verb and resource ('List official arXiv subject categories') and immediately grounds it with example codes (cs.AI, math.CO, q-bio.NC). It is clearly distinguishable from search_papers and the other retrieval siblings because it returns the taxonomy itself, not papers.

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?

Explicitly tells the agent what to do with the result: 'Use the codes with search_papers and get_recent_papers.' That is a concrete downstream-use cue. It stops short of stating exclusions (when not to call it, or whether it should be called once per session), so it falls short of a 5.

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