Skip to main content
Glama

search_literature

Read-only

Search INSPIRE-HEP papers by author, title, citation count, or date using INSPIRE query syntax, and page through results to locate relevant physics literature.

Instructions

Search INSPIRE-HEP papers with INSPIRE search syntax.

    Args:
        query: INSPIRE query, e.g. "t higgs and cn atlas and date > 2020". Plain words are ANDed.
        size: number of results to return (1-25).
        sort: "mostrecent", "mostcited", or null for the INSPIRE default ranking.
        page: result page, starting at 1; continue with `next_page` from the previous response.
        compact: drop abstracts and author lists to save context; fetch details with get_paper.
    

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": {
      "query": "<query>"
    },
    "name": "search_literature"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
sizeNo
sortNo
queryYes
compactNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.2

TDQS

A4/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuine behavior beyond that: the 1-25 result cap, the continuation mechanism via `next_page`, and the compact-mode tradeoff of dropping abstracts and author lists. It says nothing about result totals, ranking stability, or rate limits, so it is solid 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.

Conciseness4/5

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

One summary sentence followed by a tight per-argument block; each line carries distinct information and the purpose is front-loaded. The docstring/Args framing is slightly verbose relative to prose, but nothing is wasted.

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?

With an output schema present, return values need not be described, and the description correctly focuses on inputs and the pagination loop. For a 5-parameter open-world search tool it is nearly complete, though it never states whether `next_page` is an opaque token or a page number, nor anything about result-set size limits.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden and does: query gets syntax and an example, size gets a 1-25 range, sort gets its enum values plus what null means, page gets start-at-1 and next_page continuation, and compact gets both its effect and the recommended follow-up. Every parameter gains meaning not present in the bare schema.

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?

Opens with a specific verb+resource: 'Search INSPIRE-HEP papers with INSPIRE search syntax.' That clearly separates it from siblings like get_paper, search_authors, or search_jobs. It does not explicitly distinguish itself from semantic_search, which is the one sibling an agent could plausibly confuse it with, so it stops short of a 5.

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?

Gives concrete usage rules: plain words are ANDed, page starts at 1 and you continue with `next_page` from the prior response, and compact is the cheap path with get_paper named for detail retrieval. That is real routing guidance to a sibling. It lacks an explicit 'use semantic_search instead when…' exclusion, which keeps it at 4.

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