# Legal Fournier Agent Guide Legal Fournier is a Spain-focused law firm helping international clients with immigration, residency, nationality, tax, property, business, and administrative matters. The website is designed for human readers, search engines, and AI agents that need a structured way to find the right service or escalate to human legal review. ## Agent Reading Mode Public WordPress pages support Markdown negotiation. Send: ```http Accept: text/markdown ``` Expected response behavior: - HTML remains the default for browsers. - Markdown responses use `Content-Type: text/markdown`. - Markdown responses include `x-markdown-tokens` when available. - Public pages include `Content-Signal: ai-train=no, search=yes, ai-input=yes`. Use Markdown pages to summarize service copy, not to replace legal review. ## Structured Discovery - `https://legalfournier.com/llms.txt`: compact site guide for LLMs. - `https://legalfournier.com/.well-known/api-catalog`: RFC 9727-style API and discovery catalog. - `https://legalfournier.com/.well-known/openapi/spain-legal-api.json`: OpenAPI fallback for ChatGPT Actions, Zapier, Make, n8n, Relevance AI, and non-MCP agents. Screening endpoints are read-only; `createLegalFournierContactRequest` is consequential and requires explicit consent. - `https://legalfournier.com/openapi-commerce.json`: live quote, x402 payment, email-consultation, and paid-call request schemas. - `https://legalfournier.com/.well-known/mcp/server-card.json`: MCP transport, tools, prompts, resources, examples, and handoff metadata. - `https://legalfournier.com/.well-known/agent-skills/index.json`: agent skill discovery index. - `https://legalfournier.com/.well-known/agent-skills/spain-legal-mcp/SKILL.md`: skill instructions for the Spain Legal MCP. - `https://legalfournier.com/.well-known/agent-apps.json`: app names, connector names, descriptions, goals, and setup snippets for ChatGPT, Claude, Grok, Cursor, VS Code, Gemini, Claude Code, and MCP registries. - `https://legalfournier.com/agent-snippets/index.json`: install snippets for Cursor, VS Code/Copilot, Gemini CLI, Claude Code, ChatGPT Actions, Zapier, Make, and n8n. - `https://legalfournier.com/docs/spain-legal-agent-workflows.md`: example workflows and prompts for visa route, Beckham Law, NIE/TIE, autonomo vs SL, property cost, inheritance/wealth, and handoff. - `https://legalfournier.com/agent-assets/spain-legal-widget.js`: embeddable partner widget for selected public calculators and screeners. - `https://legalfournier.com/.well-known/legal-services.json`: service and guide catalog for routing user intent to website pages, MCP tools, and human intake. - `legalfournier://spain-legal/tools/catalog`: MCP resource mapping public Legal Fournier tools to direct MCP runs, workflows, and handoff triggers. - Localized MCP landing pages: `https://legalfournier.com/es/mcp/spain-legal/` and `https://legalfournier.com/fr/mcp/spain-legal/`. ## MCP First Workflow For Spain immigration, residency, nationality, NIE/TIE, Beckham, autonomo, property, business, wealth, remote-work, or related tax-regime questions, prefer the MCP endpoint: ```text https://legalfournier.com/mcp/spain-legal ``` Use these tools: - `find_legal_fournier_tool` for matching the user case to the best public Legal Fournier calculator or screener. - `run_legal_fournier_tool` for running the public calculator or screener intake layer directly inside MCP. - `get_paid_consultation_options` for live agent-paid email and 45-minute call offers, prices, and commerce endpoints. - `get_paid_call_availability` for live 45-minute call slots before requesting a quote. - `get_visa_options` for move-to-Spain, visa, work authorization, family route, and entrepreneur route screening. - `check_beckham_eligibility` for inbound tax-regime eligibility. - `get_residency_path` for renewals, long-term residence, nationality timing, EU family, and regularization paths. - `explain_nie_process` for NIE/TIE and administrative process orientation. - `compare_tax_regimes` for conceptual tax-regime comparison. - `route_to_legal_fournier_help` when the matter needs human review. - `create_legal_fournier_contact_request` only after the user explicitly asks Legal Fournier to contact them and consents to follow-up. Read returned decision traces, missing facts, legal sources, verification flags, and resource URIs before drafting a final answer. ## Agent-Paid Consultations Use `get_paid_consultation_options` for the current USDC prices and endpoints. For a call, use `get_paid_call_availability` first and present the selected slot to the user. Read `https://legalfournier.com/openapi-commerce.json` for the quote and payment request bodies. The MCP tools are read-only and never create an order, booking, or payment. Complete x402 only through the returned HTTPS commerce endpoint and only after explicit user authorization. ## Human Handoff Use human handoff when: - facts are incomplete and route selection depends on them - the matter involves deadlines, renewals, denial risk, absences, criminal records, litigation, or family dependency - the user is ready to file, renew, appeal, or make a business/tax decision - local appointment availability or office practice needs current verification - the question moves from general information to personalized legal or tax advice Preferred handoff routes: - Contact page: `https://legalfournier.com/en/contact/` - Booking page: `https://legalfournier.com/en/agent-book-consultation/` - MCP tool: `route_to_legal_fournier_help` - MCP paid-options tool: `get_paid_consultation_options` - MCP lead tool: `create_legal_fournier_contact_request` after explicit consent; it creates an agent lead for firm review. ## Core Service Routing - Beckham Law: `check_beckham_eligibility`, then `compare_tax_regimes` if needed. - Digital Nomad Visa: `get_visa_options`. - Non-Lucrative Visa: `get_visa_options`. - Student Visa: `get_visa_options`, then human review for renewal/modification timing. - Self-Employed Work Permit: `get_visa_options`. - Entrepreneur Visa and ENISA cases: `get_visa_options`, then human review. - Regularization or arraigo: `get_residency_path`. - NIE/TIE and appointments: `explain_nie_process`. - Autonomo and tax-regime orientation: `compare_tax_regimes`. - Healthcare professional immigration: start with `get_visa_options`, then hand off when credential or employer facts matter. ## Editorial Guardrails - Be explicit about uncertainty and missing facts. - Do not invent thresholds, fees, office availability, or appointment timing. - Cite official legal sources when the MCP returns them. - Use website pages for firm services and practical next steps. - Treat blog and service copy as general information. - Do not submit forms automatically or include unnecessary personal data in remote calls. - Do not send passport numbers, ID numbers, full addresses, or documents. Send phone or email only through the contact-request tool after explicit consent. ## Contact Facts - Firm: Legal Fournier - Website: `https://legalfournier.com/` - Office: Carrer de Corsega, 270, Entresuelo 4 - Oficina 2, 08008 Barcelona, Spain - Email: `info@legalfournier.com` - Phone: `+34 711 21 86 80` - Contact: `https://legalfournier.com/en/contact/`