Skip to main content
Glama

Search the literature

search_literature
Read-onlyIdempotent

A live keyword search of OpenAlex (CC0 metadata), not of the citation graph snapshot. It matches titles, abstracts and full text where OpenAlex has it, ranked by relevance. Use it to find seed papers when you have a topic but no DOIs yet. Keyword matches miss related work that uses different words, which the citation graph finds. It is not a systematic search. Returns OpenAlex ID, DOI, title, year, venue, global cited_by_count, type, is_retracted and has_abstract; page with next_cursor. limit is at most 50. Rows carry no abstracts or authors.

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
limitNo
queryYesKeywords, a title or a phrase.
cursorNonext_cursor from the previous page.
year_toNo
year_fromNo
open_accessNotrue keeps open-access papers.

Output Schema

NameRequiredDescriptionDefault
rowsYes
next_stepYes
truncatedYes
diagnosticsNo
next_cursorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / next_step
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "rows",
      -  "next_cursor",
      -  "truncated"
      -]New value: +[
      +  "rows",
      +  "next_cursor",
      +  "next_step",
      +  "truncated"
      +]
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered; the description adds that the source is live OpenAlex CC0 metadata rather than a snapshot, that ranking is by relevance, and that pagination is cursor-based via next_cursor. It also notes the data is partial ('where OpenAlex has it') and that rows omit abstracts and authors, which is real behavioral context. It stops short of stating rate limits or auth needs, so it is not a full 5.

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 the two things an agent most needs: what corpus it hits and how it differs from the citation graph. Sentences are dense and mostly earn their place, though the enumerated return-field list (OpenAlex ID, DOI, title, year, venue, cited_by_count, type, is_retracted, has_abstract) is somewhat verbose given an output schema exists.

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 read-only, six-parameter search tool with an output schema and full annotations, the description covers purpose, corpus, ranking, pagination, result shape and the main caveat about keyword recall. The remaining gap is that year-range filtering is never mentioned, which is the one parameter an agent might misuse.

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 coverage is 50%: query, cursor and open_access are documented in the schema, while year_from and year_to have no descriptions anywhere. The description clarifies cursor ('page with next_cursor') and reinforces the limit cap, but adds nothing about how year bounds are applied or what open_access filtering does beyond the schema text. Baseline 3 is appropriate given the partial coverage it fails to compensate for.

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?

States a specific verb+resource ('live keyword search of OpenAlex') and immediately distinguishes it from the citation graph snapshot, with detail on which fields are matched (titles, abstracts, full text) and how results are ranked. An agent can tell it apart from explore_citation_network or query_citation_graph without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit use case ('find seed papers when you have a topic but no DOIs yet'), names the alternative that covers the gap ('related work that uses different words, which the citation graph finds'), and adds an exclusion ('It is not a systematic search'). When-to-use, when-not-to-use, and the sibling alternative are all present.

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.