Skip to main content
Glama

EVS Meter Tools

Get recent top-ups

get_recent_topups
Read-onlyIdempotent

Get up to 10 recent top-ups for a meter. To confirm a payment, look for a top-up with the same amount dated after the createdAt of its link, and with no status showing it failed. Earlier top-ups can have the same amount, so always check the date. Dates have no time zone and appear to be Singapore time (UTC+8), while createdAt is ISO 8601. If nothing matches, the payment may not be recorded yet or may have failed: check again later, and have the user check their card statement before paying again.

Input Schema

NameRequiredDescriptionDefault
systemYesThe institution the meter belongs to
meter_idYesThe 8-digit EVS meter ID

Output Schema

NameRequiredDescriptionDefault
systemYesThe institution the meter belongs to
topupsYes
meterIdYes
checkedAtYesWhen this was checked, as an ISO 8601 time
balanceSgdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only cover read-only/idempotent/open-world, but the description adds substantial non-obvious behavior: a hard 10-result cap, the fact that older top-ups can share the same amount, and — most importantly — the timezone asymmetry where result dates are unlabeled Singapore time (UTC+8) while createdAt is ISO 8601. It also discloses eventual-consistency semantics: no match may mean 'not recorded yet' or 'failed', so the agent should retry later rather than double-pay.

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?

Purpose is front-loaded in the first clause, and the following sentences are operational guidance rather than filler. The date-matching rule is stated twice in spirit ('check the date' after explaining older top-ups can share an amount), a mild redundancy, but overall it is dense and task-relevant.

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 two-parameter read tool with an output schema and read-only annotations, the description supplies everything needed: result cap, matching heuristic, date-format/timezone caveat, and fallback behavior on an empty result. Return-value shape is left to the output schema, which is appropriate.

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 (meter_id with an 8-digit pattern, system with a two-value enum) are already documented. The description adds no parameter-level detail such as where to obtain meter_id or how 'system' affects results, so it is at the baseline.

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?

States a specific verb and resource with explicit scope: 'Get up to 10 recent top-ups for a meter.' The bounded result size is conveyed up front. It does not name the sibling tools (get_meter_balance, get_meter_usage, get_topup_link) to differentiate, though the 'top-up list' resource is naturally distinct from balance/usage/link-creation.

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?

"To confirm a payment..." gives a concrete situation for calling the tool and implicitly positions it downstream of a link creation ('its link'). No explicit when-not or named alternative is given, and it doesn't state prerequisites (e.g. needing a meter_id from a prior lookup).

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.