Orb MCP by usefulapi

v1.41.1
io.usefulapi/orb Checked 2 days ago Published 1 day ago

Read Orb customers, subscriptions, invoices, usage and costs; create or update customers.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

orb_ping Ping / auth check

Health and auth check — verifies the API key works. Orb API: GET /ping.

orb_list_customers List customers

List customers in the Orb account. Orb API: GET /customers.

ParameterTypeDescription
cursorstringOpaque pagination cursor (from pagination_metadata.next_cursor).
limitintegerMax items to return (1–100, default 20).

orb_get_customer Get customer

Fetch a single customer by Orb customer id. Orb API: GET /customers/{customer_id}.

ParameterTypeDescription
customer_id *stringOrb customer id.

orb_get_customer_by_external_id Get customer by external id

Fetch a single customer by your external customer id. Orb API: GET /customers/external_customer_id/{external_customer_id}.

ParameterTypeDescription
external_customer_id *stringYour external customer id.

orb_get_customer_costs Get customer costs

Get costs incurred by a customer over a timeframe. Orb API: GET /customers/{customer_id}/costs.

ParameterTypeDescription
customer_id *stringOrb customer id.
group_bystringPrice grouping key to break costs down by.
timeframe_endstringISO-8601 datetime, exclusive end.
timeframe_startstringISO-8601 datetime, inclusive start.
view_modestringperiodic or cumulative.

orb_get_customer_credits Get customer credit balances

Get a customer's credit balances by currency. Orb API: GET /customers/{customer_id}/credits.

ParameterTypeDescription
customer_id *stringOrb customer id.
currencystringFilter to a single currency.
include_all_blocksbooleanInclude expired/depleted blocks too.

orb_get_customer_credits_ledger Get customer credit ledger

Get the append-only credit ledger for a customer. Orb API: GET /customers/{customer_id}/credits/ledger.

ParameterTypeDescription
customer_id *stringOrb customer id.
currencystringFilter to a single currency.
cursorstringOpaque pagination cursor (from pagination_metadata.next_cursor).
entry_typestringFilter to a ledger entry type (e.g. increment, decrement, expiration_change).
limitintegerMax items to return (1–100, default 20).

orb_list_plans List plans

List plans configured in the Orb account. Orb API: GET /plans.

ParameterTypeDescription
cursorstringOpaque pagination cursor (from pagination_metadata.next_cursor).
limitintegerMax items to return (1–100, default 20).
statusstringFilter by plan status.

orb_get_plan Get plan

Fetch a single plan by id. Orb API: GET /plans/{plan_id}.

ParameterTypeDescription
plan_id *stringOrb plan id.

orb_list_subscriptions List subscriptions

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

ParameterTypeDescription
cursorstringOpaque pagination cursor (from pagination_metadata.next_cursor).
customer_idstringFilter to an Orb customer id.
external_customer_idstringFilter to your external customer id.
limitintegerMax items to return (1–100, default 20).
statusstringFilter by subscription status.

orb_get_subscription Get subscription

Fetch a single subscription by id. Orb API: GET /subscriptions/{subscription_id}.

ParameterTypeDescription
subscription_id *stringOrb subscription id.

orb_get_subscription_costs Get subscription costs

Get costs for a subscription over a timeframe. Orb API: GET /subscriptions/{subscription_id}/costs.

ParameterTypeDescription
subscription_id *stringOrb subscription id.
group_bystringPrice grouping key to break costs down by.
timeframe_endstringISO-8601 datetime, exclusive end.
timeframe_startstringISO-8601 datetime, inclusive start.
view_modestringperiodic or cumulative.

orb_get_subscription_usage Get subscription usage

Get metered usage for a subscription over a timeframe. Orb API: GET /subscriptions/{subscription_id}/usage.

ParameterTypeDescription
subscription_id *stringOrb subscription id.
granularitystringTime granularity for buckets (e.g. day).
group_bystringProperty to group usage by.
timeframe_endstringISO-8601 datetime, exclusive end.
timeframe_startstringISO-8601 datetime, inclusive start.

orb_get_subscription_schedule Get subscription schedule

Get the plan-change schedule for a subscription. Orb API: GET /subscriptions/{subscription_id}/schedule.

ParameterTypeDescription
subscription_id *stringOrb subscription id.
cursorstringOpaque pagination cursor (from pagination_metadata.next_cursor).
limitintegerMax items to return (1–100, default 20).

orb_list_invoices List invoices

List invoices, optionally filtered by customer, subscription, or status. Orb API: GET /invoices.

ParameterTypeDescription
cursorstringOpaque pagination cursor (from pagination_metadata.next_cursor).
customer_idstringFilter to an Orb customer id.
date_typestringWhich date `due_date` filters on (e.g. due_date, invoice_date).
due_datestringISO-8601 date filter.
external_customer_idstringFilter to your external customer id.
limitintegerMax items to return (1–100, default 20).
statusstringFilter by invoice status (e.g. draft, issued, paid, void).
subscription_idstringFilter to a subscription id.

orb_get_invoice Get invoice

Fetch a single invoice by id. Orb API: GET /invoices/{invoice_id}.

ParameterTypeDescription
invoice_id *stringOrb invoice id.

orb_get_upcoming_invoice Get upcoming invoice

Preview the upcoming (draft) invoice for a subscription. Orb API: GET /invoices/upcoming.

ParameterTypeDescription
subscription_id *stringOrb subscription id.

orb_list_items List items

List items (the things you bill for). Orb API: GET /items.

ParameterTypeDescription
cursorstringOpaque pagination cursor (from pagination_metadata.next_cursor).
limitintegerMax items to return (1–100, default 20).

orb_get_item Get item

Fetch a single item by id. Orb API: GET /items/{item_id}.

ParameterTypeDescription
item_id *stringOrb item id.

orb_list_prices List prices

List prices configured in the Orb account. Orb API: GET /prices.

ParameterTypeDescription
cursorstringOpaque pagination cursor (from pagination_metadata.next_cursor).
limitintegerMax items to return (1–100, default 20).

orb_get_price Get price

Fetch a single price by id. Orb API: GET /prices/{price_id}.

ParameterTypeDescription
price_id *stringOrb price id.

orb_list_metrics List billable metrics

List billable metrics configured in the Orb account. Orb API: GET /metrics.

ParameterTypeDescription
cursorstringOpaque pagination cursor (from pagination_metadata.next_cursor).
limitintegerMax items to return (1–100, default 20).

orb_list_coupons List coupons

List coupons in the Orb account. Orb API: GET /coupons.

ParameterTypeDescription
cursorstringOpaque pagination cursor (from pagination_metadata.next_cursor).
limitintegerMax items to return (1–100, default 20).
show_archivedbooleanInclude archived coupons.

orb_list_alerts List alerts

List usage/spend alerts, optionally filtered by customer or subscription. Orb API: GET /alerts.

ParameterTypeDescription
cursorstringOpaque pagination cursor (from pagination_metadata.next_cursor).
customer_idstringFilter to an Orb customer id.
external_customer_idstringFilter to your external customer id.
limitintegerMax items to return (1–100, default 20).
subscription_idstringFilter to a subscription id.

orb_create_customer Create customer

Creates a new customer in Orb (additive). Requires name and a valid email. Orb API: POST /customers.

ParameterTypeDescription
email *stringCustomer billing email (required, must be a valid email).
name *stringCustomer display name (required).
currencystringISO-4217 currency code for this customer.
external_customer_idstringYour external id for this customer.
metadataobjectUser-defined key/value metadata (string→string).
payment_providerstringExternal payment/invoicing provider.
payment_provider_idstringId of this customer in the external payment provider.
timezonestringIANA timezone (e.g. America/New_York).

orb_update_customer Update customer

Updates an existing customer's details (reversible). Only provided fields are changed. Orb API: PUT /customers/{customer_id}.

ParameterTypeDescription
customer_id *stringOrb customer id (required).
currencystringNew ISO-4217 currency code.
emailstringNew billing email (must be a valid email).
external_customer_idstringNew external id.
metadataobjectUser-defined key/value metadata (string→string).
namestringNew display name.
payment_providerstringExternal payment/invoicing provider.
payment_provider_idstringNew id in the external payment provider.
timezonestringNew IANA timezone.