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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNo
fromNo
sortNo-month
cursorNo
page_sizeNo
include_historyNo

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. 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"
      +  }
      +]
  3. 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=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds that it returns both this month and last, changes, and 50/70 L tank costs, which is useful behavioral context, though it ignores pagination behavior implied by the cursor and page_size parameters.

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 single telegraphic sentence is dense but front-loads the resource and enumerates the payload without padding. It is appropriately sized, though the clipped style sacrifices readability for brevity.

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?

For a six-parameter tool with 0% schema description coverage, the description omits parameter semantics, pagination behavior, and return-format details. The output schema covers return values, but the parameter layer is entirely unexplained, leaving the definition 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%, so the six parameters (to, from, sort, cursor, page_size, include_history) are undocumented in both schema and description. The description mentions history but does not connect it to the include_history flag, and says nothing about month filtering, sorting, or pagination. This is a significant gap the description needed to compensate for.

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 petrol/diesel prices) and enumerates what it returns (monthly prices, change, tank costs, history). It is clear and distinct from siblings like commute_cost or transport_fares, though the terse telegraphic style leaves the exact verb ambiguous.

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. An agent cannot tell whether commute_cost or costs_by_emirate should be preferred for a fuel-related query, nor are any exclusions stated. Usage must be entirely inferred from the 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