Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_list_maintenances

Read-only

Retrieves paged planned maintenance schedules from Cloud Insight, filtered by a time range (up to 31 days) or by resource, with a default 30-day window when no filter is provided.

Instructions

Get the list of planned maintenance schedules in Cloud Insight (paged). The API requires a filter: either a time range (from/to/timeType, at most 31 days) OR a resource (resourceId+productKey). If none is given, a default 30-day window (now-15d..now+15d) by startTime is applied.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ncloud_list_maintenances"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoFilter end (epoch ms); at most 31 days after 'from'
fromNoFilter start (epoch ms), used with 'to' and 'timeType'; the range to-from must not exceed 31 days
pageNumNoPage number (>= 1)
pageSizeNoPage size (>= 1)
timeTypeNoWhich time the from/to filter applies to (default startTime)
productKeyNoFilter by product key (use together with resourceId)
resourceIdNoFilter by resource ID (use together with productKey instead of a time range)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed2 schema fields changedv2.0.1
    • changedInput schema / properties / from / description
      Previous value: -"Filter start (epoch ms), used with 'to' and 'timeType'"New value: +"Filter start (epoch ms), used with 'to' and 'timeType'; the range to-from must not exceed 31 days"
    • changedInput schema / properties / to / description
      Previous value: -"Filter end (epoch ms)"New value: +"Filter end (epoch ms); at most 31 days after 'from'"
  3. First observedv1.10.1

TDQS

A4.4/5.0
Behavior4/5

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

With readOnlyHint=true already covering safety, the description adds genuinely useful behavior: the 31-day cap on the range, the default 30-day window (now-15d..now+15d) applied by startTime when no filter is given, and that output is paged. It stops short of describing auth or rate limits, but for a read-only list call that is acceptable.

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?

Three tight sentences: what it does, the required filter modes, and the default fallback. The most important constraint (a filter is required) is placed before the exception, so the agent reads the operative rule first.

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 read-only, all-optional-parameter list tool with full schema coverage and no output schema, the description covers the filter requirement, the time bound, and the default window. Pagination is only named as 'paged' while pageNum/pageSize details live in the schema, which is a small residual gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description goes further by stating the cross-parameter coupling (from/to/timeType as one mode, resourceId+productKey as the other) and the 31-day bound on the range. It largely restates what the schema already says per-field, so it is not a 5.

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?

States a specific verb and resource ('Get the list of planned maintenance schedules') plus the product surface ('Cloud Insight') and that results are paged. No sibling in the provided list covers maintenance schedules, so there is no ambiguity to resolve.

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 description lays out the two mutually exclusive filter modes (time range vs. resource) and the fallback when neither is supplied, which is the key decision an agent must make. It does not contrast with other tools, but no comparable sibling exists in the catalog, so the gap is minor.

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