Skip to main content
Glama

Taokeh MCP server

Stock levels

stock_level
Read-only

How many units of a product you have on hand right now — search by product name, SKU or exact barcode. An item marked "Service — no stock" comes back with isService:true and onHand:null — it holds no stock, so never report a quantity for it. onHand is the company total. On a company that keeps stock at more than one place, product.locations lists each location ({location, isDefault, onHand}); a location with none of it reads 0, and the list is omitted entirely on single-location books. The locations need not add up to onHand. LESS than onHand: the difference is on record at no location (stock booked before locations were set up). MORE than onHand: a sale took more than the location it was made from held, so the extra came off the total but no shelf; onHand is the figure the books value. Say which, rather than picking one. If this company uses Counter (the till), the figure is as at the last day-close: counter sales move stock once, when the day is closed, not at each scan.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Annotations only declare readOnlyHint/openWorldHint; the description adds substantial non-obvious traits: service items return isService:true and onHand:null, product.locations is omitted on single-location books, location totals need not reconcile with onHand, and on Counter companies the figure is stale as of the last day-close. This is exactly the kind of data-semantics disclosure annotations cannot carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, and each sentence carries distinct information, but it is delivered as one dense paragraph of edge cases with no structural breaks, making it heavier than it needs to be for a single-parameter lookup.

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

Completeness4/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 the heavy lifting on return semantics (onHand, isService, locations, day-close timing) and is largely complete. It omits what happens on a no-match or ambiguous query, which an agent would still need.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the sole 'query' param is undocumented in the schema, so the description must compensate. It does: name, SKU, or exact barcode, with the 'exact' qualifier on barcode being a meaningful constraint. It leaves unaddressed how ambiguous name/SKU matches resolve.

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+resource: 'How many units of a product you have on hand right now', and clarifies the lookup keys (product name, SKU, exact barcode). An agent can distinguish it from stock_movements or low_stock by implication (current level vs. history/threshold), but no sibling is named explicitly, so it stops short of a 5.

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?

The description tells the agent how to search and how to interpret/report the result, but never states when to use this tool versus alternatives like low_stock or stock_movements, nor any exclusions. Usage is implied rather than directed.

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.

Resources