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

@salbot/kiotviet-mcp-server

by SalBot-Labs

kiotviet_update_transfer

Destructive

Update an existing stock transfer by ID with only intended changes after reading the current record; line arrays replace existing lines, so preserve required lines.

Instructions

Update an existing transfer. 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_transfer"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/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, but the description adds the specific hazard that explains why: line arrays replace existing lines, so omitted lines are effectively deleted and required lines must be preserved. That is genuine value beyond the annotation flags. It still omits permissions/auth requirements and failure behavior, which matters for a destructive mutation.

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, front-loaded with the core action, each contributing a distinct fact (precondition, partial-update rule, array-replacement hazard, extensible data). The final sentence about "advanced documented API fields" is the vaguest and could be tightened, but nothing is padding.

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 destructive, non-idempotent mutation with deep nested arrays and no output schema, the description covers the most dangerous pitfall (line replacement) and the read-before-write discipline. It still lacks what an agent needs for safe invocation: permission requirements, whether status changes are constrained, and what a successful response contains.

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% and the nested data object accepts additionalProperties, so the description must carry meaning. It does add that data is a partial patch ("provide only intended changes") and that arbitrary documented API fields are accepted, which is useful given the open-ended object. However it says nothing about id, status integer semantics, or the branch-id relationship, leaving real gaps.

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?

States a specific verb and resource ("Update an existing transfer"), which cleanly separates it from kiotviet_create_transfer, kiotviet_delete_transfer, and kiotviet_get_transfer in the sibling list. It stops short of naming those siblings explicitly, so differentiation comes from the verb rather than from routing guidance.

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 a concrete precondition and a partial-update strategy, which implies reading via the get sibling before mutating. There is no explicit exclusion of when not to use it (e.g., when no changes exist, or when a create is intended), so guidance is clear but not complete.

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