Skip to main content
Glama

Compare countries or programs

compare
Read-only

Side-by-side comparison. Countries: pass 2 or more and a topic (e.g. tax_systems, cost_of_living, banking, safety, passport_power) for the source rows, or no topic for each country's headline summary. Programs: pass 2 to 8 program ids or names for minimums, citizenship time, stay rules, processing time and fees. Rankings: omit items and pass topic passport_power, crypto_adoption or human_freedom for the whole published ranking.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsNoCountries (e.g. ["Panama", "costa-rica"]) or programs (e.g. ["program:panama-pensionado", "Paraguay investor"]); do not mix the two.
topicNoFor countries: the dataset topic to compare on. Dataset topic, e.g. "tax_systems", "digital_nomad_visas" or "cost_of_living".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / topic / enum
      Previous value: -[
      -  "citizenship_residency_pathways",
      -  "digital_nomad_visas",
      -  "investor_visas",
      -  "retirement_visas",
      -  "physical_presence",
      -  "tax_systems",
      -  "banking",
      -  "property_tax",
      -  "inheritance_tax",
      -  "cost_of_living",
      -  "safety",
      -  "healthcare",
      -  "city_cost_of_living",
      -  "passport_power",
      -  "expat_index",
      -  "tax_blacklists",
      -  "private_clubs",
      -  "golf_courses",
      -  "military_service",
      -  "firearm_licensing",
      -  "crypto_adoption",
      -  "human_freedom",
      -  "city_safety",
      -  "citizenship_renunciation",
      -  "sovereignty_projects",
      -  "nomad_events",
      -  "citizenship_by_descent",
      -  "tax_savings_estimates"
      -]New value: +[
      +  "citizenship_residency_pathways",
      +  "digital_nomad_visas",
      +  "investor_visas",
      +  "retirement_visas",
      +  "physical_presence",
      +  "tax_systems",
      +  "banking",
      +  "property_tax",
      +  "inheritance_tax",
      +  "wealth_tax",
      +  "cost_of_living",
      +  "safety",
      +  "healthcare",
      +  "city_cost_of_living",
      +  "passport_power",
      +  "expat_index",
      +  "tax_blacklists",
      +  "private_clubs",
      +  "golf_courses",
      +  "military_service",
      +  "firearm_licensing",
      +  "crypto_adoption",
      +  "human_freedom",
      +  "city_safety",
      +  "citizenship_renunciation",
      +  "sovereignty_projects",
      +  "nomad_events",
      +  "citizenship_by_descent",
      +  "tax_savings_estimates"
      +]
  2. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds real behavioral value by disclosing what each mode returns (program minimums, citizenship time, stay rules, processing time, fees; country headline summaries) and by forbidding mixing countries and programs. However, it leaves the country upper bound, error behavior, and result shape unexplained.

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-loaded with the purpose, then three tight mode sentences, each opening with its mode label for easy scanning. Every sentence carries instruction. The one weakness is compression to the point of ambiguity in the rankings sentence, where 'omit items and pass topic ... for the whole published ranking' requires a re-read.

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?

Two optional parameters, no nested objects, no output schema, and the description covers all three call shapes plus the count constraints (2+, 2 to 8) and the no-mixing rule. It is nearly complete for this complexity; the only gap is the unstated upper limit on country items and the absence of any return-shape hint for the ranking mode.

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 the baseline is 3. The description does add genuine semantics the schema does not: what omitting topic means for countries versus rankings, and that items switches entity type between countries and program identifiers. That lifts it toward the top of the 3 band rather than above it, since the schema still carries the examples and the topic enumeration.

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 opens with a specific verb-and-resource ('Side-by-side comparison') and then enumerates three concrete comparison modes: countries, programs, and rankings. An agent can tell exactly what the tool produces. It stops short of naming any sibling tool (e.g. find_visas or search), so the differentiation is internal to the tool rather than against alternatives.

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?

Each mode carries an explicit invocation condition: 2+ countries plus a topic for source rows, no topic for headline summaries, 2-8 program ids for program metrics, and omit items plus a ranking topic for full rankings. That is strong when-to-use guidance. There is no when-not-to-use guidance or routing to a sibling for the cases this tool cannot cover.

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.