Skip to main content
Glama

Search Papers

search_papers
Read-onlyIdempotent

Search arXiv preprints. Plain text searches all fields; use prefixes for targeted queries: au:hinton (author), ti:transformer (title), abs:diffusion (abstract), cat:cs.AI (category), all:quantum (any field). Combine with AND/OR/ANDNOT, e.g., "ti:transformer AND cat:cs.LG". Returns id, title, authors, abstract, categories, published date, PDF URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesQuery string. Plain text or field-prefixed (au:, ti:, abs:, cat:, all:). Combine terms with AND, OR, ANDNOT.
sort_byNorelevance | lastUpdatedDate | submittedDate (default relevance)
sort_orderNoascending | descending (default descending)
max_resultsNoMaximum papers to return (1-100, default 10)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultsYesList of papers found
total_resultsYesTotal number of papers matching the query

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "max_results": 20,
      +    "query": "ti:transformer AND cat:cs.LG",
      +    "sort_by": "relevance"
      +  },
      +  {
      +    "max_results": 5,
      +    "query": "au:hinton abs:deep learning",
      +    "sort_by": "submittedDate",
      +    "sort_order": "descending"
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "results": {
      +      "description": "List of papers found",
      +      "items": {
      +        "properties": {
      +          "abs_url": {
      +            "description": "URL to abstract page",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "arxiv_id": {
      +            "description": "arXiv identifier",
      +            "type": "string"
      +          },
      +          "authors": {
      +            "description": "List of author names",
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "categories": {
      +            "description": "List of arXiv category tags",
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "comment": {
      +            "description": "Author comment if present",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "doi": {
      +            "description": "Digital Object Identifier if available",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "journal_ref": {
      +            "description": "Journal reference if published",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "pdf_url": {
      +            "description": "URL to PDF version",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "primary_category": {
      +            "description": "Primary arXiv category",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "published": {
      +            "description": "Publication date (ISO 8601)",
      +            "type": "string"
      +          },
      +          "summary": {
      +            "description": "Paper abstract/summary",
      +            "type": "string"
      +          },
      +          "title": {
      +            "description": "Paper title",
      +            "type": "string"
      +          },
      +          "updated": {
      +            "description": "Last update date (ISO 8601)",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "arxiv_id",
      +          "title",
      +          "summary",
      +          "authors",
      +          "categories",
      +          "published",
      +          "updated"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "total_results": {
      +      "description": "Total number of papers matching the query",
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "total_results",
      +    "results"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already provide readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false. The description adds value by detailing query syntax, return fields, and boolean operators, going beyond the annotations' safety profile.

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 three sentences with no wasted words. It starts with the overall purpose, then details query syntax, and finally lists return fields, making it efficient and easy to scan.

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?

Given the output schema exists, the description adequately covers query syntax, return fields, and basic usage. It is missing details on pagination or rate limits, but overall it provides sufficient context for a search tool.

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 schema already documents all parameters. The description adds practical examples, demonstrates field prefixes, and explains boolean combinations, which enhances usability beyond the schema alone.

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 the tool searches arXiv preprints, specifies plain text and field-prefixed query options, and lists return fields. It effectively distinguishes from siblings like get_paper (retrieval by ID) and deep_research (more complex).

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?

The description gives query syntax and examples but does not explicitly state when to use this tool versus alternatives like get_paper or deep_research. Usage context is implied but not contrasted, so the agent lacks clear guidance on exclusion.

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.