Skip to main content
Glama

Folklore Clinical Variant Interpretation MCP

Search the Folklore Literature Corpus

search_literature_corpus
Read-onlyIdempotent

Semantically search the public scientific Literature Corpus by a natural-language question. A question may include one or more PMID, DOI or PMCID references; those publications become exact anchors for finding related experiments, evidence and concepts across the corpus. Also accepts genes, variants, phenotypes, HPO and OMIM concepts. Include every known publication identifier in the query when the user asks to compare papers or find work related to a specific paper. Returns source-linked evidence candidates for professional review, not diagnoses, causality claims or treatment recommendations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortNoResult ordering: relevance-ranked, newest publication first, or oldest publication first.relevance
limitNoMaximum number of publications to return, from 1 to 25.
queryYesNatural-language literature question or exact PMID, DOI, PMCID, gene, variant, phenotype, HPO, or OMIM query. Include every known publication identifier when comparing or finding related papers.
cursorNoOpaque continuation cursor from the preceding response for the same query and sort order; omit for the first page.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
resultsYes
has_moreNo
graph_usedNo
next_cursorNo
graph_versionNo
returned_countYes
usage_boundaryYes
contract_versionYes
searchable_fieldsYes
semantic_index_usedNo
graph_degraded_reasonNo
semantic_degraded_reasonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedOutput schema / $defs / PublicCorpusSearchResult / properties / graph_anchor_pmid
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Graph Anchor Pmid"
      +}
    • addedOutput schema / $defs / PublicCorpusSearchResult / properties / graph_score
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Graph Score"
      +}
    • changedOutput schema / $defs / PublicCorpusSearchResult / properties / match_types / items / enum
      Previous value: -[
      -  "pmid",
      -  "doi",
      -  "pmcid",
      -  "title",
      -  "abstract",
      -  "gene",
      -  "variant",
      -  "phenotype",
      -  "hpo",
      -  "omim",
      -  "semantic"
      -]New value: +[
      +  "pmid",
      +  "doi",
      +  "pmcid",
      +  "title",
      +  "abstract",
      +  "gene",
      +  "variant",
      +  "phenotype",
      +  "hpo",
      +  "omim",
      +  "semantic",
      +  "graph"
      +]
    • addedOutput schema / properties / graph_degraded_reason
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Graph Degraded Reason"
      +}
    • addedOutput schema / properties / graph_used
      Added value: +{
      +  "default": false,
      +  "title": "Graph Used",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / graph_version
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Graph Version"
      +}
  2. Changed1 schema field changed
    • addedOutput schema / $defs / PublicCorpusSearchResult / properties / authors
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "title": "Authors",
      +  "type": "array"
      +}
  3. Changed4 schema fields changed
    • addedInput schema / properties / cursor / description
      Added value: +"Opaque continuation cursor from the preceding response for the same query and sort order; omit for the first page."
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of publications to return, from 1 to 25."
    • addedInput schema / properties / query / description
      Added value: +"Natural-language literature question or exact PMID, DOI, PMCID, gene, variant, phenotype, HPO, or OMIM query. Include every known publication identifier when comparing or finding related papers."
    • addedInput schema / properties / sort / description
      Added value: +"Result ordering: relevance-ranked, newest publication first, or oldest publication first."
  4. Changed2 schema fields changed
    • addedOutput schema / $defs / PublicCorpusArticleEntity
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "entity_type": {
      +      "enum": [
      +        "gene",
      +        "variant",
      +        "phenotype",
      +        "pmid",
      +        "doi",
      +        "pmcid",
      +        "omim"
      +      ],
      +      "title": "Entity Type",
      +      "type": "string"
      +    },
      +    "identifier": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Identifier"
      +    },
      +    "label": {
      +      "title": "Label",
      +      "type": "string"
      +    },
      +    "normalization_state": {
      +      "enum": [
      +        "normalized",
      +        "source_indexed"
      +      ],
      +      "title": "Normalization State",
      +      "type": "string"
      +    },
      +    "source_field": {
      +      "enum": [
      +        "work_identifiers.normalized_value",
      +        "gene_mentions.gene_symbol",
      +        "variant_mentions.normalized_variant",
      +        "phenotype_mentions.hpo_id",
      +        "phenotype_mentions.omim_id",
      +        "phenotype_mentions.mesh_term",
      +        "phenotype_mentions.phenotype_name"
      +      ],
      +      "title": "Source Field",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "entity_type",
      +    "identifier",
      +    "label",
      +    "source_field",
      +    "normalization_state"
      +  ],
      +  "title": "PublicCorpusArticleEntity",
      +  "type": "object"
      +}
    • addedOutput schema / $defs / PublicCorpusSearchResult / properties / article_entities
      Added value: +{
      +  "items": {
      +    "$ref": "#/$defs/PublicCorpusArticleEntity"
      +  },
      +  "title": "Article Entities",
      +  "type": "array"
      +}
  5. Changed3 schema fields changed
    • addedInput schema / properties / cursor
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 128,
      +      "minLength": 8,
      +      "pattern": "^[A-Za-z0-9_-]+$",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Cursor"
      +}
    • addedOutput schema / properties / has_more
      Added value: +{
      +  "default": false,
      +  "title": "Has More",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / next_cursor
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Next Cursor"
      +}
  6. Changed8 schema fields changed
    • addedOutput schema / $defs / PublicCorpusSearchResult / properties / pmid / anyOf
      Added value: +[
      +  {
      +    "pattern": "^[0-9]{1,12}$",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / $defs / PublicCorpusSearchResult / properties / pmid / pattern
      Removed value: -"^[0-9]{1,12}$"
    • removedOutput schema / $defs / PublicCorpusSearchResult / properties / pmid / type
      Removed value: -"string"
    • addedOutput schema / $defs / PublicCorpusSearchResult / properties / pubmed_url / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / $defs / PublicCorpusSearchResult / properties / pubmed_url / type
      Removed value: -"string"
    • addedOutput schema / $defs / PublicCorpusSearchResult / properties / source_url
      Added value: +{
      +  "title": "Source Url",
      +  "type": "string"
      +}
    • addedOutput schema / $defs / PublicCorpusSearchResult / properties / work_id
      Added value: +{
      +  "title": "Work Id",
      +  "type": "string"
      +}
    • changedOutput schema / $defs / PublicCorpusSearchResult / required
      Previous value: -[
      -  "pmid",
      -  "title",
      -  "abstract_excerpt",
      -  "journal",
      -  "publication_date",
      -  "doi",
      -  "pmc_id",
      -  "pubmed_url",
      -  "match_types",
      -  "structured_score"
      -]New value: +[
      +  "work_id",
      +  "pmid",
      +  "title",
      +  "abstract_excerpt",
      +  "journal",
      +  "publication_date",
      +  "doi",
      +  "pmc_id",
      +  "source_url",
      +  "pubmed_url",
      +  "match_types",
      +  "structured_score"
      +]
  7. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false; the description adds meaningful context by stating it returns 'source-linked evidence candidates for professional review, not diagnoses, causality claims or treatment recommendations.' This safety caveat goes beyond the structured annotations.

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?

Three sentences front-load the core purpose, provide a concrete usage rule, and close with an important caveat. There is no filler or repetition of schema contents.

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 read-only search tool with a rich output schema and fully documented parameters, the description covers the essential invocation behavior, accepted input classes, and professional-review caveat. It is slightly incomplete only in not routing the agent between overlapping sibling search tools.

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 input schema already documents query, sort, limit, and cursor well. The description reinforces the query semantics (e.g., PMID/DOI/PMCID as anchors) but adds little parameter-level detail beyond the schema.

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 names a specific verb and resource: semantically search the public scientific Literature Corpus by natural-language question, and lists accepted identifier/concept types. It is clear on its own, but the title's 'Folklore Literature Corpus' conflicts slightly with the description's 'scientific Literature Corpus,' and it does not explicitly distinguish itself from sibling search_variant_literature.

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 description gives concrete usage guidance: include every known publication identifier when the user wants to compare papers or find work related to a specific paper. It establishes clear context but does not state when not to use this tool versus sibling search tools such as search_variant_literature.

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.