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

@salbot/kiotviet-mcp-server

by SalBot-Labs

kiotviet_list_inventory

Read-onlyIdempotent

Retrieve stock across branches and distinguish on-hand, reserved, and available quantities so you can check inventory accurately without inferring availability from product price.

Instructions

Read stock across branches. Distinguish onHand, reserved and available; do not infer availability from product price.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "kiotviet_list_inventory"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageSizeNo
branchIdsNo
currentItemNoZero-based record offset, not page number.
lastModifiedFromNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuine domain context by naming the three stock quantities (onHand, reserved, available) and warning against a proxy-based inference. It does not mention pagination limits, per-branch rollup behavior, or result size, which matter for a list endpoint.

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?

Two short, front-loaded sentences with no filler; the purpose leads and the caveat follows. The second sentence is slightly cryptic in isolation but not wasteful.

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

Completeness2/5

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

With no output schema, the description carries more burden: it should say what a record looks like, how branches appear in the response, and how paging works. It hints at the returned fields (onHand, reserved, available) but leaves half the parameters and all pagination behavior unexplained.

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?

Schema description coverage is only 25% — only currentItem is documented in the schema. The description mentions branches (implying branchIds) but never explains pageSize, lastModifiedFrom format, or the branch filtering semantics, 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?

"Read stock across branches" gives a specific verb (read) and resource (stock/inventory) plus scope (branches), so the agent knows this is the stock-listing tool rather than an order or product tool. It stops short of naming how it differs from kiotviet_list_products, which plausibly also surfaces stock levels.

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

Usage Guidelines2/5

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

The description offers a data-interpretation caveat ("do not infer availability from product price") but no guidance on when to pick this tool over a sibling or what prerequisites apply. There is no statement of when-not to use it or what to use instead for price/catalog data.

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