Skip to main content
Glama

Find papers similar to a paper

find_similar_papers
Read-onlyIdempotent

Finds the papers in the RBAi Scholar corpus closest in meaning to one paper already in it, given by PubMed ID or DOI. Compares that paper's stored embedding with the corpus and ranks by similarity plus citation count and recency, leaving the paper itself out. Takes year, open-access, citation, type, study-type, journal, language, author and title filters.

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": {
      "id": "<id>"
    },
    "name": "find_similar_papers"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe paper to start from: its PubMed ID (e.g. "21376230") or DOI (e.g. "10.1016/j.cell.2011.02.013").
topKNoNumber of results to return (default 20, max 100)
typeNoArticle type filter (optional). Nearly every paper in the corpus has type "article", so this filter rarely narrows a search. To find reviews, trials or other study types, use studyType.
authorNoAuthor name, matched as whole words in the order typed, case-insensitive (optional)
formatNoLeave out for the readable list. "ris" (imports into Zotero, Mendeley and EndNote) or "bibtex" (Zotero, Mendeley, LaTeX): the same papers as a citation file, returned as the result text. "json": the papers as JSON records (optional)
offsetNoSkip this many ranked results to get the next page: 0 (default), then topK, then 2 x topK, with every other argument unchanged. offset + topK at most 200 (optional)
yearToNoOnly papers up to this year (optional)
journalNoJournal name, matched as whole words in the journal field, case-insensitive ("Nature" also finds Nature Medicine) (optional)
languageNoLanguage code filter, e.g. "en" (optional)
oaStatusNoOpen-access status: "open", "green", "gold", "closed" (optional)
yearFromNoOnly papers from this year onwards (optional)
studyTypeNoOnly papers that PubMed classes as any of these study types (papers with a PubMed ID). "clinical trial" includes randomized controlled trials and "review" includes systematic reviews (optional)
titleSearchNoWords of the paper title, matched as whole words in the order typed, case-insensitive (optional)
isOpenAccessNoOnly open-access papers (optional)
minCitationsNoMinimum citation count (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / studyType
      Added value: +{
      +  "description": "Only papers that PubMed classes as any of these study types (papers with a PubMed ID). \"clinical trial\" includes randomized controlled trials and \"review\" includes systematic reviews (optional)",
      +  "items": {
      +    "enum": [
      +      "randomized controlled trial",
      +      "clinical trial",
      +      "meta-analysis",
      +      "systematic review",
      +      "review",
      +      "practice guideline",
      +      "case report",
      +      "observational study"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedInput schema / properties / type / description
      Previous value: -"Article type filter (optional). Nearly every paper in the corpus has type \"article\", so this filter rarely narrows a search. To find reviews, put the word \"review\" in the query instead."New value: +"Article type filter (optional). Nearly every paper in the corpus has type \"article\", so this filter rarely narrows a search. To find reviews, trials or other study types, use studyType."
  2. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description does add real behavior beyond that: ranking blends similarity with citation count and recency, and the seed paper is excluded from results. It says nothing about what happens if the seed ID is absent from the corpus, nor anything about the shape of results.

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?

Two sentences, front-loaded with the core action and its input, then the ranking behavior. The trailing filter enumeration is mildly redundant given the schema but is compact and does orient the agent before it opens the parameter list.

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?

For a 15-parameter but single-required-argument tool with no output schema, the description covers what it does, how results are ordered, and that the seed is excluded. The main residual gaps are the result payload format (readable list vs ris/bibtex is only documented in the schema) and error behavior for an unknown or out-of-corpus ID.

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 the schema already carries all parameter semantics, including the topK default, offset paging arithmetic and the type-vs-studyType caveat. The description merely enumerates filter families ('year, open-access, citation, type, study-type, journal, language, author and title'), restating names without adding interpretation. Baseline 3 applies.

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 ('finds the papers in the RBAi Scholar corpus closest in meaning to one paper already in it') and pins the seed identifier (PubMed ID or DOI). It also discloses the mechanism (stored embedding comparison) and ranking signals, which clearly separates it from keyword or list-style siblings such as search_corpus_keyword or get_papers.

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?

The phrase 'one paper already in it' establishes the precondition that you must have an existing corpus paper, which implicitly routes agents away from this tool when they only have a topic query. It stops short of explicitly naming an alternative like search_corpus for topic-based discovery, so the exclusion is implied rather than stated.

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.