Skip to main content
Glama

genealogy-mcp-server

Read WikiTree Relatives

genealogy_get_relatives
Read-onlyIdempotent

Trace parents or children by generation, or read immediate parents, siblings, spouses, and children with recorded marriages. Continue with next_offset when present. Use genealogy_find_common_ancestors to compare two pedigrees.

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": {
      "id": "<id>",
      "direction": "<direction>"
    },
    "name": "genealogy_get_relatives"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesWikiTree numeric ID, page name, or profile link from genealogy_search_profiles.
limitNoMaximum visible relatives per page, capped at 1,000.
offsetNoVisible row offset. Use next_offset from the previous result.
directionYesFollow parents, children, or immediate family roles.
generationsNoPedigree depth, default 3 and maximum 25 for ancestors or 10 for descendants. Omit for family.

Output Schema

NameRequiredDescriptionDefault
rootNoVisible profile that anchors the walk.
errorNoPresent when the call failed. Absent on success.
foundNoFalse when the starting profile cannot be shown.
limitNoMaximum visible relatives requested.
offsetNoVisible row offset on this page.
peopleNoVisible relatives on this page. Pedigree rows are ordered by the upstream page where their visible path is first established.
sourceNoThe WikiTree shared tree.
noticesNoPagination adjustments.
guidanceNoHow to find a visible starting profile.
has_moreNoWhether another visible page is available.
directionNoDirection traversed.
marriagesNoMarriage information for visible spouses on this page.
open_endsNoUnavailable parent slots for the root and relevant people on this page.
generationsNoDepth requested for the pedigree walk.
next_offsetNoOffset for the next page.
total_returnedNoNumber of visible relatives on this page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and openWorld, so the safety profile is covered. The description adds value beyond them by disclosing pagination behavior (next_offset continuation) and a data caveat that marriages appear only when 'recorded', which hints at partial results. It stops short of describing visibility/privacy limits on living or private profiles, which matters for an openWorld genealogy read.

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?

Three tight sentences with zero filler: capability first, continuation rule second, alternative third. Nothing is repeated from the title or schema.

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 an output schema, full parameter documentation, and read-only annotations, the description covers what an agent needs to choose and call the tool. The only residual gap is behavior around missing, private, or unrecorded relatives, which is not addressed and is relevant given openWorldHint.

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, but the description genuinely adds semantic mapping: 'by generation' ties to the generations depth parameter, the enumerated family roles describe what direction='family' returns, and next_offset ties to offset. It does not restate the limit cap or the ancestor/descendant depth asymmetry, which the schema already handles.

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 names a specific verb and resource ('Trace parents or children', 'read immediate parents, siblings, spouses, and children') and splits the behavior into the two modes that map to the direction enum. It also names the sibling it is not (genealogy_find_common_ancestors for pedigree comparison), so an agent can distinguish it without opening 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?

It gives explicit routing guidance for one alternative ('Use genealogy_find_common_ancestors to compare two pedigrees') and a continuation rule ('Continue with next_offset when present'). It does not state exclusions against the other profile/search siblings, but the mode split makes the intended use clear.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.