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

@salbot/kiotviet-mcp-server

by SalBot-Labs

kiotviet_update_customer

Destructive

Update an existing KiotViet customer by reading its current record first and sending only intended changes; preserve required line arrays when replacing lines.

Instructions

Update an existing customer. Read its current record first; provide only intended changes. Line arrays can replace existing lines, so preserve required lines. Advanced documented API fields may be included in data.

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

Input Schema

NameRequiredDescriptionDefault
idYes
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, so the safety bar is lower, but the description still adds genuine behavior: partial-update semantics and a warning that array fields replace rather than merge, which tells the agent that omitted or shortened arrays can silently drop data. The remaining gap is that it never states what is returned or how to verify success, and the array warning appears to be carried over from a generic template since customers have no line items.

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 compact sentences, front-loaded with the operation and then the key constraints. Nothing is padded, though "Advanced documented API fields may be included in data" is vague filler that gives the agent no actionable rule.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a nested mutation tool with no output schema and 0% schema coverage, the description covers the elements an agent needs before calling: read first, send only changed fields, and beware of array replacement semantics. Field-level semantics are the remaining gap, but that is a schema problem rather than a description one, and the destructive/idempotent hints are already carried by annotations.

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 0%, so the schema documents only field names and types for 14 nested properties (only birthDate has a description). The description compensates slightly by establishing that all fields are optional and only intended changes should be sent, but it never explains individual fields (gender as boolean, branchId, groupIds, taxCode). "Advanced documented API fields may be included in data" pushes the explanation to external documentation the agent cannot see.

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 opens with a specific verb+resource: "Update an existing customer." That is unambiguous and distinguishes it from create/delete/get siblings by verb alone. It stops short of naming any sibling or clarifying scope (e.g., whether this is a full replace or a patch), so it lands just under a 5.

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?

"Read its current record first; provide only intended changes" gives real workflow guidance: fetch the current state before mutating, and send a partial payload. It does not name the read tool (kiotviet_get_customer / kiotviet_get_customer_by_code) or state exclusions, so the agent must infer which sibling to call for the read.

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