Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_sourcecommit_list_branches

Read-only

Lists all branches in a SourceCommit repository and identifies the default branch for branch selection and repository inspection.

Instructions

List all branches in a SourceCommit repository (includes default branch info)

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>"
    },
    "name": "ncloud_sourcecommit_list_branches"
  }
}

Input Schema

NameRequiredDescriptionDefault
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

B3.2/5.0
Behavior3/5

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

The readOnlyHint annotation already establishes that this is a safe, non-mutating read, so the description only needs to add context. The parenthetical 'includes default branch info' is a useful disclosure about response content, but there is no mention of pagination, result limits, or error behavior when the repository is missing.

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 sentence with the resource and scope front-loaded, and no filler wording. The parenthetical return hint is a minor but legitimate addition rather than padding.

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 single-parameter read tool with an annotation covering safety, the definition is largely sufficient. However, with no output schema, the description gives only a partial picture of what a branch entry contains, so its explanation of return values is thinner than it could be.

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% for the single required parameter, so the schema already fully documents repositoryName. The description confirms the parameter is a repository name but adds no format, naming-convention, or lookup guidance beyond that, which matches the baseline for fully covered schemas.

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, 'List all branches in a SourceCommit repository', with a scope qualifier in the parenthetical. It is clear what the tool returns, though it does nothing to distinguish itself from the similarly named branch-listing siblings for pipeline, sourcedeploy, and sourcebuild.

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 prerequisites such as repository existence or permissions. Given that several sibling tools also list SourceCommit branches in different service contexts, an explicit routing hint would have been valuable.

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