Skip to main content
Glama

Search papers

search_papers
Read-only

Search PubMed and OpenAlex for real papers. Every result carries a DOI or PubMed ID that resolves, so nothing returned can be fabricated. Finds sources for a claim or a topic. Filters: publication year range, open-access only, study types, and the number of results. Retracted papers are left out by default. Preprints are included and marked preprint: true (not peer reviewed). Results are ranked by the databases' relevance, alternating between the two sources.

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

Input Schema

NameRequiredDescriptionDefault
queryYesWhat to look for, in English keywords (e.g. "sepsis early antibiotics mortality").
year_toNoLatest publication year, inclusive.
year_fromNoEarliest publication year, inclusive.
max_resultsNoNumber of results, 1–50.
study_typesNoStudy designs. Known ids use database filters: rct, clinical-trial, systematic-review, meta-analysis, review, guideline, cohort, case-control, case-report, observational. Any other text is added as keywords.
open_access_onlyNoOnly papers with a free, legal full text.
include_retractedNoKeep retracted papers (flagged) instead of leaving them out.

Output Schema

NameRequiredDescriptionDefault
queryYes
statusYes
resultsYes
excludedYes
warningsYes
semantic_papersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed20 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedOutput schema / properties / excluded / properties / no_identifier / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / excluded / properties / no_identifier / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / excluded / properties / notices / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / excluded / properties / notices / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / excluded / properties / outside_years / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / excluded / properties / outside_years / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / excluded / properties / retracted / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / excluded / properties / retracted / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / results / items / properties / cited_by_count / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / results / items / properties / cited_by_count / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / results / items / properties / links / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / results / items / properties / rank / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / results / items / properties / rank / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / results / items / properties / year / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / results / items / properties / year / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / semantic_papers / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / semantic_papers / minimum
      Added value: +-9007199254740991
  2. Changed1 schema field changed
    • addedOutput schema / properties / semantic_papers
      Added value: +{
      +  "type": "integer"
      +}
  3. First observed

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description nonetheless adds genuine behavior the annotations do not: results are verifiable by DOI/PMID, retracted papers are excluded by default, preprints are included but tagged `preprint: true`, and ranking alternates between the two databases. That is useful, but it omits rate limits, result-size behavior, or what happens when one source fails, keeping it at a solid 3 rather than a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the verb and sources, then trust guarantee, then use case, then filters, then edge-case behavior (retractions, preprints, ranking). Five sentences, each adding a distinct fact, with no filler.

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 7-parameter read-only search tool with a full description schema coverage and an output schema, the description covers sources, verification guarantee, filter semantics, default exclusions, preprint tagging, and ranking order. Nothing an agent needs in order to call it correctly is missing.

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; the description earns the extra point by restating the filter set as a coherent group and by explaining the intent behind include_retracted ('left out by default') and the preprint marking convention. It still does not explain ranking interactions among filters or how study_types fallback-to-keywords affects results beyond what the schema says.

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 (search) plus the resources (PubMed and OpenAlex) and the object (papers), and immediately differentiates itself from citation/verification siblings by promising every hit has a resolving DOI or PMID. An agent can tell this is a discovery tool, not a reference-checking tool, without opening the 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?

Gives a clear use context ('Finds sources for a claim or a topic') and enumerates the filter axes, so an agent knows when this is the right call. It does not name an alternative (e.g. find_evidence or verify_references) or state when not to use it, so it stops short of full routing guidance.

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.