Skip to main content
Glama

Brainy Prices — UAE Cost of Living

residence_visas

Read-onlyIdempotent

UAE residence visas by route: payer, requirements, fees, medical/insurance bands.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
route_idNo
page_sizeNo
include_common_feesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
  2. Changed16 schema fields changed
    • removedInput schema / properties / route_id / type
      Removed value: -"string"
    • removedOutput schema / $defs / Fee
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "alternative_id": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "amount_aed": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "amount_max_aed": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "fee_id": {
      -      "type": "string"
      -    },
      -    "optional": {
      -      "type": "boolean"
      -    },
      -    "percent": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "quote": {
      -      "type": "string"
      -    },
      -    "when": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    }
      -  },
      -  "required": [
      -    "fee_id",
      -    "quote",
      -    "amount_aed",
      -    "amount_max_aed",
      -    "percent",
      -    "when",
      -    "alternative_id",
      -    "optional"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / FeeCard / properties / fees / items / $ref
      Removed value: -"#/$defs/Fee"
    • addedOutput schema / $defs / FeeCard / properties / fees / items / additionalProperties
      Added value: +false
    • addedOutput schema / $defs / FeeCard / properties / fees / items / properties
      Added value: +{
      +  "alternative_id": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "amount_aed": {
      +    "type": [
      +      "number",
      +      "null"
      +    ]
      +  },
      +  "amount_max_aed": {
      +    "type": [
      +      "number",
      +      "null"
      +    ]
      +  },
      +  "fee_id": {
      +    "type": "string"
      +  },
      +  "optional": {
      +    "type": "boolean"
      +  },
      +  "percent": {
      +    "type": [
      +      "number",
      +      "null"
      +    ]
      +  },
      +  "quote": {
      +    "type": "string"
      +  },
      +  "when": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  }
      +}
    • addedOutput schema / $defs / FeeCard / properties / fees / items / required
      Added value: +[
      +  "fee_id",
      +  "quote",
      +  "amount_aed",
      +  "amount_max_aed",
      +  "percent",
      +  "when",
      +  "alternative_id",
      +  "optional"
      +]
    • addedOutput schema / $defs / FeeCard / properties / fees / items / type
      Added value: +"object"
    • removedOutput schema / $defs / ResidenceFeeItem
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "authority": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "card": {
      -      "anyOf": [
      -        {
      -          "$ref": "#/$defs/FeeCard"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "item_id": {
      -      "type": "string"
      -    },
      -    "paused_since": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "provenance": {
      -      "$ref": "#/$defs/Provenance"
      -    },
      -    "status": {
      -      "enum": [
      -        "ok",
      -        "paused"
      -      ],
      -      "type": "string"
      -    },
      -    "title": {
      -      "type": "string"
      -    },
      -    "url": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    }
      -  },
      -  "required": [
      -    "item_id",
      -    "title",
      -    "status",
      -    "authority",
      -    "url",
      -    "paused_since",
      -    "card",
      -    "provenance"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / ResidenceFeeItemListResponse
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "context": {
      -      "anyOf": [
      -        {
      -          "$ref": "#/$defs/ResidenceContext"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "data": {
      -      "items": {
      -        "$ref": "#/$defs/ResidenceFeeItem"
      -      },
      -      "type": "array"
      -    },
      -    "links": {
      -      "$ref": "#/$defs/Links"
      -    },
      -    "meta": {
      -      "$ref": "#/$defs/ResponseMeta"
      -    }
      -  },
      -  "required": [
      -    "meta",
      -    "context",
      -    "data",
      -    "links"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / ResidenceRoute / properties / paused_steps / items / properties / step_id / type
      Removed value: -"string"
    • removedOutput schema / $defs / ResidenceRoute / properties / payer / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
    • removedOutput schema / $defs / ResidenceRoute / properties / route_id / type
      Removed value: -"string"
    • removedOutput schema / $defs / ResidenceRouteListResponse
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "context": {
      -      "anyOf": [
      -        {
      -          "$ref": "#/$defs/ResidenceContext"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "data": {
      -      "items": {
      -        "$ref": "#/$defs/ResidenceRoute"
      -      },
      -      "type": "array"
      -    },
      -    "links": {
      -      "$ref": "#/$defs/Links"
      -    },
      -    "meta": {
      -      "$ref": "#/$defs/ResponseMeta"
      -    }
      -  },
      -  "required": [
      -    "meta",
      -    "context",
      -    "data",
      -    "links"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / ResidenceRouteResponse
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "context": {
      -      "$ref": "#/$defs/ResidenceContext"
      -    },
      -    "data": {
      -      "anyOf": [
      -        {
      -          "$ref": "#/$defs/ResidenceRoute"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "links": {
      -      "$ref": "#/$defs/Links"
      -    },
      -    "meta": {
      -      "$ref": "#/$defs/ResponseMeta"
      -    }
      -  },
      -  "required": [
      -    "meta",
      -    "data",
      -    "links"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / ToolFailure
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "error": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "code": {
      -          "type": "string"
      -        },
      -        "message": {
      -          "type": "string"
      -        },
      -        "retry_after_s": {
      -          "type": [
      -            "integer",
      -            "null"
      -          ]
      -        },
      -        "retryable": {
      -          "type": "boolean"
      -        }
      -      },
      -      "required": [
      -        "code",
      -        "message",
      -        "retryable",
      -        "retry_after_s"
      -      ],
      -      "type": "object"
      -    },
      -    "request_id": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    }
      -  },
      -  "required": [
      -    "error",
      -    "request_id"
      -  ],
      -  "type": "object"
      -}
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "$ref": "#/$defs/ResidenceRouteListResponse"
      -  },
      -  {
      -    "$ref": "#/$defs/ResidenceRouteResponse"
      -  },
      -  {
      -    "$ref": "#/$defs/ResidenceFeeItemListResponse"
      -  },
      -  {
      -    "$ref": "#/$defs/ToolFailure"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "context": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/ResidenceContext"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "data": {
      +        "items": {
      +          "$ref": "#/$defs/ResidenceRoute"
      +        },
      +        "type": "array"
      +      },
      +      "links": {
      +        "$ref": "#/$defs/Links"
      +      },
      +      "meta": {
      +        "$ref": "#/$defs/ResponseMeta"
      +      }
      +    },
      +    "required": [
      +      "meta",
      +      "context",
      +      "data",
      +      "links"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "context": {
      +        "$ref": "#/$defs/ResidenceContext"
      +      },
      +      "data": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/ResidenceRoute"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "links": {
      +        "$ref": "#/$defs/Links"
      +      },
      +      "meta": {
      +        "$ref": "#/$defs/ResponseMeta"
      +      }
      +    },
      +    "required": [
      +      "meta",
      +      "data",
      +      "links"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "context": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/ResidenceContext"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "data": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "authority": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "card": {
      +              "anyOf": [
      +                {
      +                  "$ref": "#/$defs/FeeCard"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "item_id": {
      +              "type": "string"
      +            },
      +            "paused_since": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "provenance": {
      +              "$ref": "#/$defs/Provenance"
      +            },
      +            "status": {
      +              "enum": [
      +                "ok",
      +                "paused"
      +              ]
      +            },
      +            "title": {
      +              "type": "string"
      +            },
      +            "url": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "item_id",
      +            "title",
      +            "status",
      +            "authority",
      +            "url",
      +            "paused_since",
      +            "card",
      +            "provenance"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "links": {
      +        "$ref": "#/$defs/Links"
      +      },
      +      "meta": {
      +        "$ref": "#/$defs/ResponseMeta"
      +      }
      +    },
      +    "required": [
      +      "meta",
      +      "context",
      +      "data",
      +      "links"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "type": "string"
      +          },
      +          "message": {
      +            "type": "string"
      +          },
      +          "retry_after_s": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "retryable": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message",
      +          "retryable",
      +          "retry_after_s"
      +        ],
      +        "type": "object"
      +      },
      +      "request_id": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "error",
      +      "request_id"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Added

TDQS

B3.4/5.0
Behavior3/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 behavior is covered structurally. The description adds only the content scope (medical/insurance bands, payer, requirements) and says nothing about pagination, result size, or freshness, which the annotations do not cover.

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?

A single compact, front-loaded phrase with no filler and the retrieval axis stated first. It is a verbless fragment, which slightly limits readability but not efficiency.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 values need no explanation, and all three inputs are optional. Still, with 0% parameter descriptions and no indication of how routes map to results or how common fees behave, the definition is only minimally sufficient for correct invocation.

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 0%, so the description must carry the burden. 'by route' gives route_id a purpose and the enum values are self-describing, but include_common_fees remains ambiguous (what counts as a 'common' fee) and page_size is only documented by its default/min/max in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource (UAE residence visas) and the axis of retrieval (by route) plus the data dimensions returned (payer, requirements, fees, medical/insurance bands), so an agent knows what it will get. It never distinguishes itself from plausible siblings such as move_to_dubai or costs_by_emirate, so it stops short of a 5.

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

Usage Guidelines3/5

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

'by route' implies the intended query pattern (select one of the route enum values), which is genuine but minimal usage guidance. There is no statement of when to prefer this over siblings like move_to_dubai, and no exclusions or prerequisites are given.

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