Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_get_log_count_by_period

Read-only

Retrieve log counts over a defined time interval in Cloud Log Analytics to analyze activity trends and monitor system events.

Instructions

Get log counts over a time interval in Cloud Log Analytics.

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_get_log_count_by_period"
  }
}

Input Schema

NameRequiredDescriptionDefault
endTimeNoEnd time (Unix ts or relative e.g. now)
intervalNoBucket interval: 1d/1h/1m
startTimeNoStart time (Unix ts or relative e.g. now-1h)
regionCodeNoRegion code as a lowercase path segment (kr, jpn, sgn, uswn, den). Default: the client's active region

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed1 schema field changedv2.0.1
    • changedInput schema / properties / regionCode / description
      Previous value: -"Region code (default kr)"New value: +"Region code as a lowercase path segment (kr, jpn, sgn, uswn, den). Default: the client's active region"
  3. First observedv1.10.1

TDQS

C2.9/5.0
Behavior2/5

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

readOnlyHint=true already establishes the safety profile, so the description owes the reader behavior beyond that, and it supplies none: no statement about how many buckets are returned, whether intervals align to boundaries, what happens with defaults, or rate/limit behavior. The single sentence restates the title rather than adding operational context.

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?

One short, front-loaded sentence with no wasted words. It is efficient but borders on underspecified rather than genuinely tight; brevity here comes partly at the cost of information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With four optional parameters and no output schema, the description should at least sketch the return shape (counts per interval bucket) and default time-range behavior. It implies interval-scoped counts but leaves the response structure and empty-result behavior undefined, which is minimally adequate for a read-only count tool.

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 description coverage is 100% — all four parameters (startTime, endTime, interval, regionCode) carry their own format hints and the region default — so the schema already carries parameter meaning. The description adds nothing further, which is the baseline 3 case.

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 pairs a specific verb ('Get log counts') with a scoped resource and time dimension ('over a time interval in Cloud Log Analytics'), which separates it from count tools like ncloud_get_log_count_total or ncloud_get_log_count_recent by implying per-interval bucketing. It never explicitly names those siblings or states the aggregation unit, so an agent must infer the distinction from the name.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no mention of alternatives such as the by-type or recent count tools. The agent gets a topic but no routing signal for choosing this tool over its close siblings.

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