Skip to main content
Glama

Brainy Prices — UAE Cost of Living

residence_visas

Read-onlyIdempotent

Use when asked about UAE visa routes or fees. UAE residence visas by route: payer, requirements, fees, medical/insurance bands.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "residence_visas"
  }
}

Input Schema

NameRequiredDescriptionDefault
route_idNo
page_sizeNo
include_common_feesNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / anyOf
      Previous 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"
      -  }
      -]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"
      +  },
      +  {
      +    "required": [
      +      "error",
      +      "request_id"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed1 schema field changed
    • removedOutput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
  3. Changed1 schema field changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
  4. 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"
      +  }
      +]
  5. Added

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already establish that this is a safe, idempotent, read-only lookup, so the description does not need to repeat those traits. It adds useful domain context by saying results are organized by route and include fees and requirement bands, but it does not clarify default behavior when route_id is omitted or how page_size affects results.

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 description is short, front-loads the usage trigger, and avoids unnecessary prose. The second sentence is somewhat telegraphic, but the information is dense and relevant.

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?

Because an output schema exists and annotations cover the read-only safety profile, the description need not explain return values or side effects. However, for a tool with three undocumented parameters and zero schema description coverage, it should say more about route selection, pagination, and the include_common_fees option.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description barely compensates: "by route" vaguely maps to route_id, but neither page_size nor include_common_fees is explained. The enum values are self-descriptive, yet the filtering and pagination semantics remain undocumented in both schema and description.

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 identifies a specific resource (UAE residence visas) and the data it exposes (routes, payer, requirements, fees, medical/insurance bands). It is understandable without opening the schema, though it lacks an explicit verb and does not directly distinguish itself from possible sibling tools such as move_to_dubai.

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

Usage Guidelines4/5

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

It gives a clear trigger: "Use when asked about UAE visa routes or fees." It does not name alternatives or exclusion conditions, but within this catalog that is acceptable because no sibling is explicitly presented as a competing visa-route tool.

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