Skip to main content
Glama

Renew service

renew_service
Destructive

Manually renew a specified VPSnet service for a chosen billing period. Confirm cost first: payment is charged immediately and is non-refundable.

Instructions

Manually renew a service for a specific period. COST WARNING: this charges the account balance / creates an invoice immediately, and renewal payments are NON-REFUNDABLE once confirmed. Verify the service and period with the user before calling. Payment object: { payment: 1, successUrl: '', cancelUrl: '' } for balance payment. 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>",
      "period": "<period>",
      "payment": "<payment>"
    },
    "name": "renew_service"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodYesPeriod ID from get_period_options
orderNoYesTenant-owned service order number: 1-64 ASCII letters, digits or hyphens, e.g. VP12345 or VP12345-1
paymentYesPayment object. For balance: { payment: 1, successUrl: '', cancelUrl: '' }

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.3.21
    • changedInput schema / properties / payment / additionalProperties
      Previous value: -trueNew value: +{}
  2. First observedv2.3.16

TDQS

A4.1/5.0
Behavior5/5

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

Beyond annotations (destructiveHint=true, idempotentHint=false), the description discloses the financial consequences: the account balance is charged or an invoice created immediately, and payments are non-refundable once confirmed. It also states the required permission scope (services:manage) and that a full-access API key is needed, which an agent cannot infer from structured fields.

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?

Purpose is front-loaded and the cost warning follows immediately, with no filler. The repeated payment object literal is slightly redundant against the schema, which is the only waste.

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-required-parameter mutation with no output schema, the description covers cost, irreversibility, auth scope and payload example. It could say more about what happens on a failed or partially confirmed renewal, but nothing essential to calling it correctly is absent.

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%, including the period ID source (get_period_options), the orderNo pattern and the payment object shape. The description restates the balance-payment object verbatim rather than adding new meaning such as how to obtain payment method IDs other than 1, so it sits at the baseline.

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?

"Manually renew a service for a specific period" gives a clear verb, resource and scope, and the word "manually" implicitly separates it from the auto-renew family. It stops short of naming a specific sibling (e.g. set_auto_renew) as the alternative, so the differentiation is implicit rather than explicit.

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?

It tells the agent to verify the service and period with the user before calling, which is actionable pre-call guidance. What is missing is an explicit when-not/alternative clause, such as pointing at quote or auto-renew tools when the user does not want an immediate charge.

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