Skip to main content
Glama
ianderso
by ianderso

get_ydna

Read-only

Report a person's Y-DNA haplogroup from broadest clade to terminal, and flag when no Y-DNA data is recorded.

Instructions

Report a person's Y-DNA haplogroup, from broadest clade to terminal.

Y-DNA follows the direct paternal line only, so it speaks to one thread of a tree and is silent on every other. A shared terminal clade indicates a common paternal ancestor, usually far further back than any record reaches — it corroborates a surname line rather than proving a named link.

has_data is false when the person has no Y-DNA recorded, which is the normal case.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
personYesHandle or gramps_id of the tested person.
include_rawNoInclude the raw SNP data string.

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 cover the safety profile (readOnlyHint=true, openWorldHint=false). The description adds genuinely useful behavioral context: the has_data flag is false when no Y-DNA is recorded, which the text flags as the normal case — sparing the agent from treating an empty result as an error.

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-loads the purpose, then layers scoping and interpretation. The domain exposition is slightly long for a lookup tool, but each sentence carries meaning and the has_data caveat is placed usefully at the end.

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?

There is no output schema, and the description compensates by naming the has_data output signal and what a shared terminal clade means. For a read-only two-parameter lookup this is close to complete, with only the include_raw return shape left implicit.

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%, so both parameters are fully documented by the schema itself. The description adds no syntax or format detail beyond that, so the baseline 3 applies.

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 — reports a person's Y-DNA haplogroup — and adds scope detail (broadest clade to terminal). It is clearly distinct from the DNA-matching siblings (get_dna_matches, parse_dna_segments) by domain, though it does not name any sibling explicitly.

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?

Provides interpretive context about what Y-DNA does and does not tell you (paternal line only, corroborates a surname rather than proving a named link), which implies when the result is meaningful. However, it never states when to choose this over the other DNA tools or what prerequisites exist — usage is implied rather than explicit.

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