Skip to main content
Glama
ALSO Cloud Marketplace MCP Server

ALSO Cloud Marketplace MCP Server

by pitwch

Create subscription

create_subscription
Destructive

Orders or provisions a new service after explicit user confirmation, validating required fields and NCE purchase-order commitment before submitting to ALSO.

Instructions

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.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "subscriptionAccount": "<subscriptionAccount>"
    },
    "name": "create_subscription"
  }
}

Input Schema

NameRequiredDescriptionDefault
subscriptionAccountYesSubscriptionAccount payload; other API fields are passed through.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.5.5
    • changedInput schema / properties / subscriptionAccount / description
      Previous value: -"SubscriptionAccount payload"New value: +"SubscriptionAccount payload; other API fields are passed through."
    • addedInput schema / properties / subscriptionAccount / properties
      Added value: +{
      +  "ContractId": {
      +    "type": "string"
      +  },
      +  "DependencyAccountId": {
      +    "description": "Dependency subscription, e.g. the Microsoft tenant subscription for Azure / RI products",
      +    "maximum": 9007199254740991,
      +    "minimum": -9007199254740991,
      +    "type": "integer"
      +  },
      +  "Fields": {
      +    "anyOf": [
      +      {
      +        "additionalProperties": {},
      +        "description": "Field name → value, e.g. {\"SKU\": \"...\", \"QuantityVcores\": 1}. Names from get_fields_for_service.",
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      },
      +      {
      +        "items": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "Name": {
      +              "type": "string"
      +            },
      +            "Value": {}
      +          },
      +          "required": [
      +            "Name",
      +            "Value"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    ],
      +    "description": "Field name → value OBJECT as ALSO expects, e.g. {\"Quantity\":5}. A [{Name,Value}] list is converted automatically. Field names and allowed values via get_fields_for_service."
      +  },
      +  "FieldsToValidate": {
      +    "description": "ValidateFields only: restrict validation to these field names",
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  "ParentAccountId": {
      +    "description": "Parent account: the company, but for Azure Reserved Instances / Savings Plans the customer Azure Plan subscription (precheck tells you the right ID)",
      +    "maximum": 9007199254740991,
      +    "minimum": -9007199254740991,
      +    "type": "integer"
      +  },
      +  "PurchaseOrderCommitment": {
      +    "description": "CreateSubscription: true confirms the commitment term (BillingType, e.g. P1M / P1Y). Required by ALSO for Microsoft NCE products (\"requires purchase order commitment\"); set it only after the user confirmed product, term and price.",
      +    "type": "boolean"
      +  },
      +  "PurchaseOrderNumber": {
      +    "type": "string"
      +  },
      +  "QuoteId": {
      +    "type": "string"
      +  },
      +  "ScheduledDate": {
      +    "description": "YYYY-MM-DD",
      +    "type": "string"
      +  },
      +  "ServiceName": {
      +    "description": "Technical product name, exactly as returned by get_possible_services_for_parent (ProductName)",
      +    "minLength": 1,
      +    "type": "string"
      +  }
      +}
    • removedInput schema / properties / subscriptionAccount / propertyNames
      Removed value: -{
      -  "type": "string"
      -}
    • addedInput schema / properties / subscriptionAccount / required
      Added value: +[
      +  "ParentAccountId",
      +  "ServiceName",
      +  "Fields"
      +]
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already mark this destructive, non-idempotent, open-world write, and the description adds genuinely new behavior: the operation is billable, it requires user confirmation, it runs the same local field precheck as validate_subscription_fields, it refuses to call ALSO on invalid mandatory fields, and NCE products require PurchaseOrderCommitment=true. These are exactly the traits an agent needs before invoking a charged write.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the safety-critical WRITE/cost signal, and every clause carries information (confirmation gate, precheck, exclusion). The telegraphic ALL-CAPS and parenthetical asides make it denser than necessary but nothing is truly redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter but deeply nested destructive write with no output schema, it covers preconditions, validation behavior, and the unsupported-product escape hatch. It stops short of describing what the call returns (e.g., a subscription/order identifier) or what happens on partial failure, which would matter for a billed creation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the nested SubscriptionAccount/Fields/PurchaseOrderCommitment semantics are already documented field-by-field, so the baseline applies. The description reinforces the NCE/PurchaseOrderCommitment constraint but largely echoes what the schema already says, adding no new syntax or format detail.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb+resource spanning two words ("CreateSubscription — orders/provisions a new service") and immediately flags the cost implication. It separates itself from validate_subscription_fields (precheck only) and order_azure_reservation (unsupported RI/Savings Plan path) so an agent can pick correctly without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit precondition ("Only after explicit user confirmation") and an explicit exclusion with a named alternative ("Not for: Azure Reserved Instances / Savings Plans ... use order_azure_reservation"). It also states the gating condition that the internal precheck must pass before the remote call is made.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.