Skip to main content
Glama

Brainy Prices — UAE Cost of Living

fx_rates

Read-onlyIdempotent

AED exchange rates (CBUAE, dated). Not bank quotes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
currencyNo

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. Changed7 schema fields changed
    • removedOutput schema / $defs / FxRates
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "base": {
      -      "const": "AED"
      -    },
      -    "provenance": {
      -      "$ref": "#/$defs/Provenance"
      -    },
      -    "published_label": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "rates": {
      -      "items": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "aed_per_unit": {
      -            "type": "number"
      -          },
      -          "currency": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "currency",
      -          "aed_per_unit"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "rates_on": {
      -      "type": "string"
      -    },
      -    "unit": {
      -      "const": "AED per 1 unit of currency"
      -    }
      -  },
      -  "required": [
      -    "base",
      -    "unit",
      -    "rates_on",
      -    "published_label",
      -    "rates",
      -    "provenance"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / FxRatesResponse
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "data": {
      -      "anyOf": [
      -        {
      -          "$ref": "#/$defs/FxRates"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "links": {
      -      "$ref": "#/$defs/Links"
      -    },
      -    "meta": {
      -      "$ref": "#/$defs/ResponseMeta"
      -    }
      -  },
      -  "required": [
      -    "meta",
      -    "data",
      -    "links"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / Links
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "docs": {
      -      "type": "string"
      -    },
      -    "next": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "open_in_browser": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "self": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "self",
      -    "next",
      -    "open_in_browser",
      -    "docs"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / Provenance
      Removed value: -{
      -  "additionalProperties": true,
      -  "required": [
      -    "source_id",
      -    "license_id",
      -    "source_url",
      -    "observed_on",
      -    "observed_at",
      -    "published_on",
      -    "published_at",
      -    "retrieved_at",
      -    "stale",
      -    "status",
      -    "paused_since",
      -    "flags"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / ResponseMeta
      Removed value: -{
      -  "additionalProperties": true,
      -  "required": [
      -    "api_version",
      -    "content_language",
      -    "generated_at",
      -    "currency",
      -    "attribution",
      -    "disclaimer",
      -    "dataset",
      -    "page"
      -  ],
      -  "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/FxRatesResponse"
      -  },
      -  {
      -    "$ref": "#/$defs/ToolFailure"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "base": {
      +                "const": "AED"
      +              },
      +              "provenance": {
      +                "additionalProperties": true,
      +                "required": [
      +                  "source_id",
      +                  "license_id",
      +                  "source_url",
      +                  "observed_on",
      +                  "observed_at",
      +                  "published_on",
      +                  "published_at",
      +                  "retrieved_at",
      +                  "stale",
      +                  "status",
      +                  "paused_since",
      +                  "flags"
      +                ],
      +                "type": "object"
      +              },
      +              "published_label": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "rates": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "aed_per_unit": {
      +                      "type": "number"
      +                    },
      +                    "currency": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "currency",
      +                    "aed_per_unit"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "rates_on": {
      +                "type": "string"
      +              },
      +              "unit": {
      +                "const": "AED per 1 unit of currency"
      +              }
      +            },
      +            "required": [
      +              "base",
      +              "unit",
      +              "rates_on",
      +              "published_label",
      +              "rates",
      +              "provenance"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "links": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "docs": {
      +            "type": "string"
      +          },
      +          "next": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "open_in_browser": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "self": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "self",
      +          "next",
      +          "open_in_browser",
      +          "docs"
      +        ],
      +        "type": "object"
      +      },
      +      "meta": {
      +        "additionalProperties": true,
      +        "required": [
      +          "api_version",
      +          "content_language",
      +          "generated_at",
      +          "currency",
      +          "attribution",
      +          "disclaimer",
      +          "dataset",
      +          "page"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "meta",
      +      "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.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so the safety profile is covered. The description adds real value beyond that by disclosing data provenance (CBUAE official source) and a precision caveat ('not bank quotes'), but it says nothing about how 'dated' rates behave — whether a date range is returned, how stale they get, or whether a currency-specific series exists.

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?

Two short fragments, front-loaded with the resource and free of filler. It is efficient but sits near the boundary of under-specification rather than true conciseness, since the brevity is bought at the cost of parameter and usage detail.

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-value shape need not be explained, and annotations cover the safety profile. What remains missing for an agent to call this correctly is the meaning/default of the single optional `currency` parameter and any positive usage trigger — gaps that a one-line addition could close.

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 carries the full burden, and it never mentions the `currency` parameter. Only implied: that AED is the base and the parameter selects the quote currency. It does not state that the parameter is optional, what the default/omitted behavior is, or that values must be ISO 4217 three-letter codes (the schema enforces the pattern but does not name it).

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?

States a specific resource (AED exchange rates) plus a concrete provenance qualifier (CBUAE) and a data-freshness cue (dated), so the agent knows exactly what data this returns. There is no FX sibling to differentiate from, so the missing explicit routing is not a defect, but the terse noun-phrase style leaves the purpose slightly under-articulated.

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?

'Not bank quotes' functions as an implicit when-not boundary, steering the agent away from using this for retail/bank counter rates. However, there is no positive trigger ('use for official reference/conversion rates'), no statement of update cadence, and no guidance on calling it versus just hardcoding a rate, so usage is only implied.

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