Skip to main content
Glama

Brainy Prices — UAE Cost of Living

fuel_prices

Read-onlyIdempotent

UAE petrol/diesel prices this month and last, change, 50/70 L tank cost, history.

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

Input Schema

NameRequiredDescriptionDefault
toNo
fromNo
sortNo-month
cursorNo
page_sizeNo
include_historyNo

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. Changed8 schema fields changed
    • removedInput schema / properties / sort / type
      Removed value: -"string"
    • removedOutput schema / $defs / FuelContext
      Removed value: -{
      -  "additionalProperties": true,
      -  "required": [
      -    "tolls",
      -    "parking",
      -    "public_transport"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / FuelPriceHistoryResponse
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "data": {
      -      "items": {
      -        "$ref": "#/$defs/FuelPriceMonth"
      -      },
      -      "type": "array"
      -    },
      -    "links": {
      -      "$ref": "#/$defs/Links"
      -    },
      -    "meta": {
      -      "$ref": "#/$defs/ResponseMeta"
      -    }
      -  },
      -  "required": [
      -    "meta",
      -    "data",
      -    "links"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / FuelPriceMonth
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "month": {
      -      "type": "string"
      -    },
      -    "prices": {
      -      "$ref": "#/$defs/FuelGradePrices"
      -    },
      -    "provenance": {
      -      "$ref": "#/$defs/Provenance"
      -    }
      -  },
      -  "required": [
      -    "month",
      -    "prices",
      -    "provenance"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / FuelPrices
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "announcement": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "published_at": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "publisher": {
      -          "type": "string"
      -        },
      -        "url": {
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "publisher",
      -        "url",
      -        "published_at"
      -      ],
      -      "type": [
      -        "object",
      -        "null"
      -      ]
      -    },
      -    "change": {
      -      "anyOf": [
      -        {
      -          "$ref": "#/$defs/FuelGradePrices"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "history_summary": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "from": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "missing_months": {
      -          "type": "integer"
      -        },
      -        "to": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "tracked_months": {
      -          "type": "integer"
      -        }
      -      },
      -      "required": [
      -        "tracked_months",
      -        "from",
      -        "to",
      -        "missing_months"
      -      ],
      -      "type": "object"
      -    },
      -    "missing_months": {
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "month": {
      -      "type": "string"
      -    },
      -    "previous": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "month": {
      -          "type": "string"
      -        },
      -        "prices": {
      -          "$ref": "#/$defs/FuelGradePrices"
      -        }
      -      },
      -      "required": [
      -        "month",
      -        "prices"
      -      ],
      -      "type": [
      -        "object",
      -        "null"
      -      ]
      -    },
      -    "prices": {
      -      "$ref": "#/$defs/FuelGradePrices"
      -    },
      -    "provenance": {
      -      "$ref": "#/$defs/Provenance"
      -    },
      -    "tank_costs": {
      -      "items": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "diesel_aed": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "eplus91_aed": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "special95_aed": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "super98_aed": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "tank_litres": {
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "tank_litres",
      -          "super98_aed",
      -          "special95_aed",
      -          "eplus91_aed",
      -          "diesel_aed"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "transport_context": {
      -      "$ref": "#/$defs/FuelContext"
      -    },
      -    "unit": {
      -      "const": "AED per litre"
      -    }
      -  },
      -  "required": [
      -    "month",
      -    "unit",
      -    "prices",
      -    "previous",
      -    "change",
      -    "tank_costs",
      -    "announcement",
      -    "missing_months",
      -    "provenance"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / FuelPricesResponse
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "data": {
      -      "anyOf": [
      -        {
      -          "$ref": "#/$defs/FuelPrices"
      -        },
      -        {
      -          "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/FuelPricesResponse"
      -  },
      -  {
      -    "$ref": "#/$defs/FuelPriceHistoryResponse"
      -  },
      -  {
      -    "$ref": "#/$defs/ToolFailure"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "announcement": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "published_at": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "publisher": {
      +                    "type": "string"
      +                  },
      +                  "url": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "publisher",
      +                  "url",
      +                  "published_at"
      +                ],
      +                "type": [
      +                  "object",
      +                  "null"
      +                ]
      +              },
      +              "change": {
      +                "anyOf": [
      +                  {
      +                    "$ref": "#/$defs/FuelGradePrices"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "history_summary": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "from": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "missing_months": {
      +                    "type": "integer"
      +                  },
      +                  "to": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "tracked_months": {
      +                    "type": "integer"
      +                  }
      +                },
      +                "required": [
      +                  "tracked_months",
      +                  "from",
      +                  "to",
      +                  "missing_months"
      +                ],
      +                "type": "object"
      +              },
      +              "missing_months": {
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "month": {
      +                "type": "string"
      +              },
      +              "previous": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "month": {
      +                    "type": "string"
      +                  },
      +                  "prices": {
      +                    "$ref": "#/$defs/FuelGradePrices"
      +                  }
      +                },
      +                "required": [
      +                  "month",
      +                  "prices"
      +                ],
      +                "type": [
      +                  "object",
      +                  "null"
      +                ]
      +              },
      +              "prices": {
      +                "$ref": "#/$defs/FuelGradePrices"
      +              },
      +              "provenance": {
      +                "$ref": "#/$defs/Provenance"
      +              },
      +              "tank_costs": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "diesel_aed": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "eplus91_aed": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "special95_aed": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "super98_aed": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "tank_litres": {
      +                      "type": "integer"
      +                    }
      +                  },
      +                  "required": [
      +                    "tank_litres",
      +                    "super98_aed",
      +                    "special95_aed",
      +                    "eplus91_aed",
      +                    "diesel_aed"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "transport_context": {
      +                "additionalProperties": true,
      +                "required": [
      +                  "tolls",
      +                  "parking",
      +                  "public_transport"
      +                ],
      +                "type": "object"
      +              },
      +              "unit": {
      +                "const": "AED per litre"
      +              }
      +            },
      +            "required": [
      +              "month",
      +              "unit",
      +              "prices",
      +              "previous",
      +              "change",
      +              "tank_costs",
      +              "announcement",
      +              "missing_months",
      +              "provenance"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "links": {
      +        "$ref": "#/$defs/Links"
      +      },
      +      "meta": {
      +        "$ref": "#/$defs/ResponseMeta"
      +      }
      +    },
      +    "required": [
      +      "meta",
      +      "data",
      +      "links"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "month": {
      +              "type": "string"
      +            },
      +            "prices": {
      +              "$ref": "#/$defs/FuelGradePrices"
      +            },
      +            "provenance": {
      +              "$ref": "#/$defs/Provenance"
      +            }
      +          },
      +          "required": [
      +            "month",
      +            "prices",
      +            "provenance"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "links": {
      +        "$ref": "#/$defs/Links"
      +      },
      +      "meta": {
      +        "$ref": "#/$defs/ResponseMeta"
      +      }
      +    },
      +    "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"
      +  }
      +]
  4. Added

TDQS

C2.9/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 and purity are covered. The description adds useful content context by saying what the result contains (tank costs, change, history), but discloses nothing about pagination behavior, date-range defaults, or response shape beyond what the schema/output schema imply.

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 phrase with the resource front-loaded and no filler. It is fragmentary rather than prose, but every element (currency of data, change, tank sizes, history) carries information.

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

Completeness2/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, but with six parameters at 0% schema coverage and no usage guidance or pagination notes, the definition leaves too much for the agent to guess. For a paginated, filterable tool this is under-specified.

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% across six parameters, so the schema alone gives no semantic hints for from/to, sort, cursor, page_size, or include_history. The description only loosely gestures at two of them ('this month and last', 'history'), leaving cursor/pagination and sort semantics entirely undocumented.

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?

Names a specific resource (UAE petrol/diesel prices) and enumerates the payload it covers: current and prior month, monthly change, 50/70 L tank cost, and history. This is distinctly different from siblings like transport_fares or commute_cost, though no verb or explicit contrast is stated.

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 call this tool, no mention of prerequisites, and no pointer to alternatives such as commute_cost or transport_fares that an agent might confuse it with. The agent must infer applicability purely from the resource name.

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