Skip to main content
Glama

Check citizenship by descent

check_citizenship_by_descent
Read-only

Screen one country for possible citizenship eligibility through a parent, grandparent or great-grandparent. Returns the generation rule, likely timeline, difficulty, document pointers and country guide. This is an initial screen, not a legal determination; ancestry facts and records still need review.

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": {
      "country": "<country>",
      "generation": "<generation>"
    },
    "name": "check_citizenship_by_descent"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryYesCountry name or slug, e.g. "Panama" or "costa-rica".
generationYesClosest relevant ancestor generation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish readOnlyHint and openWorldHint=false, so the description's value is in disclosing what is returned (generation rule, timeline, difficulty, document pointers, country guide) and the important limitation that results are not a legal determination. That limitation is behavioral context an agent needs and is not present in any structured field. It stops short of 5 because there is no output schema, and the description only sketches the payload rather than fully characterizing its shape or reliability.

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?

Three sentences, front-loaded with scope and verb, followed by return contents and then the legal caveat. The closing 'ancestry facts and records still need review' largely restates the not-a-legal-determination point, which is the only mild redundancy.

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?

A single-country read-only screen with two fully described parameters is well served here: purpose, output contents, and the epistemic limit of the result are all covered. With no output schema, the description carries the return-value burden and does so adequately, though a fuller picture of the response payload would make it 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 coverage is 100%, with both required parameters fully documented including an enum for generation. The description reinforces scope ('one country') and maps the generation values onto the ancestry chain, but adds no format, edge-case, or default guidance beyond the schema. Baseline 3 applies when the schema already does the heavy lifting.

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 (screen) and a bounded resource (one country) and names the eligibility pathway (parent, grandparent or great-grandparent), so the agent knows exactly what the call produces. It does not explicitly differentiate itself from nearby tools such as get_country_profile or compare_passports, so it falls short of a 5.

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?

Usage is implied by the phrase 'initial screen, not a legal determination', which tells the agent this is a preliminary lookup rather than an authoritative answer. However, there is no explicit when-to-use/when-not guidance and no named alternative for deeper program research (e.g. search_programs or get_program), leaving routing to inference.

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.