Skip to main content
Glama

users_extend_user_expiration_date

Extend a Remnawave user's expiration date by a set number of days; expired users reactivate from today, while active users get days added without changing other statuses.

Instructions

POST /api/users/{userId}/actions/extend Extend user expiration date If user status is EXPIRED, the new expiration date is calculated from the current date and the user becomes ACTIVE. If user status is ACTIVE, the given number of days is added to the existing expiration date. DISABLED and LIMITED users will be extended, but their status will not change. Tags: Users Controller

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYes
userIdYes
confirmNoПодтверждение выполнения не-GET операции. Без confirm:true возвращается превью запроса (метод, URL, тело) и запрос не отправляется (см. MCP_CONFIRM).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it discloses the status-dependent outcomes (EXPIRED recomputes from now and flips to ACTIVE; ACTIVE adds days to the existing date; DISABLED/LIMITED are extended without status change). It omits permission/authorization requirements and the confirm-gating behavior, which is only documented in the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The behavioral explanation is front-loaded and efficient, but the raw HTTP method/path header and the trailing "Tags: Users Controller" are noise that add no selection or invocation value for an agent.

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 mutation tool with no annotations, no output schema, and a nested body, the description covers the important behavioral consequences of the operation across user statuses. It is missing the confirm-gating semantics and any notion of the response, but the core behavior an agent needs is present.

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 only 33%, with userId undocumented in both schema and description. The description does add behavioral meaning to days (added to existing expiration or computed from current date depending on status), but userId and the confirm flow are not clarified beyond structured fields, so it only partially compensates for the coverage gap.

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?

The description states a specific verb and resource ("Extend user expiration date") scoped to a single user via {userId}, which cleanly separates it from the bulk siblings users_bulk_actions_bulk_extend_expiration_date and users_bulk_actions_bulk_all_extend_expiration_date by implication. No sibling is named explicitly, so it stops short of full differentiation.

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?

Usage is implied by the single-user scope but the description never states when to prefer this over the bulk extend tools or what preconditions apply. It explains the operation's behavior rather than when an agent should choose it.

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

Install Server

Other Tools