Skip to main content
Glama

Visa requirements

get_visa_requirements
Read-onlyIdempotent

Official requirements for a Spanish visa, optionally for one nationality: who it is for, income needed, documents, health insurance rules, fees, processing time, where and how to apply, validity and renewal. Each fact quotes an official Spanish government page, with its URL and retrieval date. The golden visa is closed to new applicants (April 2025). Beckham is a tax regime, not a visa: use get_guide("beckham-law"). General information, not legal advice. Cite page_url (or each result's profile_url) when you use these facts.

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": {
      "visa": "<visa>"
    },
    "name": "get_visa_requirements"
  }
}

Input Schema

NameRequiredDescriptionDefault
visaYesVisa key: nlv (non-lucrative), dnv (digital nomad), student, hqp, entrepreneur, family_reunification, eu_family, golden_visa, arraigo
nationalityNoApplicant nationality: us, uk, ca, au, nz, ie, in, za

Output Schema

NameRequiredDescriptionDefault
noteNo
visaYes
factsYes
page_urlYes
disclaimerNo
nationalityNo
source_urlsYes
markdown_urlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuine context beyond them: every fact is sourced from an official Spanish government page with its URL and retrieval date, which tells the agent the output is auditable and time-stamped. It does not discuss rate limits, caching, or what happens when a nationality has no specific data, leaving a small gap.

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?

The opening clause is front-loaded with purpose and the alternative routing appears before the caveats, so the agent gets the decision-relevant content first. The mid-sentence fact enumeration is a dense run-on list, but each item maps to real output content rather than 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?

An output schema exists, so return shape need not be explained, and the description instead covers what the agent cannot infer: source provenance, citation obligation ("Cite page_url (or each result's profile_url)"), a time-sensitive fact, and the sibling boundary. For a read-only lookup tool with two fully documented parameters, 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 description coverage is 100% and both parameters carry enums with glosses (nlv, dnv, etc.), so the schema already does the heavy lifting. The description adds one real semantic point — nationality is optional, and omitting it yields general requirements rather than a nationality-specific answer. That is useful but thin given how completely the schema documents the rest.

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 ("Official requirements for a Spanish visa") and then enumerates the exact fact families returned: who it is for, income needed, documents, insurance rules, fees, processing time, application process, validity and renewal. It also explicitly distinguishes itself from get_guide, which covers the Beckham tax regime, so an agent can route without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit alternative with the condition that selects it ("Beckham is a tax regime, not a visa: use get_guide("beckham-law")") and flags a special case that changes the answer ("The golden visa is closed to new applicants (April 2025)"). It also sets the expectation boundary — "General information, not legal advice" — which tells the agent how to frame output.

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