Skip to main content
Glama
Nomba MCP Server

Nomba MCP Server

Official
by NombaOSS

Lookup Electricity Customer

nomba_lookup_electricity_customer
Read-onlyIdempotent

Validate an electricity meter number and return the customer name before purchasing electricity, confirming the meter and provider details are correct.

Instructions

Validate an electricity meter number and get the customer's name. Always use this before purchasing electricity to confirm the meter details.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "meterNumber": "<meterNumber>",
      "providerCode": "<providerCode>"
    },
    "name": "nomba_lookup_electricity_customer"
  }
}

Input Schema

NameRequiredDescriptionDefault
meterNumberYesThe electricity meter number
providerCodeYesElectricity provider (disco) code from nomba_get_electricity_providers

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behavior context: this is a prerequisite validation gate in the electricity purchase flow and it returns the resolved customer name. It does not say what happens on an invalid meter (error vs. negative result), which is the one remaining gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, zero filler, with the action and return value front-loaded and the prerequisite guidance second. Every sentence earns its place.

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

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter read tool with no output schema, the description covers the input intent, the mandatory pre-purchase context, and the primary return value (customer name). Only failure-mode behavior is unaddressed.

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 description coverage is 100% and both parameters are documented in-schema, including the cross-reference to nomba_get_electricity_providers for providerCode. The description adds no format or constraint detail beyond that, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Validate') plus the resource ('electricity meter number') and the payoff ('get the customer's name'). The word 'electricity' plus the meter/disco framing cleanly separates it from the cable and betting lookup siblings.

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?

'Always use this before purchasing electricity to confirm the meter details' gives an explicit mandatory ordering relative to the purchase flow. It stops short of naming non-use cases (e.g., what to do if the meter fails validation) but the when-to-use context is unambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.