Skip to main content
Glama

Megaventory MCP by usefulapi

Get stock levels

megaventory_get_stock
Read-only

Stock per product per inventory location: physical stock, on hand, on hold, not yet shipped (open sales orders), not yet received (open purchase orders / work orders) and the alert level. Filter by product ids, SKU, category, location or supplier, or show only products below their alert level. POST /InventoryLocationStock/InventoryLocationStockGet.

Input Schema

NameRequiredDescriptionDefault
skuNoOnly the product with exactly this SKU.
limitNoHow many records to return, 1-100 (default 25). Megaventory returns the newest records first (highest id) and has no page offset: narrow with filters instead of paging.
searchNoProducts whose description contains this text.
filtersNoExtra filters, all combined with AND. Field names are the property names shown in the results (case-insensitive).
product_idsNoOnly these product ids.
category_idsNoOnly products in these categories.
location_idsNoOnly these inventory locations (see megaventory_list_inventory_locations).
main_supplier_idsNoOnly products whose main supplier is one of these ids.
only_needing_reorderNoOnly products that need to be ordered (at or below their alert level).
only_positive_quantityNoOnly products with a positive quantity.
include_product_detailsNoAlso return the product objects.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/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 that the returned figures fold in open sales orders, purchase orders and work orders, which is genuine output semantics, but it says nothing about pagination or rate behavior (that lives only in the schema).

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?

The resource and returned fields are front-loaded in a single dense sentence, followed by filtering capabilities and the endpoint. Efficient, though the opening sentence is heavily comma-laden and could have been split for scannability.

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 usefully enumerates the fields returned, which is exactly what an agent needs to know what comes back. Filtering options and the location-id cross-reference are covered between description and schema; only paging/limit behavior is left entirely to the schema.

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 all 11 parameters — including limit's no-page-offset rule and the filters array semantics — are already documented in the schema. The description only restates the filter categories at a high level and adds no syntax or format detail beyond that, hitting the baseline for full schema coverage.

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 names the exact resource (stock per product per inventory location) and enumerates the returned quantities — physical stock, on hand, on hold, not-yet-shipped, not-yet-received and alert level. An agent can distinguish this from sibling list tools such as megaventory_list_products without opening the schema.

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 lists the available filtering axes (product ids, SKU, category, location, supplier, below alert level), which implies how the tool is meant to be narrowed, and the schema cross-references megaventory_list_inventory_locations for valid location ids. However, there is no explicit when-to-use vs when-not (e.g. versus list_products or get_product_bom), so usage must be inferred.

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.