Skip to main content
Glama
@salbot/kiotviet-mcp-server

@salbot/kiotviet-mcp-server

by SalBot-Labs

kiotviet_list_branches

Read-onlyIdempotent

Retrieve available branch records and IDs to filter stock or prepare transactions; this read-only action does not create or modify branches.

Instructions

Read available branches and IDs before filtering stock or creating transactions. This tool does not create or change branches.

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": "kiotviet_list_branches"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderByNo
pageSizeNo
currentItemNoZero-based record offset, not page number.
orderDirectionNo
includeRemoveIdsNo
lastModifiedFromNoISO 8601 date/time; use +07:00 for Vietnam when a timezone is needed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered structurally. The description's 'does not create or change branches' largely reiterates that read-only guarantee, and it adds nothing about pagination behavior, result size, or whether includeRemoveIds expands the result set.

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?

Two short sentences, front-loaded with the core action and scope, with no filler. The final sentence is partly redundant with the read-only annotation but still serves as a quick disambiguator.

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 read-only list tool whose safety traits are already in annotations, the definition is adequate at the purpose level. However, with six optional parameters at low schema coverage and no output schema, an agent gets no help on how paging, sorting, or removal filtering affect the returned list.

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

Parameters2/5

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

Schema description coverage is only 33%, yet the description says nothing about the six parameters. It never explains pageSize/currentItem paging, orderBy/orderDirection sorting, includeRemoveIds, or lastModifiedFrom, so it fails to compensate for the undocumented schema fields.

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 uses a specific verb and resource ('Read available branches and IDs') and clarifies that it does not mutate branches, which separates it from the kiotviet_create_* siblings. It does not differentiate it from the other kiotviet_list_* tools, but the resource is unambiguous.

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?

It gives concrete usage context: call this before filtering stock or creating transactions, which tells the agent the typical sequencing. It stops short of naming alternatives or listing exclusions beyond the negative 'does not create or change branches'.

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