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

@salbot/kiotviet-mcp-server

by SalBot-Labs

kiotviet_list_purchase_orders

Read-onlyIdempotent

List goods receipt/purchase documents with filters for status, branch, supplier, and purchase date. Read purchase records separately from supplier purchase reservations.

Instructions

Read goods receipt/purchase documents, distinct from supplier purchase reservations.

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

Input Schema

NameRequiredDescriptionDefault
statusNo
orderByNo
pageSizeNo
branchIdsNo
currentItemNoZero-based record offset, not page number.
supplierIdsNo
supplierCodeNo
includePaymentNo
orderDirectionNo
toPurchaseDateNoISO 8601 date/time; use +07:00 for Vietnam when a timezone is needed.
fromPurchaseDateNoISO 8601 date/time; use +07:00 for Vietnam when a timezone is needed.
lastModifiedFromNoISO 8601 date/time; use +07:00 for Vietnam when a timezone is needed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered by structured data. The description adds the semantic scope of what is read (goods receipts vs reservations) but says nothing about default result size, ordering, or data freshness beyond that.

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?

A single short sentence with no redundancy, and the core verb plus resource is front-loaded. It is efficient, though its brevity borders on under-specification for a tool with twelve parameters.

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 twelve optional parameters, no required fields, no output schema and only a third of parameters described in the schema, one sentence is far from sufficient. An agent gets no help on default paging, filter combinations, or what a goods receipt record contains.

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 coverage is only 33% across 12 parameters, so the description carries substantial burden and delivers none of it. It never mentions the status list, supplier/branch filters, date range fields, currentItem zero-based offset, or the pageSize ceiling that the schema only hints at.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a verb ("Read") and a resource ("goods receipt/purchase documents"), and attempts to differentiate from reservations rather than orders. However, the differentiating phrase "supplier purchase reservations" does not map cleanly to any named sibling, so an agent still cannot confidently choose between this and kiotviet_list_orders or kiotviet_list_supplier_orders.

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 only guidance is the fragment "distinct from supplier purchase reservations," which is an exclusion with no matching tool name and no positive condition for when to use this tool. There is nothing about filtering by status, supplier or date, nor any prerequisite or paging advice.

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