Skip to main content
Glama

search_papers

Read-only

Semantic + keyword search over passages of open-access full-text papers (PMC; methods not indexed), grouped by paper. question: natural language. limit: papers (max 50); passages_per_paper 1-3; offset, year_from/year_to. papers_matching_keywords shows how many more exist. Read a whole paper with get_paper. Quote passages verbatim with citation; summarise ND-licensed papers.

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": {
      "question": "<question>"
    },
    "name": "search_papers"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
year_toNo
questionYes
year_fromNo
passages_per_paperNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 schema fields changed
    • removedInput schema / properties / limit / title
      Removed value: -"Limit"
    • removedInput schema / properties / offset / title
      Removed value: -"Offset"
    • removedInput schema / properties / passages_per_paper / title
      Removed value: -"Passages Per Paper"
    • removedInput schema / properties / question / title
      Removed value: -"Question"
    • removedInput schema / properties / year_from / anyOf
      Removed value: -[
      -  {
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / year_from / default
      Removed value: -null
    • removedInput schema / properties / year_from / title
      Removed value: -"Year From"
    • addedInput schema / properties / year_from / type
      Added value: +"integer"
    • removedInput schema / properties / year_to / anyOf
      Removed value: -[
      -  {
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / year_to / default
      Removed value: -null
    • removedInput schema / properties / year_to / title
      Removed value: -"Year To"
    • addedInput schema / properties / year_to / type
      Added value: +"integer"
    • removedInput schema / title
      Removed value: -"search_papersArguments"
  2. Changed2 schema fields changed
    • addedInput schema / properties / offset
      Added value: +{
      +  "default": 0,
      +  "title": "Offset",
      +  "type": "integer"
      +}
    • addedInput schema / properties / passages_per_paper
      Added value: +{
      +  "default": 2,
      +  "title": "Passages Per Paper",
      +  "type": "integer"
      +}
  3. Added

TDQS

A4.3/5.0
Behavior4/5

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

Beyond readOnlyHint=true, the description discloses real behavioral traits: results are grouped by paper, limit caps at 50 papers, passages_per_paper at 1-3, methods sections are not indexed, and a papers_matching_keywords field reveals total matches. The ND-licence quoting constraint is a genuine usage restriction not expressible in annotations. Only the response shape/pagination detail is thin.

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-loads the core purpose, then packs parameters and constraints into compact semicolon-separated clauses with no wasted sentences. The telegraphic style ('methods not indexed', 'papers_matching_keywords shows how many more exist') is dense but occasionally clipped enough to require re-reading.

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?

With no output schema, the description still conveys grouping by paper and the presence of a papers_matching_keywords field, which is what an agent needs to interpret results. For a six-parameter search tool it covers purpose, limits, and licensing caveats; finer return-value detail is the only omission.

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 description coverage is 0%, so the description must carry parameter meaning and largely does: question is natural language, limit counts papers and maxes at 50, passages_per_paper is 1-3, plus offset and year_from/year_to are named. It never explains offset semantics or whether years are publication years, leaving a small gap.

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 — 'Semantic + keyword search over passages of open-access full-text papers' — plus concrete scope qualifiers (PMC only, methods not indexed, grouped by paper). It also distinguishes itself from get_paper, so an agent can separate the two 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 Guidelines4/5

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

Explicitly routes whole-paper reading to get_paper and gives usage rules for results: quote passages verbatim with citation, summarise only ND-licensed papers. It does not state when-not-to-use or name other literature search siblings, so it stops short of full alternative coverage.

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