Skip to main content
Glama
ALSO Cloud Marketplace MCP Server

ALSO Cloud Marketplace MCP Server

by pitwch

Get fields for service

get_fields_for_service
Read-only

Retrieve field definitions for a product and parent account before creating or validating a subscription. Use them to prepare inputs and load any empty remote choice lists with get_remote_enums.

Instructions

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.

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>",
      "productName": "<productName>"
    },
    "name": "get_fields_for_service"
  }
}

Input Schema

NameRequiredDescriptionDefault
productNameYesInternal service / product name
parentAccountIdYesParent account under which to add the service
secondaryParentIdNoOptional secondary parent (e.g. some Microsoft subscriptions)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuine behavioral context beyond them: some returned choice lists (SKU, Region) can be empty and are populated elsewhere. It does not describe the shape of the returned field definitions, but that is a modest gap for a read-only lookup.

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

Conciseness5/5

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

Two tight sentences with zero waste: the first establishes identity and workflow position, the second flags a caveat plus its remedy. Front-loaded and dense with actionable information.

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 three-parameter read-only lookup with full schema coverage and no output schema, the description supplies everything an agent needs to call it correctly and to handle the empty-choice-list edge case. It could go slightly further by indicating whether the result is keyed per service or what to do if required fields are absent, but the essentials are present.

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 coverage is 100% and all three parameters carry their own descriptions, so the schema does the heavy lifting and a baseline 3 applies. The description adds no extra meaning about productName, parentAccountId, or secondaryParentId beyond what the schema states; its 'SKU, Region' examples refer to returned choices, not input parameters.

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+resource (retrieve field definitions for a service) and pins its role in the workflow by naming CreateSubscription and ValidateFields as the consumers. This distinguishes it from sibling tools like validate_subscription_fields or get_subscription_fields_for_upgrade without the agent needing to open a 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 ('needed before CreateSubscription / ValidateFields') and an explicit fallback path: when remote choice lists come back empty, use get_remote_enums. Both the when-to-use and the alternative tool are named, leaving little to inference.

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