Skip to main content
Glama

get_inventory

Read-only

Fetch current inventory from Chirak, filter by category, and list items at or below minimum stock to identify products needing restocking.

Instructions

Fetch current inventory products from Chirak, with options to filter by category or find critical low stock items.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of products to return (default: 50, max: 100).
categoryNoOptional category name to filter products (e.g. 'Coffee', 'Clothing', 'General').
low_stock_onlyNoIf true, only returns products whose stock quantity is at or below the minimum threshold.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoResult data payload from Chirak API.
successNoStatus of the tool execution.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

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, and the description doesn't contradict it. It adds some context (e.g., 'current inventory', 'critical low stock items') but does not disclose behaviors like default limit application, result ordering, or how filters combine. Minimal extra value beyond what annotations and schema already imply.

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

Conciseness5/5

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

The description is a single sentence that names the action, resource, source, and available options. It is front-loaded with the main behavior and contains no filler.

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?

Given the tool's low complexity (three optional parameters, no required arguments), the existence of an output schema, and the read-only annotation, the description is mostly sufficient. Minor gaps like default limit and filter combination aren't critical because the schema already documents the limit and threshold.

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 coverage is 100% for all three parameters (limit, category, low_stock_only). The description merely paraphrases the category and low_stock_only features with 'filter by category' and 'critical low stock items' without adding syntax, formatting, or combination rules beyond the schema's existing descriptions.

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 clearly states a specific action and resource: 'Fetch current inventory products from Chirak' with filtering options. However, it doesn't explicitly distinguish itself from sibling tools like search_product or get_chirak_help, leaving some differentiation to the tool name and parameter hints.

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?

No guidance is provided on when to use this tool versus alternatives. The description mentions filter options but does not say when to prefer this over search_product or when not to use it, nor does it mention any prerequisites or contexts.

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