Skip to main content
Glama
ALSO Cloud Marketplace MCP Server

ALSO Cloud Marketplace MCP Server

by pitwch

Order Azure Reserved Instance / Savings Plan

order_azure_reservation
Destructive

Orders Azure Reserved Instances or Savings Plans via the ALSO portal API, validating required fields in a dry run before placing the chargeable commitment order.

Instructions

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.

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": {
      "parentAccountId": "<parentAccountId>",
      "serviceName": "<serviceName>",
      "fields": "<fields>"
    },
    "name": "order_azure_reservation"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsYesField name → value, e.g. {"ProductCatalogue":"Azure Reservations","ProductSegment":"AzureReservationsVM","Ordertype":"Recommended","Lookbackperioddays":"30 days","SKU":"<exact value from get_remote_enums>","QuantityVcores":1,"ReservationName":"MyReservation"}
serviceNameYesTechnical product name, e.g. 123456_AzureReservedInstanceforAzurePlanMonthlyBilled_12345
confirmOrderNofalse (default) = dry run, nothing ordered. true = place the real, chargeable order.
parentAccountIdYesCompany Account ID (or the Azure Plan subscription ID)
purchaseOrderNumberNoOptional own purchase order number (billing reports)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.5

TDQS

A4.8/5.0
Behavior5/5

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

Annotations flag destructiveHint=true and openWorldHint=true, but the description adds the crucial behavior the annotations cannot: confirmOrder=false is a non-charging dry run, and what that dry run actually does (builds the portal payload, applies form rules, checks mandatory fields, runs ALSO order validation). It also discloses the undocumented ALSO web portal API and its shared login, plus the 1/3 year commitment.

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 'WRITE (cost!)' so the risk is unmissable, and the dry-run/real-order split is stated early. It is dense with parentheticals and nested clauses, but nearly every sentence carries actionable information rather than filler.

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

Completeness5/5

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

For a destructive, non-idempotent, nested-object ordering tool with no output schema, the definition covers the safety model (dry-run default), the prerequisite dependency, the validation behavior, and the prerequisites for committing. Nothing an agent needs in order to call this safely is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description earns above that by explaining that parentAccountId resolves the Azure Plan subscription and Microsoft tenant automatically, that Ownerpermissions is optional, and where the opaque 'fields' values must come from. The form-rule notes (Ordertype Recommended hides Product/Region, Scope Shared hides ScopedSubscriptions) clarify which field values are actually required.

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?

States a specific verb and resource — 'orders an Azure Reserved Instance or Savings Plan' — and immediately distinguishes itself from the sibling create_subscription ('services with remote pricing fields, which the Simple API create_subscription cannot order'). An agent can route on this alone.

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?

Explicitly names the alternative tool and the condition that selects it, states the prerequisite ('Get field values first with get_remote_enums', including the ProductCatalogue → ProductSegment → Ordertype → SKU chain), and sets a hard precondition for the real order ('only after the user explicitly confirmed product, SKU, quantity, term and price').

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