Skip to main content
Glama

Get residency programs

get_residency_programs
Read-onlyIdempotent

Use for 'how do I get residency in X' — e.g. 'Paraguay tax residency requirements', 'Portugal golden visa program', 'UAE digital nomad residency', 'Prospera tax residency'. Give the country (ISO-3166 code or English name; 'Prospera' resolves to Honduras and returns the Próspera zone program when category is omitted), optional category filter (temporary | permanent | investor | digital_nomad). Returns program names, requirements, benefits, cost, time to citizenship, minimum presence, and tax implications, with sources, last_verified and a confidence level per program. Cost: minimum_investment and annual_cost are the source's wording (an investment or income threshold, often in local currency) and are what to quote; fees.setup and fees.recurring are USD numbers only for the few programs that publish their own fees, and null otherwise (null is not zero).

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>"
    },
    "name": "get_residency_programs"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryYesCountry to get residency programs for: ISO-3166 alpha-2/alpha-3 code or English name, e.g. 'PY', 'PRY', 'Paraguay'. 'Prospera' resolves to Honduras.
categoryNoReturn only programs of this kind. Omit to get every program on file.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description goes well beyond them: it discloses the returned fields, the presence of sources and last_verified plus a per-program confidence level, and a subtle data-quality rule that null fees mean 'not published', not zero. That null-vs-zero warning is exactly the kind of trait an agent would otherwise get wrong.

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-loading the trigger query is effective and the cost-semantics sentence earns its length. However the whole definition is a single dense block with stacked parentheticals, and the Prospera/Honduras note duplicates what the schema already says, costing some economy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description carries the full burden of describing the response, and it does: program names, requirements, benefits, cost, time to citizenship, minimum presence, tax implications, plus provenance and confidence. Combined with the input schema and read-only annotations, nothing needed to call it correctly is missing.

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%, so both params are already documented, including the Prospera-to-Honduras resolution which the description repeats. The only genuine addition is that omitting category returns the Próspera zone program specifically and that omitting it returns every program on file, which is modest value over the free-text enum description.

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?

The description names the resource (residency programs) and anchors it with concrete query examples ('Paraguay tax residency requirements', 'Portugal golden visa'), and the return sentence enumerates what a program record contains. It stops short of distinguishing itself from the closest sibling, get_visa_requirements, which an agent could easily confuse with residency programs.

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 opens with an explicit trigger phrase ('Use for how do I get residency in X') and explains the category-omission behavior (omit to get every program on file). No exclusion or alternative is named, so the agent gets clear context but no rule for choosing this over the visa or eligibility tools.

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.

Resources