{"openapi":"3.1.0","info":{"title":"MRK Dubai Property API","description":"Dubai real estate facts, glossary and calculators exposed via MCP and REST.","version":"1.0.0","contact":{"email":"info@mrk.ae","url":"https://mrk.ae"}},"servers":[{"url":"https://mrk.ae","description":"Production"}],"paths":{"/api/mcp/call/search_glossary":{"post":{"summary":"Search the Dubai real estate glossary","description":"Find definitions and explanations for Dubai real estate terms.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","example":"Ejari"}},"required":["query"]}}}},"responses":{"200":{"description":"Glossary results","content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string"},"resultCount":{"type":"number"},"results":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"term":{"type":"string"},"definition":{"type":"string"},"category":{"type":"string"},"relatedTerms":{"type":"array","items":{"type":"string"}}}}}}}}}}}}},"/api/mcp/call/get_dubai_community_facts":{"post":{"summary":"Get facts about a Dubai community","description":"Retrieve price per sqft, rental yield and investment thresholds.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"community":{"type":"string","example":"dubai-marina"}},"required":["community"]}}}},"responses":{"200":{"description":"Community facts","content":{"application/json":{"schema":{"type":"object","properties":{"community":{"type":"string"},"pricePerSqft":{"type":"number"},"rentalYieldPct":{"type":"number"},"goldenVisaQualifying":{"type":"boolean"},"minInvestmentAed":{"type":"number"}}}}}}}}},"/api/mcp/call/calculate_dld_buying_costs":{"post":{"summary":"Calculate DLD transfer fees and total buying costs","description":"Compute all fees involved in a Dubai property purchase.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"priceAed":{"type":"number","example":1500000},"withMortgage":{"type":"boolean","example":true}},"required":["priceAed"]}}}},"responses":{"200":{"description":"Buying costs breakdown","content":{"application/json":{"schema":{"type":"object","properties":{"priceAed":{"type":"number"},"totalCosts":{"type":"number"},"totalWithProperty":{"type":"number"}}}}}}}}},"/api/mcp/call/check_golden_visa_eligibility":{"post":{"summary":"Check Golden Visa eligibility for a property investment","description":"Determine if a property purchase qualifies for UAE 10-year Golden Visa.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"propertyValueAed":{"type":"number","example":2000000},"financed":{"type":"boolean","example":false}},"required":["propertyValueAed"]}}}},"responses":{"200":{"description":"Golden Visa eligibility","content":{"application/json":{"schema":{"type":"object","properties":{"qualifies":{"type":"boolean"},"threshold":{"type":"number"},"validityYears":{"type":"number"}}}}}}}}},"/api/mcp/call/get_rent_cap_increase":{"post":{"summary":"Calculate maximum legal rent increase per RERA Decree 43/2013","description":"Determine how much a landlord can legally increase rent based on market conditions.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"currentRentAed":{"type":"number","example":60000},"marketAverageAed":{"type":"number","example":75000}},"required":["currentRentAed","marketAverageAed"]}}}},"responses":{"200":{"description":"Rent cap calculation","content":{"application/json":{"schema":{"type":"object","properties":{"currentRentAed":{"type":"number"},"maxLegalIncreasePct":{"type":"number"},"newMaxRentAed":{"type":"number"},"rule":{"type":"string"}}}}}}}}}}}