Skip to main content
Glama

KiotViet MCP by usefulapi

List stock on hand

kiotviet_list_stock
Read-only

Stock on hand and reserved quantity per product and branch. Filter by branch or last change. GET /productOnHands.

Input Schema

NameRequiredDescriptionDefault
order_byNoSort field.
page_sizeNoRecords per page, 1-100 (default 20).
branch_idsNoOnly these branches (see kiotviet_list_branches).
current_itemNoRecord offset to start from (0 = first record). Pass the previous reply's next_item.
order_directionNoSort direction.
last_modified_fromNoOnly records changed at or after this date-time (shop local time).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds the useful detail that reserved quantity is included alongside on-hand stock, but says nothing about paginating through large result sets beyond what the schema's current_item already implies.

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 fragments, front-loaded with the returned data, then filter options, then endpoint. No filler, though the telegraphic style leaves out connective context that could aid an agent.

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?

With no output schema, the description does name the key returned fields, but it does not state default scope (all branches when branch_ids is omitted) or pagination expectations. Adequate for a read-only list tool with fully documented parameters, but leaves avoidable gaps.

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 100%, so every parameter is already documented with defaults, ranges and cross-references (e.g. branch_ids points to kiotviet_list_branches). The description only echoes the branch and last-change filters, adding no syntax or behavioral detail beyond the schema.

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 states a specific resource and payload: stock-on-hand and reserved quantity per product and branch, plus the underlying endpoint. It implicitly separates this inventory tool from catalog tools like kiotviet_list_products, but never names a sibling explicitly.

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 hints at two usage modes (filter by branch, filter by last change) which implies when the tool is useful, but gives no explicit when-to-use/when-not-to-use guidance or alternatives among the ~30 sibling tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.