Skip to main content
Glama

Server Details

Read Lago customers, subscriptions, invoices, usage and revenue analytics; write events.

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL
Repository
m190/usefulapi-mcp
GitHub Stars
0

Glama MCP Gateway

Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.

MCP client
Glama
MCP server

Full call logging

Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.

Tool access control

Enable or disable individual tools per connector, so you decide what your agents can and cannot do.

Managed credentials

Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.

Usage analytics

See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.

100% free. Your data is private.

Tool Definition Quality

Score is being calculated. Check back soon.

Available Tools

24 tools
lago_analytics_gross_revenueAnalytics: gross revenue
Read-only
Inspect

Monthly gross revenue (finalized invoice payments + advance fees, net of tax/discounts). Lago API: GET /analytics/gross_revenue.

ParametersJSON Schema
NameRequiredDescriptionDefault
monthsNoNumber of months to return.
currencyNoCurrency filter (ISO 4217, e.g. USD).
external_customer_idNoFilter revenue at the customer level.
lago_analytics_mrrAnalytics: MRR
Read-only
Inspect

Monthly recurring revenue (MRR) from subscription fees. Lago API: GET /analytics/mrr.

ParametersJSON Schema
NameRequiredDescriptionDefault
monthsNoNumber of months to return.
currencyNoCurrency filter (ISO 4217, e.g. USD).
lago_create_customerCreate customer
Destructive
Inspect

Creates a customer in Lago (additive). Lago API: POST /customers with body { "customer": { ... } }.

ParametersJSON Schema
NameRequiredDescriptionDefault
urlNoCustomer URL.
nameNoFull name of the customer.
emailNoEmail of the customer.
phoneNoPhone number.
countryNoBilling country code (ISO 3166 alpha-2).
currencyNoCustomer currency (ISO 4217).
metadataNoStructured metadata to attach to the customer (Lago expects an array of {key, value, display_in_invoice?} objects).
timezoneNoCustomer timezone, e.g. America/New_York.
legal_nameNoLegal company name.
external_idYesThe customer external unique identifier (required, provided by your application).
legal_numberNoLegal company number.
tax_identification_numberNoTax identification number.
lago_create_eventCreate usage event
Destructive
Inspect

Records a usage/metering event in Lago. This WILL be counted toward the customer's usage and affects billing. Idempotent via transaction_id. Lago API: POST /events with body { "event": { ... } }.

ParametersJSON Schema
NameRequiredDescriptionDefault
codeYesThe billable metric code this event targets (required).
timestampNoUnix timestamp in seconds (or ISO); defaults to event reception time.
propertiesNoAdditional event properties used to compute the fee (required for sum/max/unique aggregations).
transaction_idYesUnique identifier for the event — the idempotency key (required).
external_subscription_idYesThe subscription external id to link the event to (required).
precise_total_amount_centsNoPrecise total amount in cents, used by the dynamic pricing model.
lago_get_billable_metricGet billable metric
Read-only
Inspect

Retrieve a single billable metric by code. Lago API: GET /billable_metrics/{code}.

ParametersJSON Schema
NameRequiredDescriptionDefault
codeYesThe billable metric's unique code.
lago_get_credit_noteGet credit note
Read-only
Inspect

Retrieve a single credit note by its Lago id. Lago API: GET /credit_notes/{lago_id}.

ParametersJSON Schema
NameRequiredDescriptionDefault
lago_idYesThe credit note's Lago id (UUID).
lago_get_customerGet customer
Read-only
Inspect

Retrieve a single customer by external id. Lago API: GET /customers/{external_customer_id}.

ParametersJSON Schema
NameRequiredDescriptionDefault
external_customer_idYesThe customer external unique identifier (from your application).
lago_get_customer_current_usageGet customer current usage
Read-only
Inspect

Retrieve a customer's usage-based billing data for the current period. Lago API: GET /customers/{external_customer_id}/current_usage.

ParametersJSON Schema
NameRequiredDescriptionDefault
apply_taxesNoWhether taxes should be applied. Defaults to true.
external_customer_idYesThe customer external unique identifier.
external_subscription_idYesThe subscription's external unique identifier (required).
lago_get_customer_past_usageGet customer past usage
Read-only
Inspect

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

ParametersJSON 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).
lago_get_customer_portal_urlGet customer portal URL
Read-only
Inspect

Get a customer's billing portal URL. Lago API: GET /customers/{external_customer_id}/portal_url.

ParametersJSON Schema
NameRequiredDescriptionDefault
external_customer_idYesThe customer external unique identifier.
lago_get_invoiceGet invoice
Read-only
Inspect

Retrieve a single invoice by its Lago id. Lago API: GET /invoices/{lago_id}.

ParametersJSON Schema
NameRequiredDescriptionDefault
lago_idYesThe invoice's Lago id (UUID).
lago_get_planGet plan
Read-only
Inspect

Retrieve a single plan by code. Lago API: GET /plans/{code}.

ParametersJSON Schema
NameRequiredDescriptionDefault
codeYesThe plan's unique code.
lago_get_subscriptionGet subscription
Read-only
Inspect

Retrieve a single subscription by external id. Lago API: GET /subscriptions/{external_id}.

ParametersJSON Schema
NameRequiredDescriptionDefault
external_idYesThe subscription's external unique identifier.
lago_list_add_onsList add-ons
Read-only
Inspect

List add-ons, paginated. Lago API: GET /add_ons.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for pagination.
per_pageNoNumber of records per page.
lago_list_billable_metricsList billable metrics
Read-only
Inspect

List billable metrics, paginated. Lago API: GET /billable_metrics.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for pagination.
per_pageNoNumber of records per page.
lago_list_couponsList coupons
Read-only
Inspect

List coupons, paginated. Lago API: GET /coupons.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for pagination.
per_pageNoNumber of records per page.
lago_list_credit_notesList credit notes
Read-only
Inspect

List credit notes, optionally filtered by customer. Lago API: GET /credit_notes.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for pagination.
per_pageNoNumber of records per page.
external_customer_idNoFilter by customer external id.
lago_list_customersList customers
Read-only
Inspect

List customers in Lago, paginated. Lago API: GET /customers.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for pagination.
per_pageNoNumber of records per page.
lago_list_customer_subscriptionsList customer subscriptions
Read-only
Inspect

List a customer's subscriptions. Lago API: GET /customers/{external_customer_id}/subscriptions.

ParametersJSON Schema
NameRequiredDescriptionDefault
external_customer_idYesThe customer external unique identifier.
lago_list_feesList fees
Read-only
Inspect

List fees, optionally filtered by customer, subscription, or fee type. Lago API: GET /fees.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for pagination.
fee_typeNoFilter by fee type: charge | add_on | subscription | credit | commitment.
per_pageNoNumber of records per page.
external_customer_idNoFilter by customer external id.
external_subscription_idNoFilter by subscription external id.
lago_list_invoicesList invoices
Read-only
Inspect

List invoices, optionally filtered by customer, status, payment status, or issuing date. Lago API: GET /invoices.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for pagination.
statusNoFilter by a single status: draft | finalized | failed | pending | voided.
per_pageNoNumber of records per page.
payment_statusNoFilter by a single payment status: pending | failed | succeeded.
issuing_date_toNoFilter invoices issued on/before this date (yyyy-mm-dd).
issuing_date_fromNoFilter invoices issued on/after this date (yyyy-mm-dd).
external_customer_idNoFilter by customer external id.
lago_list_plansList plans
Read-only
Inspect

List billing plans, paginated. Lago API: GET /plans.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for pagination.
per_pageNoNumber of records per page.
lago_list_subscriptionsList subscriptions
Read-only
Inspect

List subscriptions, optionally filtered by customer, plan, or status. Lago API: GET /subscriptions.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for pagination.
statusNoFilter by a single status: active | pending | canceled | terminated. Default active.
per_pageNoNumber of records per page.
plan_codeNoFilter by plan code.
external_customer_idNoFilter by customer external id.
lago_list_walletsList wallets
Read-only
Inspect

List a customer's prepaid credit wallets. Lago API: GET /customers/{external_customer_id}/wallets.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for pagination.
per_pageNoNumber of records per page.
external_customer_idYesThe customer external unique identifier.

Discussions

No comments yet. Be the first to start the discussion!

Try in Browser

Your Connectors

Sign in to create a connector for this server.