Usage Bill Reconstructor
Server Details
Recomputes a usage-based bill from a customer-supplied tariff (graduated per-meter tiers, optiona...
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
Available Tools
1 toolusage_bill_reconstructorARead-onlyIdempotentInspect
Recomputes a usage-based bill from a customer-supplied tariff (graduated per-meter tiers, optional included allowances, optional fixed charges) and aggregated metered usage, using exact decimal arithmetic. Does not fetch or embed any vendor pricing; it only applies the rules the caller provides, and checks the result against an optional supplied invoice total. Price: 0.05 USDC per completed bounded job on Base.
| Name | Required | Description | Default |
|---|---|---|---|
| meters | Yes | ||
| currency | Yes | ||
| fixed_charges | No | ||
| invoice_total | No | nonnegative decimal, at most minor_unit_digits fractional digits; never rounded | |
| minor_unit_digits | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly=true, idempotent=true, and destructive=false; the description adds valuable behavioral context: it uses exact decimal arithmetic, does not fetch vendor pricing, and mentions the price per completed bounded job. It does not detail edge cases like rounding failures or error behavior, but the key non-obvious traits are disclosed.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is compact and front-loaded with the core action, then the critical exclusion, then pricing. It earns its place, though the pricing sentence could be considered slightly tangential to invocation correctness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a computation tool with no output schema, the description communicates the core contract: input is tariff + usage, output is a recomputed bill, and optional invoice comparison. It lacks explicit statement of return format or failure conditions, but given the detailed input schema and annotations, this is a strong definition.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is only 20%, so the schema leaves most parameters underdocumented; the description mentions graduated tiers, included allowances, fixed charges, aggregated usage, and optional invoice total, which maps to the parameters at a high level. It does not add details like decimal limits or the meaning of `up_to: null`, but it gives enough conceptual grounding for an agent to understand the input shape.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states what the tool does: recompute a usage-based bill from customer-supplied tariff and metered usage, using exact decimal arithmetic. It also explicitly distinguishes itself by stating it does NOT fetch or embed vendor pricing, which prevents misuse.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explains the tool applies only caller-provided rules and optionally checks against an invoice total, giving clear context for when to use it. It does not explicitly name alternatives because there are no siblings, but it conveys the boundary of responsibility well.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
1 tool update
- First observed
usage_bill_reconstructor
Frequently Asked Questions
Claiming proves that you control a remote MCP connector. It does not move, proxy, or interrupt the server.
Open the connector listing, choose Claim ownership, and sign in to Glama.
Complete one verification method:
GitHub identity — fastest for official registry listings. For a namespace such as
io.github.alice/server, link the matching GitHub user, then choose Claim with GitHub. An organization namespace such asio.github.acme/serveralso needs that organization to have installed the Glama AI GitHub App and approved its permissions, because GitHub discloses organization membership only to apps it has installed. Use HTTP or DNS when it has not.HTTP challenge — works when you can deploy a public file. Generate a token, publish the exact JSON Glama shows at
/.well-known/glama.jsonon the same origin as the connector, then choose Check HTTP challenge.DNS challenge — works when you control DNS but cannot change the server. Generate a token, create the exact TXT record Glama shows, wait for it to propagate, then choose Check DNS challenge.
After verification, Glama sends a confirmation email and gives you access to listing details, thumbnails, health checks, and analytics. Keep the HTTP file or DNS record in place: Glama periodically checks it and ownership remains verified while the token is discoverable.
The HTTP ownership file has this structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"claim": "glama_claim_..."
}Claim tokens are opaque, stable, and bound to the signed-in Glama account. They contain no email address or other personal information. If Glama can no longer discover a verified HTTP or DNS token, it starts a seven-day grace period before removing claim-based access. Restore the same token during that period to keep ownership verified. Never publish an email address, Glama session token, GitHub token, or connector credential as ownership proof.
If verification fails, confirm that you copied the current token exactly. The HTTP file must be public, return valid JSON with a successful HTTP response, and stay on the connector's origin. DNS changes may need more time to propagate. A claim cannot transfer to a different origin or hostname: if the connector target changes, Glama starts the grace period and the new target must be claimed separately after the previous claim is released.
For a connector linked to the official MCP Registry, registry updates continue to replace its name, description, and URL by default. After claiming, open Manage connector and enable Use Glama listing details as the source of truth if edits made on Glama should be preserved. Categories and thumbnails are always managed on Glama; registry linkage and technical connection settings continue to sync.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
To improve your MCP server's ranking:
Claim ownership of the server listing
Complete the server profile with an accurate description and thumbnail
Provide a test profile so Glama can connect to and evaluate the server
Keep tool definitions clear and complete to earn a high Tool Definition Quality Score (TDQS)
Route real usage through the Glama Gateway; more recorded successful server uses also improve the ranking
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!
Related MCP Connectors
Computes exact overpayments across caller-supplied approved invoices, payments, and recorded cred...
Query and manage Amberflo metering & billing: customers, meters, usage, plans, invoices, prepaid.
SABESP: Bill Download, official-source lookup. Platform-hosted, pay per query with prepaid credit.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceProvides electricity tariff queries and rate calculations for US utilities, enabling cost estimation and optimal charging schedules.1Apache 2.0
- FlicenseNot gradedqualityBmaintenanceEnables exact residential electricity rates and itemized bills for Salt River Project, computed from filed tariffs with citations, via tools for listing plans, getting rates, and calculating bills.-
- AlicenseNot gradedqualityCmaintenancePer-call billing and metering proxy for MCP tool servers. Providers set pricing via the open MCP Billing Spec (MIT), consumers pay through Stripe Connect with signed receipts and SLA monitoring.MIT
- AlicenseCqualityDmaintenanceEnables access to Usage and Billing APIs for managing accounts, products, meters, plans, and usage reporting. Supports operations like creating products/plans, reporting usage, and retrieving billing information.18MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.
TDQS
With only one tool, there is no possibility of confusing it with another operation. The tool's purpose is clearly distinct by definition.
The single name is clear and uses a consistent snake_case convention, so there is no internal inconsistency. It is a noun phrase rather than the conventional verb_noun action form, which is a minor deviation from typical tool-naming patterns.
One tool for a focused reconstruction utility is understandable, but the surface still feels thin: there is no companion tool for tariff/usage preparation or output inspection. It is borderline but not an extreme mismatch.
Within its explicitly stated scope—applying caller-supplied tariff tiers, allowances, fixed charges, and optional invoice validation—the tool covers the full reconstruction operation. No obvious dead ends or missing operations are evident.