Skip to main content
Glama
ALSO Cloud Marketplace MCP Server

ALSO Cloud Marketplace MCP Server

by pitwch

Execute account custom action

execute_account_custom_action
Destructive

Runs a named custom action on a subscription, such as exchanging or modifying a reservation. Use action names and fields from get_reservation_options or get_account_custom_actions.

Instructions

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.

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": {
      "action": "<action>",
      "subscriptionAccount": "<subscriptionAccount>"
    },
    "name": "execute_account_custom_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesCustom action name
subscriptionAccountYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.5.5
    • removedInput schema / properties / subscriptionAccount / description
      Removed value: -"Subscription account + action field values"
    • addedInput schema / properties / subscriptionAccount / properties
      Added value: +{
      +  "AccountId": {
      +    "description": "Subscription Account ID",
      +    "maximum": 9007199254740991,
      +    "minimum": -9007199254740991,
      +    "type": "integer"
      +  },
      +  "Fields": {
      +    "additionalProperties": {},
      +    "description": "Action field name → value (from get_account_custom_actions)",
      +    "propertyNames": {
      +      "type": "string"
      +    },
      +    "type": "object"
      +  },
      +  "ServiceName": {
      +    "description": "Technical product name of the subscription",
      +    "minLength": 1,
      +    "type": "string"
      +  }
      +}
    • removedInput schema / properties / subscriptionAccount / propertyNames
      Removed value: -{
      -  "type": "string"
      -}
    • addedInput schema / properties / subscriptionAccount / required
      Added value: +[
      +  "AccountId",
      +  "ServiceName",
      +  "Fields"
      +]
  2. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, idempotentHint=false, and openWorldHint=true, so the safety profile is covered. The description adds that the action is a write that may exchange or modify a reservation, but says nothing about failure behavior, whether partial changes are rolled back, or permission requirements.

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?

Two tight sentences with the write nature and purpose front-loaded, followed by the discovery pointer. The 'WRITE: ExecuteAccountCustomAction —' prefix restates the title and name, which is minor redundancy.

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

Completeness3/5

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

For a destructive, open-world mutation with a nested object parameter and no output schema, the description covers intent and discovery but leaves the outcome and error surface unspecified. Annotations carry the safety signal, so the remaining gap is moderate rather than severe.

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 50%, so the description's mention of 'action names and fields' and its pointer to get_account_custom_actions partially compensates for the nested Fields object. It adds nothing about the subscriptionAccount/AccountId/ServiceName identifiers beyond what the schema states.

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 ('runs a named custom action on a subscription') and immediately clarifies the resource type with an example ('exchange/modify of a reservation'). The 'WRITE:' prefix separates it from read-side siblings such as get_account_custom_actions.

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?

Points the agent to get_reservation_options and get_account_custom_actions to discover valid action names and fields, and notes the action only applies 'when the service offers it'. It does not explicitly say when to prefer this over execute_subscription_upgrade or execute_report, so there is no exclusion guidance.

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