Skip to main content
Glama

GoThere Citizenship by Descent

check_descent_eligibility

Read-onlyIdempotent

Check whether a person qualifies for citizenship by descent.

Give the user's direct ancestral line, one entry per generation, starting
with relation='self'. Every generation between the user and the ancestor
must be present even if little is known about them, because descent passes
generation by generation and a gap changes the answer.

Ask for exact dates where you can. Year-only input is accepted but the
result will carry a caveat, and for Ireland a registration and a birth in
the same year cannot be resolved at all.

Args:
    country: ISO 3166-1 alpha-2, lowercase. Currently 'ie' or 'ca'.
    line: The direct line, from the user upward.
    as_of: Evaluation date. Defaults to today. Rules with commencement
        dates (Canada's Bill C-3) depend on it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lineYes
as_ofNo
countryYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
caveatsNoApproximations and unresolvable ambiguities in the input. Relay these.
missingNo
verdictYesOne-line plain reading of the confidence band.
blockersNo
rationaleYes
confidenceYesgreen, yellow, or red
disclaimerYes
learn_moreYes
pathway_idYes
next_actionNo
country_codeYes
supporting_factsNo
rules_verified_as_ofYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources