Skip to main content
Glama

Renew service

renew_service
Destructive

Renew a VPSnet service for a selected period using account balance; this creates an immediate, non-refundable invoice. Verify the order number and period before calling.

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.

Input Schema

TableJSON 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. First observedv2.3.16

TDQS

A3.9/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing that the call immediately charges the account balance or creates an invoice, that the payment is non-refundable, and that verification is required. It also specifies auth requirements (services:manage and a full-access API key). The destructiveHint=true annotation is fully consistent with this.

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?

The critical cost warning is front-loaded and every sentence contributes operationally relevant information. The payment-object sentence duplicates the schema slightly, keeping it from being maximally tight.

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 destructive, high-risk mutation with no output schema, the description covers cost, irreversibility, permissions, and pre-call verification well. It leaves minor gaps around return behavior and explicit routing to alternative renewal/auto-renew tools.

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 the schema already documents period, orderNo, and the nested payment object in detail. The description repeats the balance-payment example and notes that period comes from get_period_options, but adds no meaningful syntax beyond the schema.

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 (renew), resource (service), scope (specific period), and mode (manually). This distinguishes it from automatic-renewal siblings, but it does not explicitly name alternative tools such as set_auto_renew or renewal-quote tools.

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?

The description implies manual-renewal use and instructs the agent to verify the service and period before calling. It also lists required permissions. However, it does not explicitly state when to use this versus alternatives like auto-renewal or quoting a renewal.

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