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

@salbot/kiotviet-mcp-server

by SalBot-Labs

kiotviet_create_customer

Create a customer record in the connected KiotViet store by supplying required details, resolving referenced IDs first and reconciling after ambiguous failures to avoid duplicate live business data.

Instructions

Create one customer 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_customer"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false; the description adds real context beyond them by warning that this changes live business data and by prescribing reconcile-before-retry behavior, which is consistent with the non-idempotent annotation. It does not cover authentication/permission requirements or duplicate-code handling, which keeps it from 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, each carrying a distinct fact: what it does, what to prepare, and what to do after failure. The mutation warning is front-loaded before the recovery advice, and there is no filler.

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 non-idempotent write with a large nested payload and no output schema, the description covers the risk profile and prerequisites well. It does not tell the agent what comes back (e.g., a new customer ID) or how duplicate codes are handled, which matters given the nested object and hidden additionalProperties.

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% on a nested payload of roughly sixteen fields, so the description has to compensate. 'Resolve referenced IDs' does usefully flag that branchId and groupIds are foreign references rather than free values, and 'read current data first' hints at uniqueness. However, it says nothing about code uniqueness, groupIds semantics, or the gender/date field conventions, leaving most fields undocumented.

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 and resource: 'Create one customer in the connected store,' and the scope words 'one' and 'connected store' tell the agent this is a single-object write against the active store. It is clearly distinguishable from the get/update/delete siblings by verb alone. It does not explicitly name a sibling, so it lands at 4 rather than 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?

'Resolve referenced IDs and read current data first' gives a concrete prerequisite that implies calling the get/list tools before this one. 'After an ambiguous failure, reconcile before creating again' supplies an explicit retry condition. What is missing is guidance on create versus update when a customer already exists, but the when-to-call context is otherwise clear.

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