Skip to main content
Glama
ALSO Cloud Marketplace MCP Server

ALSO Cloud Marketplace MCP Server

by pitwch

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ALSO_CLOUDPWYesYour ALSO Cloud Marketplace password. Required.
ALSO_CLOUDUSERYesYour ALSO Cloud Marketplace username/email address. Required.
ALSO_CLOUD_API_PREFIXNoOptional API prefix path (e.g. /SimpleAPI/.../rest).
ALSO_CLOUD_TIMEOUT_MSNoOptional request timeout in milliseconds (e.g. 30000).
ALSO_CLOUD_MARKETPLACEYesThe ALSO Cloud Marketplace to use. Accepts a full URL (e.g. https://marketplace.also.ch) or a country key (e.g. Switzerland, Germany, Austria, Debug). Required.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

ALSO Cloud Marketplace MCP — REQUIRED tool choice rules:

NEVER:

  • Do NOT call get_reports / execute_report / get_owned_marketplaces to find companies or list subscriptions.

  • Do NOT read local source files (also-client.ts, api-catalog.ts, …) to discover tools.

  • Do NOT call validate_session before every request (login is automatic).

  • Do NOT call get_subscriptions without needing it — prefer list_company_subscriptions / list_azure_subscriptions.

  • Do NOT create/update subscriptions (create_subscription, etc.) unless the user explicitly asks to ORDER/BOOK something.

  • Do NOT use approve/decline_credit_check_order for anything except credit checks (Bonitätsprüfung).

ALWAYS: 0) parentAccountId is optional everywhere: it defaults to the configured or auto-detected own account. get_my_account shows it.

  1. Company by name → find_companies OR list_company_subscriptions(companyName=…). Watch possibleDuplicates in the result.

  2. Subscriptions of one company → list_company_subscriptions (compact by design)

  3. All Azure Plan / RI / Savings Plan across customers → list_azure_subscriptions

  4. Exchange / change / renew a Reserved Instance or Savings Plan (Reservation tauschen) → get_reservation_options first; it names the next tool or says the web portal is required.

  5. Empty choice lists in get_fields_for_service (SKU, Region, ProductSegment, …) → get_remote_enums (cascading: pass earlier choices in contextValues). Any other read without a dedicated tool → api_read (read-only), never api_request.

  6. Reports → get_reports for valid names, then execute_report with an exact name.

  7. get_subscriptions / get_subscription return COMPACT summaries by default. Only pass fullDetail=true if the user explicitly needs raw Fields.

Azure Reserved Instances / Savings Plans have remote pricing fields; ALSO's Simple API rejects ValidateFields / CreateSubscription for them, so validate_subscription_fields / create_subscription refuse them locally. Order them with order_azure_reservation (ALSO portal API): fill the values via get_remote_enums (ProductCatalogue -> ProductSegment -> Ordertype -> SKU), run order_azure_reservation as dry run (default), show the user SKU, quantity, term and price, and only after explicit confirmation call it again with confirmOrder=true. Check the result later with get_subscription (Microsoft needs up to an hour). They live UNDER the customer's Azure Plan subscription with the Microsoft tenant subscription as dependency; get_remote_enums resolves both from the company ID.

Subscription payloads: Fields is a name → value OBJECT for create/validate/upgrade/renew, but a [{name, value}] list for update_subscription.

Writes require an explicit user confirmation to order/book.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_marketplacesA

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

list_api_endpointsA

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

validate_sessionA

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

get_my_accountA

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_companiesA

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).

list_company_subscriptionsA

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-customer Azure overview (use list_azure_subscriptions).

list_azure_subscriptionsA

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.

get_reservation_optionsA

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.

clear_sessionA

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

get_companyC

GetCompany — company by accountId.

get_companiesA

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

get_company_by_vat_idD

GetCompanyByVatId.

get_resellerC

GetReseller — reseller by accountId.

get_resellersC

GetResellers — resellers under parentAccountId.

get_reseller_by_vat_idC

GetResellerByVatId.

get_departmentC

GetDepartment — department by accountId.

get_departmentsC

GetDepartments — departments under parentAccountId.

get_userC

GetUser — user by accountId.

get_usersC

GetUsers — users under companyAccountId.

get_subscriptionA

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

get_subscriptionsA

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

get_subscription_with_addonsC

GetSubscriptionWithAddons — full detail for one subscription including addons.

get_possible_services_for_parentC

GetPossibleServicesForParent — services a parent can subscribe to.

get_reportsA

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

execute_reportA

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.

get_latest_invoicesC

GetLatestInvoices for the authenticated account.

get_latest_invoices_for_periodC

GetLatestInvoicesForPeriod — invoices for year/month.

get_preview_invoicesC

GetPreviewInvoices — current open billing month preview.

get_invoice_aggregation_reportD

GetInvoiceAggregationReport for year/month.

get_owned_marketplacesC

GetMarketplaces — marketplaces owned by the company (API).

list_marketplace_servicesD

ListMarketplaceServices for marketplaceId.

get_available_services_for_marketplaceD

GetAvailableServicesForMarketplace.

get_service_informationC

GetServiceInformation by serviceName.

get_credit_limitC

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

get_security_rolesA

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

get_special_dealC

GetSpecialDeal discounts for accountId.

create_companyA

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.

update_companyA

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.

create_resellerC

WRITE: CreateReseller. Pass resellerAccount object.

update_resellerC

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

create_departmentC

WRITE: CreateDepartment. Pass departmentAccount object.

update_departmentB

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

create_userC

WRITE: CreateUser under selected parent. Pass userAccount object.

update_userC

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

get_fields_for_serviceA

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.

validate_subscription_fieldsA

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.

create_subscriptionA

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.

update_subscriptionA

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, new quantity and price (seat increases are charged). For RI/Savings Plan exchange use get_reservation_options first.

get_account_custom_actionsA

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

execute_account_custom_actionA

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.

retry_last_failed_provisioningC

WRITE: RetryLastFailedProvisioning for a subscription accountId.

get_possible_services_for_upgradeA

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.

get_subscription_fields_for_upgradeA

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

execute_subscription_upgradeA

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

get_subscription_fields_for_renewC

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

configure_subscription_renewB

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

reset_default_renew_valuesB

WRITE: ResetDefaultRenewValues — clears saved renew config for accountId.

set_credit_limitA

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

list_credit_check_orders_for_approvalC

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

approve_credit_check_orderA

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.

decline_credit_check_orderA

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.

set_special_dealA

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

get_remote_enumsA

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); the purchase price (Einkaufspreis) is only filled when ALSO sends it (prices.purchase), otherwise null. Pass the company Account ID: for RI / Savings Plan products the Azure Plan subscription is used as parent automatically, and the Microsoft tenant subscription + tenant ID are added. Read-only.

order_azure_reservationA

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, SKU, quantity, term and price. Get field values first with get_remote_enums (ProductCatalogue → ProductSegment → Ordertype → SKU; Ownerpermissions optional). Pass the company Account ID; the Azure Plan subscription and Microsoft tenant are resolved automatically.

api_readA

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).

api_requestA

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.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

C2.7/5.0

Scored across 66 tools

Disambiguation3/5

Descriptions are unusually rich, with explicit "PREFERRED for…", "Not for…" and cross-references, which rescues a lot of the overlap. Still, several pairs are genuinely confusable: get_companies vs find_companies, get_subscriptions vs list_company_subscriptions vs list_azure_subscriptions, get_subscription vs get_subscription_with_addons, get_fields_for_service vs get_remote_enums, and api_read vs api_request. An agent must read the long prose to pick correctly rather than relying on names.

Naming Consistency4/5

Almost everything follows snake_case verb_noun (get_/list_/create_/update_/set_/execute_/validate_/approve_), with matching singular/plural pairs like get_company/get_companies and get_user/get_users. Minor deviations exist: the generic escape hatches api_read/api_request are noun-form, and long qualifier-suffixed names (list_credit_check_orders_for_approval, get_possible_services_for_upgrade) break the terse pattern.

Tool Count2/5

66 tools is far past the point where an agent can hold the surface in context, and the presence of two generic catch-all tools (api_read/api_request) shows the dedicated tools do not fully partition the API. The domain is broad (accounts, subscriptions, billing, reports, Azure reservations), so the count is not absurd, but it is heavy and the ~2-4 tools per sub-domain often duplicate rather than add capability.

Completeness4/5

Coverage is strong across the lifecycle: company/reseller/department/user create-update, subscription read-create-update-upgrade-renew, invoices, reports, credit limits, special deals, credit-check approvals and Azure RI/SP ordering plus a dry-run mode. The one real gap is deletions/terminations (TerminateAccount, DeleteSpecialDeal, marketplace deletes), which are only reachable through the destructive api_request rather than a described dedicated tool.

Maintenance

ActivityNo data
ResponsivenessOutdated data