Skip to main content
Glama
litMcp

litMcp

by L1nze

Search Keyword

search_keyword

Search academic papers by keyword across 250M+ OpenAlex works, with author/journal/funder filters, and add matching results to your local library for literature review.

Instructions

Search academic papers by keyword across 250M+ OpenAlex works.

TRIGGER automatically whenever the user asks to 检索/查找/搜集相关文献 或资料, find/search/review papers, references, related work, or surveys by topic, keyword, author, journal, institution, or funder. Prefer this over generic web search when scholarly sources are needed, and call it before answering the research question. For paragraph-length research ideas or conceptual matching prefer search_semantic; when the user already gives DOIs or OpenAlex IDs use search_ids instead.

Results are automatically added to the local library (UPSERT by work ID). Use library_query to explore results with SQL.

The query parameter supports Boolean operators (AND, OR, NOT — UPPERCASE), quoted phrases ("..."), and wildcards (machin*). Search targets title, abstract, and fulltext. Defaults to publication_year ">2021".

Leave query empty to fetch ALL works matching only the ID filters — no full-text keyword needed. Combine with publication_year or cited_by_count to narrow the result set.

Use autocomplete first to resolve author / source / institution / publisher / funder names to their OpenAlex IDs, then pass those IDs to the corresponding filter parameters below.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_keyword"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1-based, 100 results per page).
citesNoFind works that cite these OpenAlex IDs.
queryNoSearch text (optional — omit to list all works matching only the filters below). Supports Boolean, phrases, wildcards.
cited_byNoFind works cited by these OpenAlex IDs.
author_idNoAuthor OpenAlex ID, e.g. "A5023888391".
funder_idNoFunder OpenAlex ID, e.g. "F4320306076".
source_idNoSource (journal) OpenAlex ID, e.g. "S4210208519".
related_toNoFind works related to these OpenAlex IDs.
publisher_idNoPublisher OpenAlex ID, e.g. "P4310319901".
cited_by_countNoCitation count threshold, e.g. ">50".
fetch_fulltextNoEnable only for questions requiring methods, parameters, operational details, or other full-text evidence.
fulltext_limitNoMaximum PDFs converted to database text (default 2).
institution_idNoInstitution OpenAlex ID, e.g. "I129432676".
publication_yearNoYear or range (default ">2021"). An empty value means no year filter.>2021
source_country_codeNoTwo-letter country code of the source, e.g. "cn" for Chinese journals (中文期刊检索时配合中文关键词).
use_openalex_content_apiNoAllow the paid Content API fallback.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

No annotations are supplied, so the description carries the full burden and does so: it discloses the write side effect (results are UPSERTed into the local library), the hidden default of publication_year ">2021", the existence of a paid Content API fallback, and that fetch_fulltext should only be enabled for methods/parameters questions. These are exactly the behaviors an agent could not infer from the schema.

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 trigger, then alternatives, then side effects, then parameter notes — a sensible funnel. It is somewhat long and mildly redundant (the publication_year default is stated both here and in the schema, and the bilingual trigger list is verbose), but nearly every line carries actionable routing or behavioral information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 16-parameter search tool with an output schema, the description covers the pieces the schema cannot: routing versus siblings, the library UPSERT side effect, the default year filter, and the autocomplete prerequisite for ID filters. Return-value explanation is correctly omitted since an output schema exists.

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 already 100%, so the baseline is 3; the description goes beyond it by explaining query syntax (UPPERCASE Boolean, quoted phrases, wildcards), that search targets title/abstract/fulltext, that empty query means filter-only listing, and the autocomplete-to-ID pipeline. It does not explain the cites/cited_by/related_to distinctions or how fulltext_limit interacts with cost, which keeps it from a 5.

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?

Opens with a specific verb and resource plus scope: 'Search academic papers by keyword across 250M+ OpenAlex works.' It then explicitly distinguishes itself from search_semantic (conceptual/paragraph-length ideas) and search_ids (DOIs/OpenAlex IDs already known), so an agent can route correctly without opening a 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 explicit trigger conditions (find/search/review papers, references, related work, surveys), a stated preference rule over generic web search, named alternatives with the conditions that select them, and a workflow instruction to call autocomplete first for ID resolution. It also documents the non-obvious case of leaving query empty to do pure filter-based listing.

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