Skip to main content
Glama
hello532

shop-mcp

by hello532

low_stock_report

Identifies product variants with inventory at or below a given threshold, scanning a specified number of items to support restocking decisions.

Instructions

Variants at or below a stock threshold, lowest first. Use for restock questions. Scans up to scan variants and filters locally, so raise scan for a large catalogue.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scanNoVariants to examine, 1-250. Default 100.
thresholdNoReport variants with stock <= this. Default 5.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.1

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden of explaining behavior. It discloses that the tool 'Scans up to `scan` variants and filters locally,' including a performance tip to 'raise `scan` for a large catalogue.' This gives agents important context about potential limitations and how to adjust parameters accordingly.

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 just two sentences, yet conveys purpose, usage, parameter behavior, and a practical tip. It is tightly worded without redundancy, making it easy to parse quickly.

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?

For a tool with no output schema and simple parameters, the description is essentially complete. It explains what is returned (variants at or below threshold), the sort order, and the parameter effects. A minor gap is not explicitly stating the output format, but that is not critical for this kind of report.

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?

The schema already fully covers both parameters with descriptions. The tool description adds further meaning by explaining the interaction: the threshold determines what qualifies as low stock, and the scan parameter controls how many variants are examined. This enriches the schema's static explanations.

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

Purpose5/5

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

The description clearly states the tool's purpose: 'Variants at or below a stock threshold, lowest first.' This is a specific action (reporting) on a specific resource (variants). It distinguishes itself from sibling tools like search_products and check_inventory by focusing on low-stock items.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly says 'Use for restock questions,' providing direct guidance on when to invoke this tool over alternatives. Though it doesn't name sibling tools, the use case is clearly differentiated from search/get/inventory operations.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hello532/shop-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server