Skip to main content
Glama

Search arXiv papers by terms and category

arxiv
Read-only

arXiv papers matching search terms, optionally in one category (cs.AI, math.CO), newest first, max 25: id, title, authors, dates, a 500-character summary, categories and the PDF link. Attribution: Thank you to arXiv for use of its open access interoperability. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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": {
      "q": "<q>"
    },
    "name": "arxiv"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSearch terms
limitNo1 to 25 (default 5)
categoryNoarXiv category, e.g. cs.AI

Output Schema

NameRequiredDescriptionDefault
countNo
queryNo
papersNo
sourceNo
categoryNo
checkedAtNo
attributionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds genuinely useful behavior beyond them: results are newest-first, capped at 25, the returned fields, and crucially the pricing model ($0.002 per successful call, x402/USDC, failures not charged) and an attribution requirement. That pricing and billing-failure detail is the kind of context annotations cannot carry.

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 with purpose and constraints in one dense sentence, followed by the required attribution and price notice. The inline field enumeration is slightly listy and partly redundant with the output schema, but nothing is truly wasteful.

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 three-parameter read-only search with an output schema, the definition covers scope, ordering, cap, returned fields, and cost. It omits pagination or rate-limit behavior, but given the 25-result cap that gap is minor.

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 the schema already documents q, limit (1-25, default 5) and category. The description restates the category optionality and the 25 cap but adds no syntax or format detail beyond the schema, so the baseline 3 applies.

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 specific verb (search) and resource (arXiv papers) plus the scoping dimension (search terms, optional category). An agent can tell this is an arXiv literature search rather than a generic web search, though it does not explicitly distinguish itself from the sibling research_papers or pdf tools.

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?

Usage is implied by the phrasing 'optionally in one category' and the default limit, but there is no explicit when-to-use or when-to-prefer-an-alternative guidance, nor any note of prerequisites or exclusions relative to sibling search tools.

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.

Resources