Skip to main content
Glama

Get Score

get_score
Read-only

Retrieve complete metadata for a polygenic score by PGS ID, including traits, method, samples, licence, publication, and GRCh37/GRCh38 scoring file links.

Instructions

Return full metadata of one polygenic score: traits, method and parameters, variant count and genome build, GWAS/training samples with ancestry, the author-set licence, source publication, and download links for the original and harmonized (GRCh37/GRCh38) scoring files. variants_number counts the original file; harmonized files may map fewer. Weights are not inlined, and this server does not compute scores (use the files with the catalog's pgsc_calc). Signature: get_score(pgs_id).

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": {
      "pgs_id": "<pgs_id>"
    },
    "name": "get_score"
  }
}

Input Schema

NameRequiredDescriptionDefault
pgs_idYesPGS Catalog score ID: PGS + 6 digits.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A4/5.0
Behavior4/5

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

The annotations already mark this as a read-only, open-world lookup, but the description adds meaningful behavioral context: weights are not inlined, the server does not compute scores, and variants_number refers to the original file while harmonized files may map fewer variants. It does not cover auth, rate limits, or exact return shape, but it adds substantial caveats beyond the annotations.

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?

The description is front-loaded with the primary purpose and is reasonably tight, but the long enumeration of returned fields and caveats makes it denser than strictly necessary. Every sentence does convey useful information, so it remains efficient overall.

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?

There is no output schema, but the description enumerates the key returned metadata and explicitly notes important limitations such as non-inlined weights, no score computation, and harmonized variant mapping differences. This is complete enough for an agent to call and interpret the tool correctly.

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% and the single pgs_id parameter is fully documented in the schema, including its pattern and example. The description repeats the signature get_score(pgs_id) but adds no additional meaning about the parameter beyond what the schema already provides.

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?

The description states a specific verb and resource: it returns full metadata for one polygenic score, and enumerates the fields included (traits, method, variants, samples, licence, publication, download links). This clearly distinguishes it from list/search or performance-oriented siblings.

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?

It clarifies that the server does not compute scores and that scoring files should be used with pgsc_calc, which is useful. However, it does not explicitly say when to use this versus get_score_performance, search_scores, or other related tools beyond the implicit single-ID lookup.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.