Skip to main content
Glama

search_literature

Read-only

Search Europe PMC (PubMed, PMC, preprints). query: 1-3 key terms or Europe PMC syntax; all words must match title/abstract, else relaxed to any word (flagged). gene: gene name or Ensembl ID; its synonyms and IDs are OR-ed in. full_text searches open-access full text; crop_only requires a legume crop or genus name; sort relevance|date|cited. Returns papers with DOI/PMID, year, journal, OA flag, citations, short abstract.

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
geneNo
sortNorelevance
limitNo
queryYes
crop_onlyNo
from_yearNo
full_textNo
open_access_onlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / sort / enum
      Added value: +[
      +  "relevance",
      +  "date",
      +  "cited"
      +]
  2. Changed15 schema fields changed
    • removedInput schema / properties / crop_only / title
      Removed value: -"Crop Only"
    • removedInput schema / properties / from_year / anyOf
      Removed value: -[
      -  {
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / from_year / default
      Removed value: -null
    • removedInput schema / properties / from_year / title
      Removed value: -"From Year"
    • addedInput schema / properties / from_year / type
      Added value: +"integer"
    • removedInput schema / properties / full_text / title
      Removed value: -"Full Text"
    • removedInput schema / properties / gene / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / gene / default
      Removed value: -null
    • removedInput schema / properties / gene / title
      Removed value: -"Gene"
    • addedInput schema / properties / gene / type
      Added value: +"string"
    • removedInput schema / properties / limit / title
      Removed value: -"Limit"
    • removedInput schema / properties / open_access_only / title
      Removed value: -"Open Access Only"
    • removedInput schema / properties / query / title
      Removed value: -"Query"
    • removedInput schema / properties / sort / title
      Removed value: -"Sort"
    • removedInput schema / title
      Removed value: -"search_literatureArguments"
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The description adds real behavior beyond readOnlyHint=true: it discloses the fallback from all-words to any-word matching, notes that relaxation is flagged, and lists what the response contains (DOI/PMID, year, journal, OA flag, citations, short abstract). It does not mention result limits, pagination, or rate limits, so it is informative but not complete.

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?

The definition is front-loaded with the resource, then parameter semantics, then return contents, in a logical order with no filler. The semicolon-delimited telegraphic style is dense and slightly harder to parse, but every clause carries information.

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?

There is no output schema, and the description compensates by enumerating returned fields, which is the right call for this complexity level. Three of eight parameters (limit, from_year, open_access_only) remain undocumented, which is the main remaining gap for an 8-parameter tool.

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?

With schema description coverage at 0%, the description carries the full burden and covers most parameters: query syntax and relaxation, gene synonym/Ensembl ID OR-ing, full_text scope, crop_only's legume requirement, and the sort enum values. It leaves limit, from_year, and open_access_only unexplained, so it compensates well but not entirely.

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?

The description opens with a specific verb and resource: 'Search Europe PMC (PubMed, PMC, preprints)', which tells an agent exactly which corpus is queried. It does not name or contrast with sibling tools such as search_papers or gene_papers, so the agent must infer the boundary itself.

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

Usage Guidelines3/5

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

Usage constraints are stated for parameters ('query: 1-3 key terms', 'crop_only requires a legume crop or genus name'), which guides correct invocation. However, there is no guidance on when to choose this tool over sibling search tools, and no explicit when-not-to-use condition.

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.

Resources