Skip to main content
Glama

Lago MCP by usefulapi

Get customer past usage

lago_get_customer_past_usage
Read-only

Retrieve a customer's usage-based billing data for past periods. Lago API: GET /customers/{external_customer_id}/past_usage.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
periods_countNoNumber of past billing periods to return.
billable_metric_codeNoFilter usage to a specific billable metric code.
external_customer_idYesThe customer external unique identifier.
external_subscription_idYesThe subscription's external unique identifier (required).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.