Skip to main content
Glama
sjk4425

ncloud-mcp-server

by sjk4425

ncloud_nks_set_audit_log

Idempotent

Configure audit log collection for an NKS cluster via Cloud Log Analytics. Requires an active CLA subscription; otherwise, enabling returns a 400 error.

Instructions

Configure audit log collection via Cloud Log Analytics (CLA) for an NKS cluster. Since 2026-09-17 enabling it (audit=true) is rejected with 400 unless the account has an active CLA subscription — subscribe to Cloud Log Analytics first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
auditYesWhether to enable audit log collection (true/false)
clusterUuidYesUUID of the cluster

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, covering safety. The description adds the behavioral fact that enabling without a CLA subscription will be rejected with 400, and provides a date-sensitive policy (since 2026-09-17). This goes beyond the structured annotations and helps the agent anticipate errors.

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?

Two sentences: the first states the core function, the second delivers a crucial caveat. Information is front-loaded and every word earns its place. No fluff or repetition.

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?

Given the simple two-parameter schema, full parameter descriptions, and no output schema, the description covers the essential usage details. It includes the critical prerequisite and error scenario. The idempotent and non-destructive annotations further round out the context. Nothing critical is missing for an agent to call this tool correctly.

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 descriptions cover both parameters (audit boolean, clusterUuid string) at 100%. The description references 'audit=true' but that merely echoes the schema's 'true/false' explanation. No new semantic detail is added beyond what the schema already provides, so a baseline of 3 is appropriate.

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?

The description states a specific action (configure audit log collection) on a specific resource (NKS cluster) via a specific service (Cloud Log Analytics). It clearly distinguishes from sibling tools like ncloud_nks_set_ip_acl or ncloud_nks_set_return_protection, which handle different settings. The mention of 'audit=true' clarifies the toggle behavior.

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 provides a critical usage condition: enabling audit log collection requires an active CLA subscription, otherwise a 400 error is returned. It tells the agent to subscribe first. It does not explicitly mention alternatives, but the purpose is distinct from siblings, so the primary usage context is clear. The prerequisite is a valuable guideline for when to use and how to avoid failure.

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