Skip to main content
Glama

Create electricity order

create_electricity_order
Destructive

Use this when an authenticated SIMcloud user asks to buy prepaid electricity for a meter already confirmed with check_electricity_meter. Confirm the meter, rand amount, reference and SMS recipient before calling. This spends wallet funds and submits an irreversible external transaction; do not automatically retry an ambiguous result.

Input Schema

NameRequiredDescriptionDefault
amountYesElectricity purchase amount in whole South African rand (no cents), from R55 to R1000.
recipientYesRecipient mobile number for voucher notifications.
meter_numberYesPrepaid electricity meter number previously checked with check_electricity_meter.
client_referenceYesUser or system reference for this electricity order.

Output Schema

NameRequiredDescriptionDefault
okYesWhether the proxied SIMcloud API request returned a 2xx response.
dataYesDecoded SIMcloud API response body.
statusYesHTTP status returned by the SIMcloud API, or 0 when no HTTP response was received.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare destructive=true, idempotent=false and openWorld=true, and the description adds genuinely new behavioral facts: it spends wallet funds, submits an irreversible external transaction, and must not be retried blindly. It also requires confirming meter, amount, reference and recipient before invocation, which no annotation conveys.

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?

Three tight sentences: trigger first, confirmation checklist in the middle, risk warning last. Every clause carries operational weight, and the irreversibility warning is placed where it will be read before invocation.

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

Completeness5/5

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

For a destructive, non-idempotent, money-spending mutation tool, the description covers trigger, prerequisites, confirmation requirements, and the retry hazard; the output schema handles return values. No material gap remains for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns an increment by tying all four parameters into a pre-call confirmation checklist and by naming the meter's provenance. It does not add range or format detail beyond the schema, but the workflow semantics around the parameters are a real addition.

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 and resource ('buy prepaid electricity') and immediately scopes it to a meter confirmed via check_electricity_meter, which cleanly separates it from siblings like create_airtime_order or create_data_order. An agent can select this tool without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit trigger condition ('when an authenticated SIMcloud user asks to buy prepaid electricity'), an explicit prerequisite (meter already confirmed with check_electricity_meter), and an explicit failure-mode instruction ('do not automatically retry an ambiguous result'). Nothing about when to use this versus alternatives is left to inference.

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