Skip to main content
Glama

Brainy Prices — UAE Cost of Living

dewa

Read-onlyIdempotent

DEWA electricity/water: tariff slabs, or bill estimate from kwh (+water, VAT, fee).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kwhNo
water_m3No
water_gallonsNoImperial gallons.
annual_rent_aedNo

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. Changed6 schema fields changed
    • removedOutput schema / $defs / DewaBillEstimate
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "annual_rent_aed": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "electricity_aed": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "electricity_fuel_surcharge_aed_per_kwh": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "housing_fee_aed": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "housing_fee_percent": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "kwh": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "meter_service_aed": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "months_per_year": {
      -      "type": "integer"
      -    },
      -    "not_included": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "provenance": {
      -      "$ref": "#/$defs/Provenance"
      -    },
      -    "subtotal_aed": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "surcharge_month": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "tariff": {
      -      "$ref": "#/$defs/DewaTariff"
      -    },
      -    "total_aed": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "vat_aed": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "water_aed": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "water_fuel_surcharge_aed_per_m3": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "water_gallons": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "water_m3": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    }
      -  },
      -  "required": [
      -    "surcharge_month",
      -    "electricity_fuel_surcharge_aed_per_kwh",
      -    "water_fuel_surcharge_aed_per_m3",
      -    "kwh",
      -    "water_m3",
      -    "electricity_aed",
      -    "water_aed",
      -    "meter_service_aed",
      -    "subtotal_aed",
      -    "vat_aed",
      -    "housing_fee_aed",
      -    "total_aed",
      -    "not_included",
      -    "provenance"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / DewaBillEstimateResponse
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "data": {
      -      "anyOf": [
      -        {
      -          "$ref": "#/$defs/DewaBillEstimate"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "links": {
      -      "$ref": "#/$defs/Links"
      -    },
      -    "meta": {
      -      "$ref": "#/$defs/ResponseMeta"
      -    }
      -  },
      -  "required": [
      -    "meta",
      -    "data",
      -    "links"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / DewaTariff / properties / typical / items / properties / profile_id / type
      Removed value: -"string"
    • removedOutput schema / $defs / DewaTariffResponse
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "data": {
      -      "anyOf": [
      -        {
      -          "$ref": "#/$defs/DewaTariff"
      -        },
      -        {
      -          "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/DewaTariffResponse"
      -  },
      -  {
      -    "$ref": "#/$defs/DewaBillEstimateResponse"
      -  },
      -  {
      -    "$ref": "#/$defs/ToolFailure"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/DewaTariff"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "links": {
      +        "$ref": "#/$defs/Links"
      +      },
      +      "meta": {
      +        "$ref": "#/$defs/ResponseMeta"
      +      }
      +    },
      +    "required": [
      +      "meta",
      +      "data",
      +      "links"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "annual_rent_aed": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "electricity_aed": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "electricity_fuel_surcharge_aed_per_kwh": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "housing_fee_aed": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "housing_fee_percent": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "kwh": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "meter_service_aed": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "months_per_year": {
      +                "type": "integer"
      +              },
      +              "not_included": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "provenance": {
      +                "$ref": "#/$defs/Provenance"
      +              },
      +              "subtotal_aed": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "surcharge_month": {
      +                "anyOf": [
      +                  {
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "tariff": {
      +                "$ref": "#/$defs/DewaTariff"
      +              },
      +              "total_aed": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "vat_aed": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "water_aed": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "water_fuel_surcharge_aed_per_m3": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "water_gallons": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "water_m3": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "surcharge_month",
      +              "electricity_fuel_surcharge_aed_per_kwh",
      +              "water_fuel_surcharge_aed_per_m3",
      +              "kwh",
      +              "water_m3",
      +              "electricity_aed",
      +              "water_aed",
      +              "meter_service_aed",
      +              "subtotal_aed",
      +              "vat_aed",
      +              "housing_fee_aed",
      +              "total_aed",
      +              "not_included",
      +              "provenance"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "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, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds genuine computational context — that the estimate bundles water, VAT, and a fee — which goes beyond the annotations. It does not explain behavior with zero parameters (none are required) or default assumptions, so it remains at an adequate-but-thin 3.

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 front-loaded sentence with no filler; the resource and modes lead immediately. Compression into telegraphic parentheticals like '(water, VAT, fee)' borders on cryptic but does not waste words.

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 no explanation. However, with four parameters, zero required, and three of them undocumented, the description should clarify which inputs drive the 'tariff slab' lookup versus the 'bill estimate', and what annual_rent_aed contributes. That gap makes the definition incomplete for correct invocation.

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 coverage is only 25% (just 'Imperial gallons.' on water_gallons), so the description carries the burden. It mentions kwh and '(water, VAT, fee)' but never disambiguates water_m3 vs water_gallons, and annual_rent_aed — presumably the basis of a housing fee — is entirely unexplained despite being one of four parameters.

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 the resource (DEWA, expanding the cryptic name to electricity/water) and distinguishes two functional modes: tariff slabs and bill estimation from kWh. This lets an agent tell it apart from neighbouring cost calculators like fuel_prices or fixed_monthly_costs. It stops short of 5 because the mode distinction is compressed into an ambiguous 'or' construction.

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?

The 'tariff slabs, or bill estimate' phrasing gestures at two usage modes but never states the condition that selects one over the other, nor names any alternative sibling tool. There is no explicit when-to-use or when-not-to-use guidance.

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