Skip to main content
Glama

Brainy Prices — UAE Cost of Living

fx_rates

Read-onlyIdempotent

Use when asked about AED exchange rates; e.g. {"currency":"USD"}. Dated ECB-based AED FX rates. Not bank quotes.

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": "fx_rates"
  }
}

Input Schema

NameRequiredDescriptionDefault
currencyNo

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": {
      -      "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"
      -  }
      -]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"
      +  },
      +  {
      +    "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. 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"
      +  }
      +]
  5. Added

TDQS

A3.8/5.0
Behavior4/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 the safety profile is covered. The description adds value beyond that by disclosing the data source (ECB) and a fidelity caveat ('Not bank quotes'), which is the key behavioral fact for an FX lookup. It does not say how fresh the rates are or what happens when currency is omitted.

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?

Three short clauses, front-loaded with the usage trigger. One minor inefficiency: the inline JSON example duplicates the schema's pattern constraint, though it is the only concrete signal about accepted values.

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. The remaining gaps are the base/quote direction of the rate, rate freshness (no date parameter, 'Dated' is unexplained), and default currency behavior — all material for an FX tool.

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 coverage is 0% for the single optional parameter, so the description must carry the load. The inline example {"currency":"USD"} does convey format and a sample value, matching the ^[A-Z]{3}$ pattern. However, it never says what the default is when currency is omitted, or whether the rate is expressed per AED or to AED.

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) and pins the data provenance (ECB-based) plus a negative qualifier ('Not bank quotes'), so an agent knows exactly what it gets. It does not name a sibling, but the sibling list contains no other FX tool, so differentiation is less critical here.

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?

'Use when asked about AED exchange rates' gives an explicit trigger phrase, and 'Not bank quotes' sets expectations about when the result is inappropriate (e.g. commercial settlement). No alternative tool or fallback is offered, and there is no guidance on the no-parameter case.

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