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

@salbot/kiotviet-mcp-server

by SalBot-Labs

kiotviet_create_order

Creates a single sales order in the connected KiotViet store by resolving referenced IDs and reading current data first; reconcile after ambiguous failures before retrying.

Instructions

Create one order 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_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

Beyond annotations (readOnly=false, idempotent=false, openWorld=true), it discloses that this "changes live business data" and that after an ambiguous failure the agent should reconcile before retrying, which meaningfully operationalizes the non-idempotent hint. Missing details like required account/product existence or permission scoping keep 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.

Conciseness4/5

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

Three short, front-loaded sentences with no filler; the destructive-write warning follows the core action statement in a logical order. Every sentence carries weight, though the sentence on resolving IDs could be merged or sharpened.

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 complex nested create operation with no output schema and no parameter documentation, the description covers the safety narrative (non-idempotent, reconcile after failure) but omits what a successful response looks like and which fields/IDs must pre-exist. It is adequate for intent but thin for correct invocation.

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?

There is one top-level `data` parameter containing a deeply nested object with required branchId/orderDetails and dozens of optional fields, yet schema description coverage is 0%. The description adds no field-level meaning (e.g., how to source IDs or what orderDetails require), so it fails to 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 order in the connected store" states a specific verb and resource, so an agent can immediately tell it produces a new sales order. It does not, however, distinguish this order from siblings like kiotviet_create_purchase_order or kiotviet_create_invoice, leaving the agent to infer scope from names alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives real preconditions: "Resolve referenced IDs and read current data first," which tells the agent to call read tools before this write. It offers no explicit when-not guidance or named alternative for cases such as invoice versus order creation, so selection between siblings is only implied.

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