Skip to main content
Glama
dna-seq
by dna-seq

Search traits

search_traits
Read-onlyIdempotent

Find traits in the PGS Catalog by matching term against labels and synonyms, retrying punctuation or order variants, and returning counts of associated PGS IDs.

Instructions

Search the PGS Catalog REST API for traits by term.

Upstream matching is exact-substring over labels and synonyms, so this wrapper retries a few punctuation/order variants when the first query is empty. By default, results include counts of directly associated PGS IDs and child-trait PGS IDs; set include_pgs_ids for the full arrays.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
termYes
limitNo
include_pgs_idsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint, so the description only needs to add context beyond that. It explains the exact-substring matching and retry of variants, which is useful. It also clarifies default output (counts of PGS IDs) and how to get full arrays via include_pgs_ids, adding behavioral nuance not covered by 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?

The description is two sentences long, front-loaded with the purpose and then providing helpful behavioral details. No unnecessary information or redundancy—every sentence earns its place.

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?

With an output schema present, the description does not need to explain return values. It covers the core behavior (matching, retry, default counts), and the parameter effect for include_pgs_ids. For a simple read-only search tool, this is sufficiently complete.

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 0% because the description does not explain term or limit. It does explain include_pgs_ids partially by describing 'full arrays.' However, term is self-evident from context, and limit remains unaddressed. Given the low coverage, the description should compensate more; it only partially does for include_pgs_ids, so a baseline 3 is appropriate.

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 clearly states 'Search the PGS Catalog REST API for traits by term,' specifying the verb (search), resource (traits), and scope (by term). It distinguishes itself from sibling tools like search_scores (for scores) and trait_info (likely for specific trait details), making the purpose unambiguous.

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 implies usage for finding traits by term but does not explicitly contrast with alternatives like trait_info or mention when not to use it. It provides context about matching behavior but lacks direct exclusions or alternative recommendations, though the purpose is clear enough.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dna-seq/just-prs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server