compare_properties
Compare 2–20 uniquely named properties in OMR using the same metrics; order by rounded net yield, preserving input order for ties.
When to use
Use when an agent must rank or choose between 2-20 candidate properties by net yield.
Selection guidance
Role: specialized. Use when an agent must rank or choose between 2-20 candidate properties by net yield.
Use cases
- property comparison
- ranking multiple properties
- portfolio shortlisting
- choosing between investment options
Access
- REST:
POST https://rafid-agent-api.vercel.app/api/v1/property/compare - x402:
POST https://rafid-agent-api.vercel.app/api/v1/x402/property/compare - MCP tool:
compare_properties
Price: $0.03 USD per call. Payment options are deployment-configured; inspect /api/v1/payment-methods. Prices and payment semantics are unchanged from the canonical registry.
Get the full result
0.03 USD per call
Pay with USDC · request an x402 challenge
curl -X POST 'https://rafid-agent-api.vercel.app/api/v1/x402/property/compare' -H 'Content-Type: application/json' --data '{"properties":[{"name":"A","propertyValue":85000,"annualRent":7200},{"name":"B","propertyValue":100000,"annualRent":7000}]}'Authorized x402 client · signed retry request
curl -X POST 'https://rafid-agent-api.vercel.app/api/v1/x402/property/compare' -H 'Content-Type: application/json' -H 'PAYMENT-SIGNATURE: <PAYMENT_SIGNATURE_FROM_AUTHORIZED_CLIENT>' -H 'X-Rafid-Payment-Journey: <PAYMENT_JOURNEY_FROM_CHALLENGE>' -H 'Idempotency-Key: <UNIQUE_REQUEST_ID>' --data '{"properties":[{"name":"A","propertyValue":85000,"annualRent":7200},{"name":"B","propertyValue":100000,"annualRent":7000}]}'Use an x402-compatible client to parse PAYMENT-REQUIRED and authorize payment before retrying the same input with PAYMENT-SIGNATURE. Copying a request does not pay.
No crypto wallet? Use Rafid Credits
curl -X POST 'https://rafid-agent-api.vercel.app/api/v1/property/compare' -H 'Content-Type: application/json' -H 'Authorization: Bearer <RAFID_API_KEY>' -H 'X-Rafid-Payment-Method: credits' -H 'Idempotency-Key: <UNIQUE_REQUEST_ID>' -H 'X-Rafid-Payment-Journey: <PAYMENT_JOURNEY_FROM_CHALLENGE>' --data '{"properties":[{"name":"A","propertyValue":85000,"annualRent":7200},{"name":"B","propertyValue":100000,"annualRent":7000}]}'Create an API key instantly via POST https://rafid-agent-api.vercel.app/api/v1/account/signup or at https://rafid-agent-api.vercel.app/get-started, then fund by card (Stripe) or USDC and save with monthly plans ($10–$500/mo).
Existing account balance: GET https://rafid-agent-api.vercel.app/api/v1/account/balance.
MCP Credits integration
POST https://rafid-agent-api.vercel.app/mcp/credits
Authorization: Bearer <OAUTH_ACCESS_TOKEN>
Idempotency-Key: <UNIQUE_REQUEST_ID>
Content-Type: application/json
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "compare_properties",
"arguments": {
"properties": [
{
"name": "A",
"propertyValue": 85000,
"annualRent": 7200
},
{
"name": "B",
"propertyValue": 100000,
"annualRent": 7000
}
]
}
}
}OAuth metadata: authorization server · protected resource. Operator authorization and an existing funded account are required; OAuth does not grant credits.
Payment instructions and onboarding · API docs and schemas
These are copyable API integration requests. They do not open a checkout or execute a paid tool.
Related tools
Example input
{
"properties": [
{
"name": "A",
"propertyValue": 85000,
"annualRent": 7200
},
{
"name": "B",
"propertyValue": 100000,
"annualRent": 7000
}
]
}Example output
{
"properties": [
{
"name": "A",
"propertyValue": 85000,
"annualRent": 7200,
"grossAnnualIncome": 7200,
"grossYield": 8.47,
"netYield": 8.47,
"annualOperatingCost": 0,
"annualNetIncome": 7200,
"effectiveAnnualRent": 7200,
"paybackYears": 11.81,
"grossYieldPct": 8.47,
"netYieldPct": 8.47,
"annualOperatingCosts": 0,
"currency": "OMR",
"note": "Calculations only; excludes financing, taxes, transaction fees and capital appreciation."
},
{
"name": "B",
"propertyValue": 100000,
"annualRent": 7000,
"grossAnnualIncome": 7000,
"grossYield": 7,
"netYield": 7,
"annualOperatingCost": 0,
"annualNetIncome": 7000,
"effectiveAnnualRent": 7000,
"paybackYears": 14.29,
"grossYieldPct": 7,
"netYieldPct": 7,
"annualOperatingCosts": 0,
"currency": "OMR",
"note": "Calculations only; excludes financing, taxes, transaction fees and capital appreciation."
}
],
"sortedByNetYield": [
"A",
"B"
]
}Input schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"properties": {
"minItems": 2,
"maxItems": 20,
"type": "array",
"items": {
"type": "object",
"properties": {
"propertyValue": {
"type": "number",
"minimum": 0.01,
"maximum": 1000000000000
},
"annualRent": {
"type": "number",
"minimum": 0,
"maximum": 1000000000000
},
"serviceCharge": {
"type": "number",
"minimum": 0,
"maximum": 1000000000000
},
"maintenanceCost": {
"type": "number",
"minimum": 0,
"maximum": 1000000000000
},
"maintenance": {
"description": "Legacy alias for maintenanceCost; supply only one",
"type": "number",
"minimum": 0,
"maximum": 1000000000000
},
"vacancyRatePct": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"otherAnnualCosts": {
"type": "number",
"minimum": 0,
"maximum": 1000000000000
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120
}
},
"required": [
"propertyValue",
"annualRent",
"name"
],
"additionalProperties": false
}
}
},
"required": [
"properties"
],
"additionalProperties": false
}Output schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"properties": {
"type": "array",
"items": {
"type": "object",
"properties": {
"propertyValue": {
"type": "number"
},
"annualRent": {
"type": "number"
},
"grossAnnualIncome": {
"type": "number"
},
"grossYield": {
"type": "number"
},
"netYield": {
"type": "number"
},
"annualOperatingCost": {
"type": "number"
},
"annualNetIncome": {
"type": "number"
},
"effectiveAnnualRent": {
"type": "number"
},
"paybackYears": {
"type": [
"number",
"null"
]
},
"grossYieldPct": {
"type": "number"
},
"netYieldPct": {
"type": "number"
},
"annualOperatingCosts": {
"type": "number"
},
"currency": {
"type": "string",
"const": "OMR"
},
"note": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"propertyValue",
"annualRent",
"grossAnnualIncome",
"grossYield",
"netYield",
"annualOperatingCost",
"annualNetIncome",
"effectiveAnnualRent",
"paybackYears",
"grossYieldPct",
"netYieldPct",
"annualOperatingCosts",
"currency",
"note",
"name"
],
"additionalProperties": false
}
},
"sortedByNetYield": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"properties",
"sortedByNetYield"
],
"additionalProperties": false
}Category: Property Intelligence · hierarchy: specialized · idempotent: yes · side effects: no