5 entities and 16 agent-callable operations in billing. Each operation is addressed as {mega_tool}/billing/{entity}/{operation} and carries the same permission check over MCP and REST.
16 of 16 shown
agent_usage
Operation
Mega-tool
What it does
close_period
smart_action
Close the monthly agent-usage statement of the caller's organization for a finished calendar month.
statements
report_query
List the stored monthly agent-usage statements (draft and closed) of the caller's organization, newest period first.
summary
report_query
Live agent-run usage rollup for one calendar month of the caller's organization (not stored).
invoice
Operation
Mega-tool
What it does
list
entity_crud
List the caller's tenant's invoices, newest due date first.
read
entity_crud
Get one of the caller's tenant's invoices.
payment_method
Operation
Mega-tool
What it does
list
entity_crud
List the caller's tenant's payment methods, mirrored from Stripe.
read
entity_crud
Get one of the caller's tenant's payment methods.
plan
Operation
Mega-tool
What it does
create
entity_crud
Create a subscription plan (operator act).
list
entity_crud
List the subscription plans visible to the caller's tenant: every public plan (tenant is null) plus any plan scoped to this tenant specifically (e.g.
read
entity_crud
Get one subscription plan visible to the caller's tenant.
update
entity_crud
Update a subscription plan (operator act) — e.g.
subscription
Operation
Mega-tool
What it does
cancel
workflow_action
Cancel the tenant's Stripe subscription.
change_plan
workflow_action
Change the tenant's Stripe subscription to a different plan (proration applies).
create_checkout_session
workflow_action
Start a Stripe Checkout session for one plan (card or ACH).
create_portal_session
workflow_action
Open a Stripe Customer Portal session so the human can change the payment method on file, view invoice history, or download PDFs.
read_current
entity_crud
Billing status for the caller's tenant: whether online payments are enabled, whether a Stripe customer/subscription exists, the current plan, period end…
Parameter schemas and permissions
Parameter schemas and permission codenames are in the full reference — sign in — or call prism_introspect(dimension="capability_search", query="…") with your key.