Skip to main content
Glama

Set auto renew

set_auto_renew
Destructive

Enable or disable auto-renewal for a service to control whether renewal charges the account balance and creates invoices automatically.

Instructions

Enable or disable auto-renewal for a service. Note: enabling auto-renewal will automatically charge the account balance at each renewal (creating an invoice) without further confirmation. Requires services:manage and a full-access API key.

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": {
      "orderNo": "<orderNo>",
      "state": "<state>"
    },
    "name": "set_auto_renew"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateYestrue to enable, false to disable
periodNoBilling period ID (required when enabling)
orderNoYesTenant-owned service order number: 1-64 ASCII letters, digits or hyphens, e.g. VP12345 or VP12345-1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.16

TDQS

A3.9/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: enabling triggers automatic charging of the account balance at each renewal, generating an invoice, with no further confirmation. This makes the destructiveHint=true annotation concrete and warns about the financial consequence. Auth/scope requirements are also disclosed.

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 sentences, front-loaded with the core action, then a note carrying the billing warning and auth requirement. No filler, though the blocking auth prerequisite sits at the end rather than near the front where it would be more actionable.

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 3-parameter mutation with no output schema, the description covers the cost consequence and permission requirements well. It omits what disabling does to the current billing cycle or any existing pending invoice, a minor but real gap.

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%, with every parameter described, so baseline 3 applies. The description only restates that period is needed when enabling, which the schema already states, adding no new syntax or constraint detail for orderNo or state.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource: "Enable or disable auto-renewal for a service." An agent immediately knows the operation. However, it does not differentiate from siblings like set_domain_auto_renew or disable_network_product_auto_renew, so scope (which service types) is left to inference.

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

Usage Guidelines3/5

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

Gives prerequisite context (services:manage scope, full-access API key) and a conditional requirement (period when enabling), which helps the agent prepare the call. It offers no explicit when-to-use/when-not guidance and does not point to the domain- or network-specific sibling tools for those resource types.

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

Deploy Server

Other Tools