Skip to main content
Glama
ianderso
by ianderso

verify_tree

Read-only

Audit an entire family tree for genealogical impossibilities like parents too young, marriages too long, or unreadable dates, catching errors citations cannot.

Instructions

Run Gramps' own genealogical plausibility checks over the whole tree.

This is a different audit from the citation ones. list_unsourced_facts asks whether a claim has evidence; this asks whether a claim is possible — a mother bearing a child at nine, a marriage lasting 120 years, a date that will not parse. A wrong date can be impeccably sourced, so these catch what a citation sweep cannot.

Leave the thresholds alone on a first run; the server's defaults are the conventional ones. Tighten a specific bound when chasing a specific class of error.

May run in the background, in which case a task_id comes back — poll it with get_task.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tree_idNoTree to check. Leave empty to use the tree these credentials are bound to, which is the usual case.
max_spousesNoFlag more spouses than this. Server default 3.
estimate_ageNoEstimate missing or inexact dates when checking ages. Finds more, at the cost of guessing.
max_father_ageNoFlag a father older than this. Server default 65.
max_mother_ageNoFlag a mother older than this. Server default 48.
min_father_ageNoFlag a father younger than this. Server default 18.
min_mother_ageNoFlag a mother younger than this. Server default 17.
max_age_at_deathNoFlag a death later than this age. Server default 90.
max_age_to_marryNoFlag a marriage older than this. Server default 50.
min_age_to_marryNoFlag a marriage younger than this. Server default 17.
flag_invalid_datesNoReport dates the parser cannot read.
max_children_fatherNoFlag a man with more children than this. Default 15.
max_children_motherNoFlag a woman with more children than this. Default 12.
max_widowhood_yearsNoFlag a longer widowhood before remarriage. Default 30.
max_child_birth_spanNoFlag a longer span of one couple's births. Default 25.
max_husband_wife_age_gapNoFlag a wider spousal age gap. Server default 30.
max_years_between_childrenNoFlag a longer gap between siblings. Default 8.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/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), so the bar is lower, and the description adds real behavioral context: runs may be asynchronous and return a task_id to poll via get_task. It does not describe the shape of the findings or whether results are paginated, which keeps it out of the top band.

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 core action, then uses short paragraphs to separate the sibling contrast, the threshold advice, and the async note. Slightly verbose in the explanatory middle paragraph, but each sentence carries a distinct instruction.

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 a 17-parameter, no-output-schema check tool, the description covers purpose, routing, tuning advice and the async return path. The only gap is the format of the flagged findings, which an agent might reasonably want before invoking.

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% and each of the 17 parameters is individually documented, so the baseline is 3. The description adds cross-parameter guidance the schema cannot: thresholds are conventional server defaults and should be left alone unless targeting a specific error class, and estimate_age trades coverage for guessing.

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 ('run genealogical plausibility checks over the whole tree') and explicitly distinguishes itself from the citation-oriented sibling list_unsourced_facts by contrasting 'has evidence' with 'is possible'. An agent can pick this over other audit-style tools without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use vs the closest alternative, plus concrete operational guidance: leave thresholds at defaults on a first run, tighten one bound only when chasing a specific error class, and poll get_task when the run goes to the background. Nothing essential is left to inference.

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