Skip to main content
Glama
litMcp

litMcp

by L1nze

Search Ids

search_ids

Fetch specific papers by OpenAlex ID or DOI and add them to the local library for SQL-based exploration. Use for known references, not topic-based discovery.

Instructions

Fetch specific papers by OpenAlex ID or DOI.

TRIGGER when the user provides one or more DOIs / OpenAlex IDs, or points at specific known papers (按 DOI 获取论文、查指定的某几篇文献) — no filters, no pagination. For topic-based discovery use search_keyword / search_semantic instead.

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

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_ids"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesComma-separated OpenAlex IDs and/or DOIs. e.g. ``"W2741809807,W2100837269"`` or ``"10.1016/xxx,10.1038/yyy"``. OpenAlex and DOI URLs, plus ``doi:`` prefixes, are also accepted.
fetch_fulltextNoEnable for a named paper when the user asks for methodological or operational details beyond its abstract.
fulltext_limitNoMaximum PDFs converted to database text (default 2).
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.1/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden; it does disclose a meaningful side effect (results UPSERTed into the local library) and flags the paid Content API fallback, which are real value-adds. However, it omits other behavior an agent needs: what happens to invalid or not-found IDs, whether partial results are returned, and any rate-limit or cost implications of the Content API beyond the word "paid".

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 core action, then trigger, then anti-trigger, then side effect — a good ordering with no wasted sentences. The bilingual trigger phrase is a minor length cost that may aid multilingual routing, though it slightly dilutes density.

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?

An output schema exists so return values needn't be described, and the library-write side effect plus the SQL follow-up hint (``library_query``) cover the main post-call concern. The remaining gap is failure/edge-case behavior for unknown IDs, which matters for a lookup tool but is secondary.

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 all four parameters are already documented with examples and defaults; the description adds only the framing that no filtering or pagination applies. It does not add syntax or semantic detail beyond what the schema already provides.

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 concrete verb and resource ("Fetch specific papers by OpenAlex ID or DOI") and immediately bounds the scope with "no filters, no pagination," which cleanly separates it from the topic-discovery siblings it names.

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 trigger condition (user supplies DOIs/OpenAlex IDs or points at known papers) and an explicit when-not with named alternatives (``search_keyword`` / ``search_semantic`` for topic discovery). Nothing is left to inference about which tool to pick.

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