lago
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.
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.
Tool Definition Quality
Score is being calculated. Check back soon.
Available Tools
24 toolslago_analytics_gross_revenueAnalytics: gross revenueRead-onlyInspect
Monthly gross revenue (finalized invoice payments + advance fees, net of tax/discounts). Lago API: GET /analytics/gross_revenue.
| Name | Required | Description | Default |
|---|---|---|---|
| months | No | Number of months to return. | |
| currency | No | Currency filter (ISO 4217, e.g. USD). | |
| external_customer_id | No | Filter revenue at the customer level. |
lago_analytics_mrrAnalytics: MRRRead-onlyInspect
Monthly recurring revenue (MRR) from subscription fees. Lago API: GET /analytics/mrr.
| Name | Required | Description | Default |
|---|---|---|---|
| months | No | Number of months to return. | |
| currency | No | Currency filter (ISO 4217, e.g. USD). |
lago_create_customerCreate customerDestructiveInspect
Creates a customer in Lago (additive). Lago API: POST /customers with body { "customer": { ... } }.
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Customer URL. | |
| name | No | Full name of the customer. | |
| No | Email of the customer. | ||
| phone | No | Phone number. | |
| country | No | Billing country code (ISO 3166 alpha-2). | |
| currency | No | Customer currency (ISO 4217). | |
| metadata | No | Structured metadata to attach to the customer (Lago expects an array of {key, value, display_in_invoice?} objects). | |
| timezone | No | Customer timezone, e.g. America/New_York. | |
| legal_name | No | Legal company name. | |
| external_id | Yes | The customer external unique identifier (required, provided by your application). | |
| legal_number | No | Legal company number. | |
| tax_identification_number | No | Tax identification number. |
lago_create_eventCreate usage eventDestructiveInspect
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": { ... } }.
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The billable metric code this event targets (required). | |
| timestamp | No | Unix timestamp in seconds (or ISO); defaults to event reception time. | |
| properties | No | Additional event properties used to compute the fee (required for sum/max/unique aggregations). | |
| transaction_id | Yes | Unique identifier for the event — the idempotency key (required). | |
| external_subscription_id | Yes | The subscription external id to link the event to (required). | |
| precise_total_amount_cents | No | Precise total amount in cents, used by the dynamic pricing model. |
lago_get_billable_metricGet billable metricRead-onlyInspect
Retrieve a single billable metric by code. Lago API: GET /billable_metrics/{code}.
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The billable metric's unique code. |
lago_get_credit_noteGet credit noteRead-onlyInspect
Retrieve a single credit note by its Lago id. Lago API: GET /credit_notes/{lago_id}.
| Name | Required | Description | Default |
|---|---|---|---|
| lago_id | Yes | The credit note's Lago id (UUID). |
lago_get_customerGet customerRead-onlyInspect
Retrieve a single customer by external id. Lago API: GET /customers/{external_customer_id}.
| Name | Required | Description | Default |
|---|---|---|---|
| external_customer_id | Yes | The customer external unique identifier (from your application). |
lago_get_customer_current_usageGet customer current usageRead-onlyInspect
Retrieve a customer's usage-based billing data for the current period. Lago API: GET /customers/{external_customer_id}/current_usage.
| Name | Required | Description | Default |
|---|---|---|---|
| apply_taxes | No | Whether taxes should be applied. Defaults to true. | |
| external_customer_id | Yes | The customer external unique identifier. | |
| external_subscription_id | Yes | The subscription's external unique identifier (required). |
lago_get_customer_past_usageGet customer past usageRead-onlyInspect
Retrieve a customer's usage-based billing data for past periods. Lago API: GET /customers/{external_customer_id}/past_usage.
| Name | Required | Description | Default |
|---|---|---|---|
| periods_count | No | Number of past billing periods to return. | |
| billable_metric_code | No | Filter usage to a specific billable metric code. | |
| external_customer_id | Yes | The customer external unique identifier. | |
| external_subscription_id | Yes | The subscription's external unique identifier (required). |
lago_get_customer_portal_urlGet customer portal URLRead-onlyInspect
Get a customer's billing portal URL. Lago API: GET /customers/{external_customer_id}/portal_url.
| Name | Required | Description | Default |
|---|---|---|---|
| external_customer_id | Yes | The customer external unique identifier. |
lago_get_invoiceGet invoiceRead-onlyInspect
Retrieve a single invoice by its Lago id. Lago API: GET /invoices/{lago_id}.
| Name | Required | Description | Default |
|---|---|---|---|
| lago_id | Yes | The invoice's Lago id (UUID). |
lago_get_planGet planRead-onlyInspect
Retrieve a single plan by code. Lago API: GET /plans/{code}.
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The plan's unique code. |
lago_get_subscriptionGet subscriptionRead-onlyInspect
Retrieve a single subscription by external id. Lago API: GET /subscriptions/{external_id}.
| Name | Required | Description | Default |
|---|---|---|---|
| external_id | Yes | The subscription's external unique identifier. |
lago_list_add_onsList add-onsRead-onlyInspect
List add-ons, paginated. Lago API: GET /add_ons.
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination. | |
| per_page | No | Number of records per page. |
lago_list_billable_metricsList billable metricsRead-onlyInspect
List billable metrics, paginated. Lago API: GET /billable_metrics.
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination. | |
| per_page | No | Number of records per page. |
lago_list_couponsList couponsRead-onlyInspect
List coupons, paginated. Lago API: GET /coupons.
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination. | |
| per_page | No | Number of records per page. |
lago_list_credit_notesList credit notesRead-onlyInspect
List credit notes, optionally filtered by customer. Lago API: GET /credit_notes.
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination. | |
| per_page | No | Number of records per page. | |
| external_customer_id | No | Filter by customer external id. |
lago_list_customersList customersRead-onlyInspect
List customers in Lago, paginated. Lago API: GET /customers.
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination. | |
| per_page | No | Number of records per page. |
lago_list_customer_subscriptionsList customer subscriptionsRead-onlyInspect
List a customer's subscriptions. Lago API: GET /customers/{external_customer_id}/subscriptions.
| Name | Required | Description | Default |
|---|---|---|---|
| external_customer_id | Yes | The customer external unique identifier. |
lago_list_feesList feesRead-onlyInspect
List fees, optionally filtered by customer, subscription, or fee type. Lago API: GET /fees.
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination. | |
| fee_type | No | Filter by fee type: charge | add_on | subscription | credit | commitment. | |
| per_page | No | Number of records per page. | |
| external_customer_id | No | Filter by customer external id. | |
| external_subscription_id | No | Filter by subscription external id. |
lago_list_invoicesList invoicesRead-onlyInspect
List invoices, optionally filtered by customer, status, payment status, or issuing date. Lago API: GET /invoices.
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination. | |
| status | No | Filter by a single status: draft | finalized | failed | pending | voided. | |
| per_page | No | Number of records per page. | |
| payment_status | No | Filter by a single payment status: pending | failed | succeeded. | |
| issuing_date_to | No | Filter invoices issued on/before this date (yyyy-mm-dd). | |
| issuing_date_from | No | Filter invoices issued on/after this date (yyyy-mm-dd). | |
| external_customer_id | No | Filter by customer external id. |
lago_list_plansList plansRead-onlyInspect
List billing plans, paginated. Lago API: GET /plans.
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination. | |
| per_page | No | Number of records per page. |
lago_list_subscriptionsList subscriptionsRead-onlyInspect
List subscriptions, optionally filtered by customer, plan, or status. Lago API: GET /subscriptions.
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination. | |
| status | No | Filter by a single status: active | pending | canceled | terminated. Default active. | |
| per_page | No | Number of records per page. | |
| plan_code | No | Filter by plan code. | |
| external_customer_id | No | Filter by customer external id. |
lago_list_walletsList walletsRead-onlyInspect
List a customer's prepaid credit wallets. Lago API: GET /customers/{external_customer_id}/wallets.
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination. | |
| per_page | No | Number of records per page. | |
| external_customer_id | Yes | The customer external unique identifier. |
Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"maintainers": [{ "email": "your-email@example.com" }]
}The email address must match the email associated with your Glama account. Once published, Glama will automatically detect and verify the file within a few minutes.
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
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!