Skip to main content
Glama

Search sample sets

search_sample_sets
Read-only

Find PGS sample sets by score, publication, or PubMed ID to identify participant groups and retrieve ancestry, age, follow-up, and cohort details.

Instructions

Search PGS sample sets (the groups of participants used to evaluate a score) by score, publication, or PubMed ID. Each sample set lists participant counts, ancestry breakdowns, age and follow-up data, and the cohorts involved.

Input Schema

NameRequiredDescriptionDefault
fullNoReturn the complete upstream record including every field. Verbose; use only when the compact projection is not enough.
pmidNoPubMed ID without the 'PMID:' prefix.
limitNoResults per page. The PGS Catalog default is 50 and the maximum is 250.
fieldsNoOptional comma-separated list of fields to return (dotted paths allowed, e.g. 'id,trait_reported,publication.title'). Omit for the default compact projection.
offsetNoZero-based offset into the full result set, used to page through matches.
pgp_idNoPGS Catalog Publication ID (PGP).
pgs_idNoPGS ID to list sample sets for.
pss_idsNoIDs to fetch, as a comma-separated string or an array of IDs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds genuinely useful context by stating what each result contains (participant counts, ancestry breakdowns, age/follow-up data, cohorts), which matters since there is no 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 tight sentences with the search purpose front-loaded and the payload description second. No filler, though the parenthetical definition of sample sets is the only mildly expendable element.

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 an eight-parameter read-only search with no output schema, the description covers the filtering axes and the shape of returned records, which is the key missing piece the schema cannot convey. It omits pagination/expansion behavior, but the schema documents full, fields, limit, and offset thoroughly.

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 coverage is 100%, so all eight parameters are already documented, including the full/fields/limit/offset paging controls. The description's mention of the three filter axes (score, publication, PubMed ID) maps onto pgs_id, pgp_id, and pmid but adds no syntax or format 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?

States a specific verb and resource (search PGS sample sets) and defines the domain concept parenthetically as the participant groups used to evaluate a score. This clearly separates it from the single-record get_sample_set sibling, though that sibling is never named.

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?

The search-by score, publication, or PMID framing implies when the tool is appropriate, but there is no explicit when-to-use guidance or pointer to alternatives such as get_sample_set for a known ID, or search_scores for related lookups.

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