Skip to main content
Glama

Server Details

Record idempotent usage events and read monthly per-customer rollups (Usage Lab metering API).

If you are the author of this connector, you can claim ownership by verifying the domain or GitHub account it belongs to. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
ChatGPT
–
Claude
–

TDQS

A4.2/5.0

Scored across 6 tools

Disambiguation5/5

Each tool maps to a distinct resource and action: meter creation, meter listing, event ingestion, rollup reading, account inspection, and docs lookup. The read/write split between record_usage_events and get_meter_rollups is explicit and unlikely to be confused.

Naming Consistency5/5

All six tools follow a consistent verb_noun snake_case pattern (create_meter, get_account, get_docs, get_meter_rollups, list_meters, record_usage_events). Verbs are used predictably: create/get/list/record each align with their semantics.

Tool Count5/5

Six tools is well-scoped for a metering API — one per core operation plus a docs helper. Nothing feels padded or redundant.

Completeness4/5

The lifecycle is largely covered: create and list meters, ingest events idempotently, read monthly rollups, plus account and docs helpers. Minor gaps exist (no get_meter for a single meter's detail, no delete/update meter, no raw event listing), but these are workarounds rather than blockers for core metering flows.

Available Tools

6 tools
create_meterCreate a meterA
Idempotent
Inspect

Create a meter once (POST /api/v1/meters). aggregation: sum (add up value, e.g. tokens), count (number of events, e.g. tool calls) or unique_count (distinct unique_value, e.g. active users). Re-creating an existing key returns meter_exists (harmless). Free plan: 3 meters. Needs your API key.

Inputs: key (required), aggregation (required), name, stripe_event_name.

get_accountGet accountA
Read-onlyIdempotent
Inspect

Your account: plan, event and meter limits, event_count and first_event_at (GET /api/v1/account). Needs your API key.

Inputs: no named parameters.

get_docsUsage Lab quickstartA
Read-onlyIdempotent
Inspect

Quickstart for the Usage Lab metering API and this MCP server: how to get a free API key, connect, create a meter, record idempotent usage events and read rollups. No API key needed.

Inputs: no named parameters.

get_meter_rollupsGet monthly rollupsA
Read-onlyIdempotent
Inspect

Monthly totals per customer for one meter, recomputed from raw events (GET /api/v1/meters/{meter}/rollups). Returns total_quantity and per-subscription quantity and event_count. Needs your API key.

Inputs: meter (required), month, subscription.

list_metersList metersA
Read-onlyIdempotent
Inspect

List the meters on your Usage Lab account (key, name, aggregation sum | count | unique_count). Needs your API key (Authorization: Bearer).

Inputs: no named parameters.

record_usage_eventsRecord usage eventsA
Idempotent
Inspect

Record 1-100 usage events in one all-or-nothing batch (POST /api/v1/usage). Every event MUST carry its own idempotency_key; retrying with the same keys is safe (results say created / duplicate / conflict). Needs your API key.

Inputs: events (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables MCP server authors to record one billable usage event per tool call idempotently and preview invoices, with keyless free calls and pay-per-event pricing without signup or API keys.
      MIT
    • A
      license
      C
      quality
      D
      maintenance
      Enables 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.
      18
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Connects MCP-compatible clients and CI pipelines to a hosted endpoint exposing tools for SaaS revenue-leak audits, ghost-usage evaluation, EU VAT validation, B2B net-terms reconciliation, webhook signature verification and replay simulation, dispute-evidence staging/linting, and ROI calculation.
      2
      9
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources