Skip to main content
Glama

Get Score Performance

get_score_performance
Read-only

Retrieve published performance metrics for a polygenic score, including effect sizes, classification accuracy, evaluation sample sets, and covariates, filtered by publication.

Instructions

Return the published performance metrics of one score: effect sizes (OR/HR/beta), classification accuracy (AUROC, C-index) and other metrics, each with its evaluation sample set (size, cases/controls, ancestry, cohorts) and covariates, in PPM ID order. publication_id keeps only the records from one paper (e.g. the score's source publication from get_score). The default response_mode=compact gives metrics with short names and lists each evaluation sample set once (samplesets, keyed by the row's sampleset ID); standard/full add the samples inline and the fenced prose. limit=1 just reads total. A score with no published metrics returns total 0; an unknown score or publication is not_found. Signature: get_score_performance(pgs_id, publication_id=, response_mode=, limit=, offset=).

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax rows (default 10, max 50).
offsetNoRows to skip; use the previous `next_offset`.
pgs_idYesPGS Catalog score ID: PGS + 6 digits.
response_modeNominimal: record and sampleset IDs with metrics | compact (default): + publication and a page-level samplesets table | standard/full: samples inline (with country) and the fenced phenotype/covariates/comments.
publication_idNoOnly records from this PGP publication.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A4.5/5.0
Behavior5/5

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

Beyond readOnlyHint/openWorldHint, it discloses ordering (PPM ID order), the default response_mode and what each mode adds, the total-0 versus not_found error distinction, and the offset convention tied to `next_offset`. That is substantive behavioral context an agent cannot derive from 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?

Front-loaded with what is returned, then filtering, modes, edge cases, and a signature line. Information density is high with no filler, though the trailing signature duplicates the input schema and some sentences pack multiple clauses.

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?

With no output schema, the description carries the burden of describing return shape, and it does so at a useful level (metric groups, sampleset table in compact mode, inline samples plus fenced prose in standard/full). Metric-level field naming and exact nesting remain unspecified, which is a modest gap for a tool returning this much structure.

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 adds real meaning by explaining that publication_id restricts to one paper and where to obtain it (get_score), and by explaining how response_mode changes the payload shape (samplesets keyed by sampleset ID, samples inline in standard/full). The limit=1 counting trick is extra value not apparent from the schema.

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 (return published performance metrics of one score) and enumerates the payload: effect sizes (OR/HR/beta), classification accuracy (AUROC, C-index), evaluation sample sets and covariates. The publication_id sentence cross-references get_score for the source publication, which distinguishes its role from that sibling without needing 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?

Clear context for use: fetch per-score metrics, optionally narrowed to one paper via publication_id, with a documented limit=1 pattern for reading only `total`. It also tells the agent what happens for a score with no metrics (total 0) versus an unknown score or publication (not_found). It does not name an explicit alternative for other metric views, so it stops short of full when/when-not guidance.

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