Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_sourcecommit_set_default_branch

Idempotent

Sets the default branch for a SourceCommit repository by specifying the repository name and target branch, so clones and repository views use the correct branch.

Instructions

Set the default branch for a SourceCommit repository

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "repositoryName": "<repositoryName>",
      "branchName": "<branchName>"
    },
    "name": "ncloud_sourcecommit_set_default_branch"
  }
}

Input Schema

NameRequiredDescriptionDefault
branchNameYesName of the branch to set as default
repositoryNameYesName of the repository

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv1.10.1

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds nothing beyond that: it does not say what happens to the previously default branch, whether permissions are required, or how failures (nonexistent branch) are surfaced.

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?

A single front-loaded sentence with zero filler, well structured for scanning. It is efficient but borders on under-specification rather than being maximally useful.

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?

For a simple two-parameter mutation with no output schema, the essential identity is conveyed and the schema carries the parameter details. Prerequisites and post-change effects are absent, leaving an agent to infer them.

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%, with both repositoryName and branchName documented in the schema, so the baseline is 3. The description adds no extra meaning such as naming format, case sensitivity, or where to obtain valid branch names.

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 gives a specific verb ('Set') plus resource ('default branch') scoped to a SourceCommit repository, which distinguishes it from the branch-listing and repo-CRUD siblings. It is clear but does not explicitly contrast itself with any named alternative.

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, no mention that the branch must already exist, and no reference to alternatives such as list_branches for discovering valid branch names. Usage is only inferable from the operation name itself.

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