also-cloud-marketplace-mcp

v0.5.8
io.github.pitwch/also-cloud-marketplace-mcp Checked 3 days ago Published 7 days ago

ALSO Cloud Marketplace API: companies, subscriptions, Azure plans, invoices (MCP stdio).

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

list_marketplaces ALSO country base URLs

Static list of ALSO country keys and their base URLs (Switzerland, Germany, Debug, …). Local data, no API call, no credentials required.

list_api_endpoints List Simple API endpoints

Catalog of MarketplaceSimpleAPI 1.0.0 endpoints with tags, summaries, dedicated MCP tool names (if any), and write/destructive risk flags.

ParameterTypeDescription
onlyReadablebooleanIf true, exclude write/destructive endpoints
tagstringFilter by tag, e.g. Company, Subscription

validate_session Validate session

Optional health check (PingPong). Login is automatic on other tools — do not call this before every query.

get_my_account Get my account (default parent)

Returns the own account of the API user: the parentAccountId all other tools use by default, its source (env or auto-detected) and the company/reseller name. Use for: "what is my parentAccountId / account?" Call this first if a tool complains about a missing parentAccountId.

find_companies Find companies by name

PREFERRED to locate an end-customer company (Kunde/Firma) by name. Calls GetCompanies under the parent and matches CompanyName case-, umlaut- and legal-form-insensitively: substring, word prefixes ("beisp hand"), initials ("BH"), customer ID and domain; if nothing matches directly, abbreviations ("BP" → Beispiel …) and small typos are returned as matchMode "fuzzy" (confirm with the user). Each hit has matchType. Flags near-identical names as possibleDuplicates. Not for: reports, invoices, subscriptions (use list_company_subscriptions).

ParameterTypeDescription
name *stringCompany name, fragment, abbreviation, initials, customer ID or domain, e.g. "Demo", "Demo AG", "DA"
parentAccountIdintegerParent (reseller) account that owns the end-customer companies. Optional: defaults to ALSO_CLOUD_PARENT_ACCOUNT_ID or the auto-detected own account (get_my_account).

list_company_subscriptions List company subscriptions (compact)

PREFERRED for "which subscriptions/licences does company X have?". Resolves the company by accountId or name, then GetSubscriptions. Compact summary (no huge Fields arrays) incl. quantity, billingType / term (e.g. P1Y), contractEndDate, autoRenew / renewalAction, fullRefundUntil, unit prices (purchase / sales / retail) and monthlySalesTotal / monthlyPurchaseTotal. Azure Reserved Instances / Savings Plans (addons of the Azure Plan subscription, field addonOf) are included. activeOnly=true (default) returns active services only; activeOnly=false also lists terminated ones. Not for: cross-custome…

ParameterTypeDescription
accountIdintegerCompany Account ID if already known
activeOnlybooleanOnly return subscriptions with AccountState Active
companyNamestringCompany name to search when accountId is unknown
excludeUserLevelboolean
parentAccountIdintegerParent (reseller) account that owns the end-customer companies. Optional: defaults to ALSO_CLOUD_PARENT_ACCOUNT_ID or the auto-detected own account (get_my_account).

list_azure_subscriptions List Azure / RI / Savings Plan portfolio

PREFERRED for an Azure Plan, Reserved Instance and Savings Plan overview across all end customers under the parent. Returns compact rows (company + subscription). Do NOT loop get_subscriptions per company manually. To exchange or change a reservation use get_reservation_options.

ParameterTypeDescription
activeOnlybooleanOnly Active subscriptions
companyNamestringOptional filter: only companies whose name contains this
parentAccountIdintegerParent (reseller) account that owns the end-customer companies. Optional: defaults to ALSO_CLOUD_PARENT_ACCOUNT_ID or the auto-detected own account (get_my_account).

get_reservation_options Reservation / Savings Plan exchange & change options

READ-ONLY. Use for: "Reservation tauschen / ändern", exchange, swap, modify, scope change, cancel or renew of Azure Reserved Instances (RI) and Savings Plans. For each RI/SP subscription it lists the available custom actions, upgrade/switch targets and renew fields, plus the concrete next tool to call (or states that only the web portal can do it). Pass a subscription accountId, or a company (accountId/name) to check all its RIs/SPs. Not for: credit checks (Bonitätsprüfung) or ordering new services.

ParameterTypeDescription
companyAccountIdintegerCompany Account ID: checks all its active RIs / Savings Plans
companyNamestringCompany name if no Account ID is known
parentAccountIdintegerParent (reseller) account that owns the end-customer companies. Optional: defaults to ALSO_CLOUD_PARENT_ACCOUNT_ID or the auto-detected own account (get_my_account).
subscriptionAccountIdintegerAccount ID of one RI / Savings Plan subscription

clear_session Clear session

Drop the cached session token (forces fresh login on next call).

get_company Get company

GetCompany — company by accountId.

ParameterTypeDescription
accountId *integerALSO Cloud Account ID

get_companies Get companies

GetCompanies — all first-level companies under parentAccountId. To search by name prefer find_companies.

ParameterTypeDescription
parentAccountIdintegerParent Account ID. Optional: defaults to ALSO_CLOUD_PARENT_ACCOUNT_ID or the auto-detected own account (see get_my_account).

get_company_by_vat_id Get company by VAT ID

GetCompanyByVatId.

ParameterTypeDescription
vatId *stringVAT / UID number

get_reseller Get reseller

GetReseller — reseller by accountId.

ParameterTypeDescription
accountId *integerALSO Cloud Account ID

get_resellers Get resellers

GetResellers — resellers under parentAccountId.

ParameterTypeDescription
parentAccountIdintegerParent Account ID. Optional: defaults to ALSO_CLOUD_PARENT_ACCOUNT_ID or the auto-detected own account (see get_my_account).

get_reseller_by_vat_id Get reseller by VAT ID

GetResellerByVatId.

ParameterTypeDescription
vatId *stringVAT / UID number

get_department Get department

GetDepartment — department by accountId.

ParameterTypeDescription
accountId *integerALSO Cloud Account ID

get_departments Get departments

GetDepartments — departments under parentAccountId.

ParameterTypeDescription
parentAccountIdintegerParent Account ID. Optional: defaults to ALSO_CLOUD_PARENT_ACCOUNT_ID or the auto-detected own account (see get_my_account).

get_user Get user

GetUser — user by accountId.

ParameterTypeDescription
accountId *integerALSO Cloud Account ID

get_users Get users

GetUsers — users under companyAccountId.

ParameterTypeDescription
companyAccountId *integerCompany Account ID

get_subscription Get subscription

GetSubscription by accountId. Prefer list_company_subscriptions. Always compact unless fullDetail=true.

ParameterTypeDescription
accountId *integerALSO Cloud Account ID
fullDetailbooleanIf true, return the raw API payload (Fields/PriceableItems). Default false = compact summary. Secrets like InitialPassword are redacted.
resellerContextintegerOptional reseller context Account ID (omit if unused)

get_subscriptions Get subscriptions

GetSubscriptions under parentAccountId. Prefer list_company_subscriptions / list_azure_subscriptions. Always compact unless fullDetail=true.

ParameterTypeDescription
activeOnlybooleanWhen compact (default), only include Active subscriptions
excludeUserLevelbooleanIf true, exclude user-level subscriptions
fullDetailbooleanIf true, return the raw API payload (Fields/PriceableItems). Default false = compact summary. Secrets like InitialPassword are redacted.
parentAccountIdintegerParent Account ID. Optional: defaults to ALSO_CLOUD_PARENT_ACCOUNT_ID or the auto-detected own account (see get_my_account).
resellerContextintegerOptional reseller context Account ID (omit if unused)

get_subscription_with_addons Get subscription with addons

GetSubscriptionWithAddons — full detail for one subscription including addons.

ParameterTypeDescription
accountId *integerALSO Cloud Account ID
resellerContextintegerOptional reseller context Account ID (omit if unused)

get_possible_services_for_parent Get possible services for parent

GetPossibleServicesForParent — services a parent can subscribe to.

ParameterTypeDescription
parentAccountIdintegerParent Account ID. Optional: defaults to ALSO_CLOUD_PARENT_ACCOUNT_ID or the auto-detected own account (see get_my_account).

get_reports Get reports

GetReports — list the report names valid for execute_report. Not for: finding companies or subscriptions (use find_companies / list_company_subscriptions).

execute_report Execute report

ExecuteReport — run a named report. reportName MUST be one of the names returned by get_reports (exact, case-insensitive match is corrected). An unknown name returns the list of valid names instead of calling the API. Not for: finding companies or subscriptions.

ParameterTypeDescription
reportName *stringExact report name from get_reports
columnsobject
parametersobject

get_latest_invoices Get latest invoices

GetLatestInvoices for the authenticated account.

ParameterTypeDescription
groupByDepartmentsboolean
resellerContextintegerOptional reseller context Account ID (omit if unused)

get_latest_invoices_for_period Get invoices for period

GetLatestInvoicesForPeriod — invoices for year/month.

ParameterTypeDescription
month *integer
year *integer
groupByDepartmentsboolean
resellerContextintegerOptional reseller context Account ID (omit if unused)

get_preview_invoices Get preview invoices

GetPreviewInvoices — current open billing month preview.

ParameterTypeDescription
groupByDepartmentsboolean
resellerContextintegerOptional reseller context Account ID (omit if unused)

get_invoice_aggregation_report Get invoice aggregation report

GetInvoiceAggregationReport for year/month.

ParameterTypeDescription
monthinteger
resellerContextintegerOptional reseller context Account ID (omit if unused)
yearinteger

get_owned_marketplaces Get owned marketplaces

GetMarketplaces — marketplaces owned by the company (API).

list_marketplace_services List marketplace services

ListMarketplaceServices for marketplaceId.

ParameterTypeDescription
marketplaceId *integer

get_available_services_for_marketplace Get available marketplace services

GetAvailableServicesForMarketplace.

ParameterTypeDescription
marketplaceId *integer
filtersarray

get_service_information Get service information

GetServiceInformation by serviceName.

ParameterTypeDescription
serviceName *string

get_credit_limit Get credit limit

GetCreditLimit — current credit limit (Kreditlimite) of a company.

ParameterTypeDescription
accountId *integerALSO Cloud Account ID

get_security_roles Get security roles

GetSecurityRoles — security roles and their users for a company/reseller. To find your own account ID use get_my_account.

ParameterTypeDescription
accountIdintegerALSO Cloud Account ID

get_special_deal Get special deal

GetSpecialDeal discounts for accountId.

ParameterTypeDescription
accountId *integerALSO Cloud Account ID

create_company Create company

WRITE: CreateCompany — creates a new end-customer company (Kunde anlegen) under ParentAccountId. Verify with find_companies first to avoid duplicates. Only after explicit user confirmation.

ParameterTypeDescription
companyAccount *objectCreateCompany payload (MarketplaceSimpleAPI CompanyCreateRequest).

update_company Update company

WRITE: UpdateCompany — changes master data (name, e-mail, address, VAT) of an existing company. Pass AccountId + only changed fields. Not for: subscriptions or credit limits.

ParameterTypeDescription
company *objectUpdateCompany payload. Required by ALSO: AccountId, CompanyName, Address, City, Zip, Email, Domain — send current values (from get_company) for fields you do not change.

create_reseller Create reseller

WRITE: CreateReseller. Pass resellerAccount object.

ParameterTypeDescription
resellerAccount *objectResellerAccount payload

update_reseller Update reseller

WRITE: UpdateReseller. Pass reseller object with accountId and fields to change.

ParameterTypeDescription
reseller *objectReseller update: AccountId + fields to change, field names as returned by the matching get_* tool.

create_department Create department

WRITE: CreateDepartment. Pass departmentAccount object.

ParameterTypeDescription
departmentAccount *objectDepartmentAccount payload

update_department Update department

WRITE: UpdateDepartment. Pass department object with accountId and fields to change.

ParameterTypeDescription
department *objectDepartment update: AccountId + fields to change, field names as returned by the matching get_* tool.

create_user Create user

WRITE: CreateUser under selected parent. Pass userAccount object.

ParameterTypeDescription
userAccount *objectCreateUser payload.

update_user Update user

WRITE: UpdateUser. Pass user object with accountId and settings to change.

ParameterTypeDescription
user *objectUpdateUser payload (AccountId, FirstName, LastName required).

get_fields_for_service Get fields for service

GetFieldsForService — field definitions needed before CreateSubscription / ValidateFields. Remote choice lists (e.g. SKU, Region) may come back empty; load their values with get_remote_enums.

ParameterTypeDescription
parentAccountId *integerParent account under which to add the service
productName *stringInternal service / product name
secondaryParentIdintegerOptional secondary parent (e.g. some Microsoft subscriptions)

validate_subscription_fields Validate subscription fields

ValidateFields — validates a subscriptionAccount before create_subscription. Does not provision. First checks the payload locally against get_fields_for_service (mandatory fields, patterns, ranges, enum values) and returns the concrete problems instead of ALSO's generic HTTP 500. Not for: Azure Reserved Instances / Savings Plans (remote pricing, not supported by the Simple API): use order_azure_reservation.

ParameterTypeDescription
subscriptionAccount *objectSubscriptionAccount payload; other API fields are passed through.

create_subscription Create subscription

WRITE: CreateSubscription — orders/provisions a new service (cost!). Only after explicit user confirmation. Microsoft NCE products need PurchaseOrderCommitment=true (confirms the commitment term). Runs the same local field precheck as validate_subscription_fields and refuses to call ALSO if mandatory fields are missing or invalid. Not for: Azure Reserved Instances / Savings Plans (remote pricing fields, not supported by the Simple API): use order_azure_reservation.

ParameterTypeDescription
subscriptionAccount *objectSubscriptionAccount payload; other API fields are passed through.

update_subscription Update subscription

WRITE: UpdateSubscription — changes field values (e.g. Quantity / seats, Lizenzen erhöhen) of an existing subscription. Pass AccountId + only the changed Fields. The MCP adds ServiceName and ParentAccountId from the subscription (without ParentAccountId ALSO fails with "Couldn't validate fields … Unhandled exception"), types values like the field definition and first validates the change with ValidateFields (update mode); if ALSO rejects it there, UpdateSubscription is NOT called. Microsoft NCE changes need PurchaseOrderCommitment=true. Only after explicit user confirmation of product, ne…

ParameterTypeDescription
subscription *objectUpdateSubscription payload (AccountId and Fields required).

get_account_custom_actions Get account custom actions

GetAccountCustomActionsWithFields — lists custom actions (with fields) available for one subscription. For Reserved Instances / Savings Plans prefer get_reservation_options.

ParameterTypeDescription
accountId *integerALSO Cloud Account ID

execute_account_custom_action Execute account custom action

WRITE: ExecuteAccountCustomAction — runs a named custom action on a subscription (e.g. exchange/modify of a reservation when the service offers it). Get action names and fields from get_reservation_options or get_account_custom_actions.

ParameterTypeDescription
action *stringCustom action name
subscriptionAccount *object

retry_last_failed_provisioning Retry last failed provisioning

WRITE: RetryLastFailedProvisioning for a subscription accountId.

ParameterTypeDescription
accountId *integerALSO Cloud Account ID

get_possible_services_for_upgrade Get possible upgrade services

GetPossibleServicesForUpgrade — target PRODUCTS a subscription can be upgraded/switched to. Not an RI exchange: for monthly Reserved Instances the size is in the SKU field and ALSO returns HTTP 500 here; use get_reservation_options.

ParameterTypeDescription
accountId *integerALSO Cloud Account ID

get_subscription_fields_for_upgrade Get subscription fields for upgrade

GetSubscriptionFieldsForUpgrade — fields for an upgrade to targetProductName (from get_possible_services_for_upgrade). Returns HTTP 500 for monthly Reserved Instances (ALSO-side).

ParameterTypeDescription
accountId *integerALSO Cloud Account ID
targetProductName *stringTechnical name of the destination product

execute_subscription_upgrade Execute subscription upgrade

WRITE: ExecuteSubscriptionUpgrade — switches/upgrades a subscription to targetProductName (product change, not an RI size/SKU exchange). Only after explicit user confirmation.

ParameterTypeDescription
fieldValues *objectField name → value, e.g. {"SKU": "...", "QuantityVcores": 1}. Names from get_fields_for_service.
sourceAccountId *integerSubscription account to upgrade
targetProductName *string
purchaseOrderCommitmentbooleanConfirm PO commitment if required by target product
targetAccountIdinteger

get_subscription_fields_for_renew Get subscription fields for renew

GetSubscriptionFieldsForRenew — renewal (Verlängerung) fields of a subscription, e.g. term or auto-renew.

ParameterTypeDescription
accountId *integerALSO Cloud Account ID

configure_subscription_renew Configure subscription renew

WRITE: ConfigureSubscriptionRenew — stores renew field values applied at subscription end date.

ParameterTypeDescription
accountId *integerALSO Cloud Account ID
fieldValues *objectField name → value, e.g. {"SKU": "...", "QuantityVcores": 1}. Names from get_fields_for_service.

reset_default_renew_values Reset default renew values

WRITE: ResetDefaultRenewValues — clears saved renew config for accountId.

ParameterTypeDescription
accountId *integerALSO Cloud Account ID

set_credit_limit Set credit limit

WRITE: SetCreditLimit. Omit limit (or leave empty per API) to remove the credit limit; comment is required.

ParameterTypeDescription
accountId *integerALSO Cloud Account ID
comment *stringReason for setting/changing the credit limit
limitnumberNew limit; omit to clear per API rules

list_credit_check_orders_for_approval List credit check orders

ListCreditCheckOrdersForApproval — orders waiting for a credit check (Bonitätsprüfung) approval.

approve_credit_check_order Approve credit check order

WRITE: ApproveCreditCheckOrder — approves an order that is blocked by the credit check (Bonitätsprüfung freigeben). Pass the entry from list_credit_check_orders_for_approval. Not for: Azure Reserved Instances / Savings Plans (exchange/Tausch → get_reservation_options), invoices or subscriptions.

ParameterTypeDescription
order *objectOne entry from list_credit_check_orders_for_approval (RequestId required, Comment recommended); other fields of that entry may be passed as-is.

decline_credit_check_order Decline credit check order

WRITE: DeclineCreditCheckOrder — rejects an order that is blocked by the credit check (Bonitätsprüfung ablehnen). Pass the entry from list_credit_check_orders_for_approval. Not for: Azure Reserved Instances / Savings Plans (exchange/Tausch → get_reservation_options), invoices or subscriptions.

ParameterTypeDescription
order *objectOne entry from list_credit_check_orders_for_approval (RequestId required, Comment recommended); other fields of that entry may be passed as-is.

set_special_deal Set special deal

WRITE: SetSpecialDeal — creates/updates a special price discount (Sonderkondition) for accountId. Not for: credit limits or reservations.

ParameterTypeDescription
accountId *integerALSO Cloud Account ID
specialDeal *objectSetSpecialDeal payload (ChargeStreamId and ValidUntil required).

get_remote_enums Get remote choice values for a field

GetRemoteEnums — allowed values of a choice field whose list is empty in get_fields_for_service (e.g. ProductCatalogue → ProductSegment → Product → Region → SKU, Ordertype, ScopedSubscriptions for Azure Reserved Instances). Lists are cascading: pass the values chosen so far in contextValues. With Ordertype="Recommended" the SKU list contains Microsoft usage-based suggestions (suggestedQuantity, savingsAsReportedByAlso: ALSO value, flagged when implausible); Lookbackperioddays = "7 days" | "30 days" (default) | "60 days". SKU entries include salesPricePerUnitMonthly (Verkaufspreis); t…

ParameterTypeDescription
fieldName *stringField to resolve, e.g. "ProductSegment"
parentAccountId *integerCompany Account ID (or the Azure Plan subscription ID) the product will be ordered for
serviceName *stringTechnical product name, exactly as returned by get_possible_services_for_parent (ProductName); "Product_" prefix optional
accountIdintegerExisting subscription Account ID when resolving values for an update
contextValuesobjectValues chosen for earlier fields, e.g. {"ProductCatalogue":"Azure Reservations","ProductSegment":"AzureReservationsVM"}
dependencyAccountIdintegerDependency subscription (Microsoft tenant). Auto-detected if omitted.
timeoutSecondsintegerSome lists (e.g. SKU) take >30 s at ALSO

order_azure_reservation Order Azure Reserved Instance / Savings Plan

WRITE (cost!): orders an Azure Reserved Instance or Savings Plan (services with remote pricing fields, which the Simple API create_subscription cannot order). Uses the ALSO web portal API (undocumented by ALSO, same login). Default confirmOrder=false = dry run: builds the exact portal payload, applies the form rules (Ordertype Recommended hides Product/Region; Scope Shared hides ScopedSubscriptions), checks mandatory fields and runs ALSO's order validation. Nothing is ordered. confirmOrder=true places the real order (1 or 3 year commitment) — only after the user explicitly confirmed product,…

ParameterTypeDescription
fields *objectField name → value, e.g. {"ProductCatalogue":"Azure Reservations","ProductSegment":"AzureReservationsVM","Ordertype":"Recommended","Lookbackperioddays":"30 days","SKU":"<exact value from get_remote_…
parentAccountId *integerCompany Account ID (or the Azure Plan subscription ID)
serviceName *stringTechnical product name, e.g. 123456_AzureReservedInstanceforAzurePlanMonthlyBilled_12345
confirmOrderbooleanfalse (default) = dry run, nothing ordered. true = place the real, chargeable order.
purchaseOrderNumberstringOptional own purchase order number (billing reports)

api_read API read (read-only)

Read-only generic Simple API call for endpoints WITHOUT a dedicated tool. Only Get*/List* endpoints are allowed (e.g. GetRemoteEnums, GetRemoteEnumValuesForCustomAction, GetSubscriptionDependencies, GetSpecialProductTermsForService, GetMarketplaceServiceCharges); anything else is rejected. For empty SKU / Region choice lists use get_remote_enums. Not for: writes or deletes (use api_request).

ParameterTypeDescription
endpoint *stringRead endpoint name, e.g. GetRemoteEnums
bodyobjectJSON request body (ALSO read endpoints are called via POST)
methodstringPOST for almost all ALSO endpoints; GET only if an endpoint requires it
queryobject

api_request API request

WRITE / DESTRUCTIVE generic Simple API call. For pure reads use api_read instead. Use this only for destructive ops (TerminateAccount, DeleteMarketplace*, DeleteSpecialDeal) and rare write endpoints, after explicit user confirmation. ALSO Simple API is POST-only for almost all operations.

ParameterTypeDescription
endpoint *stringEndpoint name, e.g. CreateCompany or TerminateAccount
bodyJSON request body
methodstringHTTP method (almost always POST for ALSO Simple API)
queryobject