Skip to main content
Glama
litMcp

litMcp

by L1nze

Autocomplete

autocomplete

Resolve author, journal, institution, publisher, or funder names to OpenAlex IDs for search filters; use before keyword or semantic search to target specific entities.

Instructions

Resolve names to OpenAlex entity IDs — fast typeahead (~200ms).

TRIGGER whenever the user names a specific author, journal, institution, publisher, or funder (指定作者/期刊/机构/出版商/资助方) and you need its OpenAlex ID for search filters.

Use this before search_keyword / search_semantic to resolve author, journal, institution, publisher, or funder names to their OpenAlex IDs. Then pass the ID to the corresponding filter parameter of the search tool.

Returns up to 10 results. Autocomplete is free (not billed as a search).

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

Input Schema

NameRequiredDescriptionDefault
queryYesName fragment to search for (e.g. ``"Northwestern"``, ``"MSSP"``, ``"Gates"``, ``Yinzhong Yan``).
entity_typeYesOne of ``"authors"``, ``"sources"``, ``"institutions"``, ``"publishers"``, ``"funders"``.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose useful behavior: ~200ms latency, a cap of 10 results, and that calls are free/not billed as searches — the last being a genuinely non-obvious cost constraint. It stops short of saying what happens on ambiguous or zero matches (e.g. how multiple candidates are ranked or how to disambiguate two authors with the same name), which matters for a name-resolution tool.

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 and latency, then the trigger, then the sequencing rule — a sensible order. There is mild redundancy between the first sentence and the 'Use this before … to resolve author, journal, institution, publisher, or funder names' restatement, and the bilingual parenthetical is helpful for matching but adds bulk.

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?

An output schema exists, so return values need not be described, yet the description still gives the key shape ('up to 10 results'). For a two-parameter resolution tool, everything an agent needs to decide to call it and how to chain it is present.

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 baseline is 3, but the description adds real meaning: it maps the user-facing vocabulary ('journal' → sources, 'author' → authors) onto the entity_type values, a mapping the schema does not spell out. It adds no guidance on query formatting beyond the schema's own examples.

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 and resource ('Resolve names to OpenAlex entity IDs') plus the mechanism ('fast typeahead'). It also names the sibling tools it precedes (search_keyword / search_semantic), so an agent can place it in a workflow without opening any 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?

Explicit trigger condition ('whenever the user names a specific author, journal, institution, publisher, or funder'), explicit ordering ('use this before search_keyword / search_semantic'), and explicit follow-through ('pass the ID to the corresponding filter parameter'). Nothing about when to reach for it is left to inference.

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