Skip to main content
Glama
ALSO Cloud Marketplace MCP Server

ALSO Cloud Marketplace MCP Server

by pitwch

Set special deal

set_special_deal
DestructiveIdempotent

Creates or updates a special price discount for an account ID, applying percentage or custom pricing to a charge stream with a specified valid-until month/year.

Instructions

WRITE: SetSpecialDeal — creates/updates a special price discount (Sonderkondition) for accountId. Not for: credit limits or reservations.

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": {
      "accountId": "<accountId>",
      "specialDeal": "<specialDeal>"
    },
    "name": "set_special_deal"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountIdYesALSO Cloud Account ID
specialDealYesSetSpecialDeal payload (ChargeStreamId and ValidUntil required).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.5.5
    • changedInput schema / properties / specialDeal / description
      Previous value: -"SimpleSpecialDealRequest payload"New value: +"SetSpecialDeal payload (ChargeStreamId and ValidUntil required)."
    • addedInput schema / properties / specialDeal / properties
      Added value: +{
      +  "ChargeStreamId": {
      +    "description": "Charge stream the discount applies to",
      +    "maximum": 9007199254740991,
      +    "minimum": -9007199254740991,
      +    "type": "integer"
      +  },
      +  "Comments": {
      +    "type": "string"
      +  },
      +  "DiscountItems": {
      +    "items": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "CustomCharge": {
      +          "description": "Custom price (with IsCustomCharge=true)",
      +          "type": "number"
      +        },
      +        "Discount": {
      +          "description": "Discount in percent",
      +          "type": "number"
      +        },
      +        "PriceableItemId": {
      +          "maximum": 9007199254740991,
      +          "minimum": -9007199254740991,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "PriceableItemId"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  "IsCustomCharge": {
      +    "type": "boolean"
      +  },
      +  "LinkToPriceProtection": {
      +    "type": "boolean"
      +  },
      +  "ValidUntil": {
      +    "description": "Month/year, format \"MM-YYYY\", e.g. \"02-2030\"",
      +    "type": "string"
      +  }
      +}
    • removedInput schema / properties / specialDeal / propertyNames
      Removed value: -{
      -  "type": "string"
      -}
    • addedInput schema / properties / specialDeal / required
      Added value: +[
      +  "ChargeStreamId",
      +  "ValidUntil"
      +]
  2. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and openWorldHint=true, so the safety profile is supplied. The description's "creates/updates" corroborates the upsert/idempotent semantics, but it says nothing about what an existing discount is replaced with, whether omitted DiscountItems are merged or wiped, or what permissions are needed — all material for a destructive write.

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 short clauses, front-loaded with the operation type and the resource, with the negative scope last. Nothing is padded and every phrase carries information.

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, nested-object write with no output schema, the definition covers identity and exclusion adequately but omits replace-vs-merge behavior and any confirmation of what a successful call returns or errors on. It is minimally sufficient given the strong schema and annotations, but not complete for a tool that can overwrite pricing.

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 specialDeal payload is documented field by field, including ValidUntil's "MM-YYYY" format, so the schema carries the burden. The description adds only that the discount is keyed to accountId and mentions no semantics for ChargeStreamId, DiscountItems, or IsCustomCharge, so the baseline of 3 applies.

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?

"SetSpecialDeal — creates/updates a special price discount (Sonderkondition) for accountId" gives a specific verb, resource, domain synonym, and scope. The leading "WRITE:" tag separates it at a glance from the read sibling get_special_deal, and the exclusion clause names what it is not.

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?

The "WRITE:" prefix plus "Not for: credit limits or reservations" tells the agent this is the mutation path and steers away from set_credit_limit and reservation tools. It stops short of saying when a discount should be set versus read first via get_special_deal, so it is clear context without full alternative routing.

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