Skip to main content
Glama

Megaventory MCP by usefulapi

Get product bill of materials

megaventory_get_product_bom
Read-only

The bill of materials (BOM) of a manufactured product: its raw materials (id, SKU, description, quantity per unit). POST /ProductBOM/ProductBOMGet.

Input Schema

NameRequiredDescriptionDefault
skuYesSKU of the finished product.
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.
category_idNoRestrict to products in this category.
include_referenced_objectsNoAlso return the referenced product objects.

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 fully covered. The description adds the return content shape and the underlying endpoint, but says nothing about auth requirements, whether unassembled products return empty, or error behavior.

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?

Two compact sentences with the return shape front-loaded and no filler. The endpoint reference is minimal and does not bloat the definition.

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 carries the return-value burden and does so by naming the fields returned (id, SKU, description, quantity per unit). Combined with annotations covering safety and a fully documented schema, the only real gap is usage routing, which is scored separately.

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%, and the schema itself thoroughly documents all four parameters (including the pagination note on limit). The description adds nothing at the parameter level, so baseline 3 applies.

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 resource (the bill of materials of a manufactured product) and its contents (raw materials with id, SKU, description, quantity per unit). An agent can distinguish this from list_product_bundles because it names the distinct BOM concept, though it never explicitly contrasts the two.

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?

Purely definitional. It gives no condition for when to reach for this tool versus get_stock, list_products, or list_product_bundles, and no prerequisites such as the product needing to be manufactured/assembled.

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.