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

@salbot/kiotviet-mcp-server

by SalBot-Labs

kiotviet_list_orders

Read-onlyIdempotent

Lists sales reservations and orders—not completed revenue—by status, branch, customer, and dates so you can review details before changing an order.

Instructions

Read sales reservations/orders, not completed sales revenue. Use returned statusValue and read details before changing an order.

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_orders"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusNoUse the status values returned by this resource; order and invoice statuses differ.
toDateNoModified-to time; for invoice revenue use fromPurchaseDate/toPurchaseDate instead.
orderByNo
pageSizeNo
branchIdsNo
createdDateNoISO 8601 date/time; use +07:00 for Vietnam when a timezone is needed.
currentItemNoZero-based record offset, not page number.
customerIdsNo
customerCodeNo
includePaymentNo
orderDirectionNo
lastModifiedFromNoISO 8601 date/time; use +07:00 for Vietnam when a timezone is needed.
includeOrderDeliveryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered structurally. The description adds genuine domain context beyond that: that these are reservations/orders rather than booked revenue, and that returned statusValue should drive subsequent reads/mutations. It omits any disclosure of pagination behavior, default page limits, or result ordering, which matters for a 13-parameter listing call.

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 tight sentences with no filler, and the most important qualifier (not revenue) is front-loaded. The trade-off is that brevity is achieved by omission rather than by efficient compression of necessary detail.

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?

For a 13-parameter, unfiltered-by-default list tool with no output schema and only 38% schema coverage, the description is too thin. An agent cannot tell from it how results are paginated, what the default page size is, or how date bounds interact, all of which are needed to call the tool correctly.

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 38%, so the description carries a real burden and does not meet it. Its only parameter-adjacent statement about status values largely restates what the schema's status field already says ('use the status values returned by this resource'), and nothing is said about pagination (currentItem is a zero-based offset, pageSize max 100), date-bound semantics, or the include/orderBy switches.

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 gives a clear verb and resource ('Read sales reservations/orders') and carves out a scope distinction by excluding completed sales revenue, which implicitly separates it from the invoice-listing sibling. It stops short of naming that sibling explicitly, and 'Read' is slightly weaker than 'List' for a paginated collection endpoint, so it is clear but not maximally differentiating.

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 one real routing rule (use this for reservations/orders, not for revenue) and a workflow caution (read details before changing an order). However, it never names the revenue alternative, and it says nothing about when to prefer this over purchase orders, returns, or supplier orders among the many sibling list tools.

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