Skip to main content
Glama

Folklore Clinical Variant Interpretation MCP

Search the Folklore Literature Corpus

search_literature_corpus
Read-onlyIdempotent

Search the genetics Literature Corpus by question, PMID, DOI, PMCID, gene, variant, phenotype, HPO or OMIM concept. Known publication identifiers provide exact anchors. Returns ranked publications, match types, scores and source links.

Input 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

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedOutput schema / additionalProperties
      Removed value: -false
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "contract_version": {
      +        "const": "2",
      +        "title": "Contract Version",
      +        "type": "string"
      +      },
      +      "graph_degraded_reason": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Graph Degraded Reason"
      +      },
      +      "graph_used": {
      +        "default": false,
      +        "title": "Graph Used",
      +        "type": "boolean"
      +      },
      +      "graph_version": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Graph Version"
      +      },
      +      "has_more": {
      +        "default": false,
      +        "title": "Has More",
      +        "type": "boolean"
      +      },
      +      "next_cursor": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Next Cursor"
      +      },
      +      "query": {
      +        "title": "Query",
      +        "type": "string"
      +      },
      +      "results": {
      +        "items": {
      +          "$ref": "#/$defs/PublicCorpusSearchResult"
      +        },
      +        "title": "Results",
      +        "type": "array"
      +      },
      +      "returned_count": {
      +        "title": "Returned Count",
      +        "type": "integer"
      +      },
      +      "searchable_fields": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "title": "Searchable Fields",
      +        "type": "array"
      +      },
      +      "semantic_degraded_reason": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Semantic Degraded Reason"
      +      },
      +      "semantic_index_used": {
      +        "default": false,
      +        "title": "Semantic Index Used",
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "contract_version",
      +      "query",
      +      "returned_count",
      +      "results",
      +      "searchable_fields"
      +    ],
      +    "title": "PublicCorpusSearchResponse",
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "adapter_error": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "code": {
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "message": {
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "retryable": {
      +                "type": "boolean"
      +              }
      +            },
      +            "required": [
      +              "code",
      +              "message",
      +              "retryable"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "contract_version": {
      +        "const": "2",
      +        "type": "string"
      +      },
      +      "record_url": {
      +        "format": "uri",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "result": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": true,
      +            "properties": {
      +              "search_contract_version": {
      +                "const": "1.0",
      +                "type": "string"
      +              },
      +              "status": {
      +                "enum": [
      +                  "resolved",
      +                  "ambiguous",
      +                  "not_found",
      +                  "invalid_request",
      +                  "unsupported",
      +                  "resolution_unavailable"
      +                ],
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "search_contract_version",
      +              "status"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "required": [
      +      "contract_version",
      +      "record_url",
      +      "result",
      +      "adapter_error"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / properties
      Removed value: -{
      -  "contract_version": {
      -    "const": "1.0",
      -    "title": "Contract Version",
      -    "type": "string"
      -  },
      -  "graph_degraded_reason": {
      -    "anyOf": [
      -      {
      -        "type": "string"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "default": null,
      -    "title": "Graph Degraded Reason"
      -  },
      -  "graph_used": {
      -    "default": false,
      -    "title": "Graph Used",
      -    "type": "boolean"
      -  },
      -  "graph_version": {
      -    "anyOf": [
      -      {
      -        "type": "string"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "default": null,
      -    "title": "Graph Version"
      -  },
      -  "has_more": {
      -    "default": false,
      -    "title": "Has More",
      -    "type": "boolean"
      -  },
      -  "next_cursor": {
      -    "anyOf": [
      -      {
      -        "type": "string"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "default": null,
      -    "title": "Next Cursor"
      -  },
      -  "query": {
      -    "title": "Query",
      -    "type": "string"
      -  },
      -  "results": {
      -    "items": {
      -      "$ref": "#/$defs/PublicCorpusSearchResult"
      -    },
      -    "title": "Results",
      -    "type": "array"
      -  },
      -  "returned_count": {
      -    "title": "Returned Count",
      -    "type": "integer"
      -  },
      -  "searchable_fields": {
      -    "items": {
      -      "type": "string"
      -    },
      -    "title": "Searchable Fields",
      -    "type": "array"
      -  },
      -  "semantic_degraded_reason": {
      -    "anyOf": [
      -      {
      -        "type": "string"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "default": null,
      -    "title": "Semantic Degraded Reason"
      -  },
      -  "semantic_index_used": {
      -    "default": false,
      -    "title": "Semantic Index Used",
      -    "type": "boolean"
      -  },
      -  "usage_boundary": {
      -    "additionalProperties": true,
      -    "title": "Usage Boundary",
      -    "type": "object"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "contract_version",
      -  "query",
      -  "returned_count",
      -  "results",
      -  "searchable_fields",
      -  "usage_boundary"
      -]
    • removedOutput schema / title
      Removed value: -"PublicCorpusSearchResponse"
  2. 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"
      +}
  3. Changed1 schema field changed
    • addedOutput schema / $defs / PublicCorpusSearchResult / properties / authors
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "title": "Authors",
      +  "type": "array"
      +}
  4. 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."
  5. 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"
      +}
  6. 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"
      +}
  7. 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"
      +]
  8. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare the safe read-only, idempotent, closed-world profile, so the description's burden is lighter; it adds the return shape (ranked publications, match types, scores, source links). It does not mention pagination limits or the 25-result cap, but those are covered by schema and output schema.

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 compact sentences with the resource and accepted query types front-loaded and no filler. The return-shape sentence earns its place, though it slightly overlaps the separate output schema.

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?

Given rich annotations, a fully documented 4-parameter schema, and an output schema, the description supplies enough for correct invocation. The only real gap is routing relative to the specialized gene/variant literature siblings.

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?

With 100% schema description coverage, the baseline is 3. The description reinforces that identifiers act as exact-match anchors and that all known identifiers should be included, which adds a little meaning, but it does not elaborate sort, limit, or cursor semantics 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?

States a specific verb (search) and resource (genetics Literature Corpus) and enumerates the query dimensions accepted (PMID, DOI, gene, variant, phenotype, HPO, OMIM), distinguishing it as the broad corpus search. It does not, however, contrast itself with the closely related siblings search_gene_literature or search_variant_literature, leaving an agent to infer the boundary.

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?

"Known publication identifiers provide exact anchors" is a useful usage hint about identifier-based lookups, but the description gives no explicit when-to-use/when-not guidance and never names an alternative tool. For a corpus with several sibling search tools, that omission forces the agent to infer routing.

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.