Skip to main content
Glama

arXiv Preprints Research MCP

Search arXiv preprints by category

search_by_category
Read-onlyIdempotent

Browse or keyword-search arXiv preprints within a specific subject category such as cs.AI, q-bio.BM, physics.bio-ph, or quant-ph.

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": {
      "category": "<category>"
    },
    "name": "search_by_category"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of papers to return (1-50). Default 10.
queryNoOptional keyword query combined with the category filter.
startNoZero-based pagination offset. Default 0.
sort_byNoSort criterion. Default "submittedDate".
categoryYesarXiv category code (e.g. "cs.AI", "q-bio.GN", "stat.ML", "hep-th").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, and openWorldHint=true, so the safety and side-effect profile is fully covered by structured data. The description adds only that results are confined to a category (local scope within an open-world source), without discussing pagination limits, rate limits, or result shape.

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?

A single, front-loaded sentence with no redundant wording; the category examples earn their place by anchoring the required parameter. Slightly more efficient if it also signalled sibling differentiation.

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?

For a five-parameter read-only search with no output schema, the description is adequate but thin: it never mentions pagination behavior, default sort or result volume, which an agent needs to call it effectively. Rich annotations cover safety, so the remaining gap is operational detail.

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%, so all five parameters including limit, start, sort_by, and category are already documented in the schema. The description's contribution is limited to clarifying that query is combined with the category filter, which the schema also states; no additional meaning is introduced.

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?

States a concrete verb pair (browse / keyword-search) and a specific resource (arXiv preprints) scoped to a subject category, with example category codes. It does not explicitly distinguish itself from siblings such as search_preprints or search_by_author, so an agent must infer that this is the category-anchored variant.

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?

"Browse or keyword-search" implies that the query is optional and category browsing works alone, which hints at how to use the tool. However, there is no explicit when-to-use vs when-to-prefer-search_preprints guidance and no statement of prerequisites or exclusions.

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.