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

@salbot/kiotviet-mcp-server

by SalBot-Labs

kiotviet_create_transfer

Creates an inventory transfer between branches in a connected KiotViet store after resolving referenced IDs and reading current data; reconcile after an ambiguous failure before retrying.

Instructions

Create one transfer in the connected store. Resolve referenced IDs and read current data first. This changes live business data; after an ambiguous failure, reconcile before creating again.

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": {
      "data": "<data>"
    },
    "name": "kiotviet_create_transfer"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false and openWorldHint=true, so the safety profile is largely covered. The description adds real value beyond that: it warns that live business data changes and specifies a reconcile-before-retry protocol, which is exactly the operational guidance a non-idempotent write needs. It says nothing about the response or validation failures, so not a 5.

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?

Three short sentences, the purpose front-loaded and the risk/retry warning placed last where it is most salient. Every sentence carries a distinct instruction; "in the connected store" is the only mildly expendable phrase.

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?

The definition covers purpose, preconditions and failure handling, but the payload is a nested object with required branch references and a transferDetails array whose fields are semantically opaque (e.g. status and isDraft are integers, with a typo'd recivedQuantity). No output schema exists and the description does not describe what a successful response returns. Adequate for calling correctly only if the agent already understands KiotViet transfer shapes.

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?

Only the top-level "data" object is visible at this level, and schema description coverage is 0%, with nested objects containing undocumented fields such as fromBranchId, toBranchId, status, code and every transferDetails key. The phrase "resolve referenced IDs" hints that branch and product identifiers are foreign references, but no field-level meaning, format, or constraint is supplied. For a nested, high-complexity payload the description does not compensate for the coverage gap.

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?

"Create one transfer in the connected store" gives a specific verb and resource, and the singular "one transfer" signals single-record creation rather than bulk. This separates it from kiotviet_get_transfer / kiotviet_update_transfer / kiotviet_delete_transfer by verb alone, though it never names an alternative explicitly.

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?

"Resolve referenced IDs and read current data first" states a concrete prerequisite workflow, and the closing sentence gives an explicit retry rule after ambiguous failures. It stops short of naming when to use update_transfer or get_transfer instead, so the choice between create vs. update is left to the verb.

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