← Back to all apps

Overview

Tools Available5
DeveloperDubai Electricity & Water Authority
CategoryBusiness

View bills, services and more.

Available Tools

DEWA provides 5 tools that can be used to interact with its services.

Convert location name to coordinates

geocode_location
Full Description

Converts a location name, address, or place name to geographic coordinates (latitude and longitude). Use this when the user provides a location name like 'Dubai Marina', 'Downtown Dubai', or any address in UAE. The coordinates can then be used with get_happiness_centers or get_ev_chargers to find nearest locations.

Parameters

Required
locationstring

Location name, address, or place (e.g., 'Dubai Marina', 'Downtown Dubai', 'Deira')

Get DEWA services

get_dewa_services
Full Description

Returns a curated list of DEWA services and a link to open each service.

Get EV charging locations

get_ev_chargers
Full Description

Fetches the list of available DEWA EV charging locations and their details. If userLatitude and userLongitude are provided, chargers will be sorted by distance (nearest first) and distance information will be included.

Parameters

Optional
userLatitudenumber
userLongitudenumber

Get customer happiness centers

get_happiness_centers
Full Description

Fetches the list of DEWA customer happiness centers and their locations. IMPORTANT: Only ask for user location (userLatitude and userLongitude) when the user explicitly requests proximity-based information using phrases like 'near me', 'nearby', 'near current location', 'closest', or 'nearest'. For general queries like 'Find customer happiness centers' or 'Show happiness centers', call this tool WITHOUT location parameters to return all centers. When location parameters are provided, centers will be sorted by distance (nearest first) and distance information will be included.

Parameters

Optional
userLatitudenumber
userLongitudenumber

Get outstanding balance

get_outstanding
Full Description

Fetches the outstanding balance for ONE DEWA account number at a time.

CRITICAL CONSTRAINTS:

  • ONLY call this tool ONCE per conversation turn
  • NEVER call this tool in parallel with itself
  • Extract the account number VERBATIM from the user's LATEST message only
  • DO NOT infer, reformat, pad, truncate, or modify the account number in any way
  • DO NOT reuse account numbers from previous turns
  • DO NOT fabricate, estimate, or simulate any balance information
  • NEVER return a balance unless it comes directly from the tool response

ANTI-HALLUCINATION RULES:

  • If the tool does not return a valid response, clearly inform the user that the balance could not be retrieved
  • Do NOT guess the outstanding amount under any circumstances
  • Do NOT generate example balances or placeholder values
  • Only present information explicitly returned by the tool
  • If required information is missing, ask the user instead of assuming

BEHAVIOR RULES: 1. If NO account number is provided → Ask: 'Please provide your DEWA account number so I can check the outstanding balance.' 2. If MULTIPLE account numbers are provided → Ask: 'I can check the outstanding balance for one account at a time. Which account number would you like me to check first?' 3. If account number is incomplete, unclear, or ambiguous → Ask: 'Please provide the full DEWA account number so I can check the outstanding balance.' 4. If exactly ONE account number is provided → Call this tool with that exact number

Always extract the account number strictly from the user's most recent message before calling the tool.

Parameters

Required
account_numberstring

Exact DEWA account number from user's latest message. Must be exactly 10 numeric digits. Extract verbatim - do not infer, pad, truncate, or reuse from previous messages.