Skip to main content
Glama

Search immigration programs

search_programs
Read-only

Search the complete program catalog, including digital nomad, retirement, investor, residency-to-PR and citizenship pathways. Natural-language aliases such as "golden visa", "property residency", "pension visa" and "remote work visa" are recognized; the strongest matches rank first and explain why they matched. Returns compact canonical rows with program_ids for get_program.

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": "search_programs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many matching programs to return. Defaults to 25; count gives the total.
queryNoOptional words to find across program names and details, e.g. "property investment", "pension" or "naturalization".
countryNoCountry name or slug, e.g. "Panama" or "costa-rica".
program_typeNoOnly this program category. Defaults to "any".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/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 genuinely new behavior: alias recognition for terms like "golden visa" and "remote work visa", relevance ordering with an explanation of why each result matched, and the compact canonical row shape. It does not discuss paging beyond the limit parameter, but the added behavior well exceeds the annotation baseline.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three dense sentences, front-loaded with scope, then query behavior, then return shape and handoff. Every sentence carries information an agent needs and there is no filler.

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?

This is a read-only search with no output schema and four fully documented optional parameters. The description supplies the pieces structured data does not: matched-category scope, alias tolerance, ranking semantics, and the id handoff to get_program. 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.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description adds meaning beyond the schema by framing `query` as tolerant natural-language input (alias-aware matching across names and details), which is not obvious from the schema's literal example terms.

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?

The description names a specific verb and resource ("search the complete program catalog") and enumerates the covered categories (digital nomad, retirement, investor, residency-to-PR, citizenship). It also establishes the search-vs-fetch split by stating the result rows carry "program_ids for get_program", so an agent can tell this apart from the detail-lookup sibling.

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 gives clear usage context: free-form natural-language queries with aliases are accepted, results are relevance-ranked, and ids are then fed to get_program. It stops short of explicit when-not-to-use guidance or naming other candidate siblings such as compare_programs, so it sits at clear-context rather than full routing guidance.

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.