Skip to main content
Glama
ALSO Cloud Marketplace MCP Server

ALSO Cloud Marketplace MCP Server

by pitwch

Get remote choice values for a field

get_remote_enums
Read-only

Resolve allowed values for empty choice fields and cascade dependent selections via contextValues, so you can choose valid product segments, regions, and SKUs.

Instructions

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.

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

Input Schema

NameRequiredDescriptionDefault
accountIdNoExisting subscription Account ID when resolving values for an update
fieldNameYesField to resolve, e.g. "ProductSegment"
serviceNameYesTechnical product name, exactly as returned by get_possible_services_for_parent (ProductName); "Product_" prefix optional
contextValuesNoValues chosen for earlier fields, e.g. {"ProductCatalogue":"Azure Reservations","ProductSegment":"AzureReservationsVM"}
timeoutSecondsNoSome lists (e.g. SKU) take >30 s at ALSO
parentAccountIdYesCompany Account ID (or the Azure Plan subscription ID) the product will be ordered for
dependencyAccountIdNoDependency subscription (Microsoft tenant). Auto-detected if omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.5

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only supply readOnlyHint and openWorldHint, and the description adds substantial non-obvious behavior: cascading resolution order, the auto-injection of the Azure Plan subscription as parent and the Microsoft tenant subscription/ID for RI and Savings Plan products, price fields left null when ALSO does not send them, and the implausible-quantity flagging under Ordertype="Recommended". Repeating "Read-only" adds nothing, but the surrounding disclosure is unusually rich for a read-only tool.

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

Conciseness3/5

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

The opening clause is well front-loaded, but the rest is a single dense block mixing cascading rules, price semantics, RI/Savings Plan special cases, and Lookbackperioddays literals without any structure. Most content is information-bearing, yet the wall-of-text form makes it hard to scan and would benefit from separation of the general rule from the product-specific exceptions.

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 seven-parameter, nested-object, no-output-schema tool, the description supplies the operational context an agent needs: how values cascade, what hidden context the server adds, and what some returned entries contain. It is not exhaustive about the shape of the returned list itself, which matters more here because there is no output schema.

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 parameter documentation is already handled; the description still adds real meaning by explaining that contextValues carries prior cascading selections and that accountId/parentAccountId drive the automatic subscription and tenant resolution. The remaining gap is that the timeoutSeconds implication is only hinted at ("SKU list takes >30 s"), not tied explicitly to the parameter.

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 and resource ("allowed values of a choice field") and immediately scopes it to the case where the list is empty in get_fields_for_service, naming the sibling that produces the empty list. An agent can tell it apart from get_fields_for_service or get_subscription_fields_for_renew based on the description alone.

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

Usage Guidelines4/5

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

Gives an explicit trigger condition (use this when a field's list is empty in get_fields_for_service) and explains the cascading call pattern via contextValues, including a concrete example chain. It stops short of stating when NOT to use it in a fully-populated field case or naming any other alternative, so it is strong but not complete routing guidance.

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