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.

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
    • removedOutput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
  3. 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"
      +  }
      +]
  4. Added

TDQS

B3/5.0
Behavior3/5

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

Annotations already establish that this is a read-only, idempotent, non-destructive lookup, so the description need not restate safety. It adds useful scope by listing the visa data dimensions, but says nothing about pagination, default behavior when no route is supplied, or how fees are included.

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 a single front-loaded sentence with no waste. It is appropriately terse, though that terseness contributes to the gaps in parameter and usage guidance.

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 not be explained, and annotations cover the safety profile. However, with three optional parameters at 0% schema coverage, the description should do more to explain route selection, pagination, and fee inclusion before an agent can call it confidently.

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%, so the description must compensate for all three parameters. It hints that route_id selects a visa route and that fees are part of the data, but it never explains page_size, include_common_fees, or what happens when route_id is omitted.

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 a specific resource, UAE residence visas, and states the data dimensions covered: payer, requirements, fees, and medical/insurance bands. It implies retrieval by route but does not use an explicit verb or differentiate from any sibling tool.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus alternatives, nor any stated prerequisites or exclusions. The phrase 'by route' hints that route selection matters, but the agent must infer usage entirely.

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