Skip to main content
Glama

Get Products

get_products

List OpenCart products with stock, prices, and SEO data. Search by name, filter by category, and include full HTML descriptions when needed.

Instructions

List products with stock, prices, and SEO data. Search by name. Optionally filter by category_id. Set include_description=True to include full HTML descriptions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
searchNo
category_idNo
include_descriptionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations, so the description carries full burden. It usefully discloses that full HTML descriptions are excluded unless include_description=True, which is genuine behavioral context. However, it says nothing about pagination limits, default page size, auth/permissions, or result truncation.

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?

Four short, front-loaded sentences with no filler. The return-data summary leads, then search/filter/flag mechanics follow. Efficient, though slightly clipped.

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 an output schema present, return-value explanation isn't required. The description covers the meaningful parameters and the description-inclusion tradeoff, leaving only the limit parameter and its pagination behavior unaddressed.

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 0%, so the description must carry all parameter meaning. It explains search, category_id, and include_description semantics well, but the 'limit' parameter (default 50) is entirely undocumented in both schema and description.

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 clear verb ('List') and resource ('products'), plus what data comes back (stock, prices, SEO). It's distinguishable from the singular 'get_product' sibling by implication, though it doesn't explicitly name the alternative.

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?

Gives implied usage ('Search by name', 'filter by category_id') but never states when to use this vs get_product, get_stock_report, or get_product_attributes. The agent must infer routing across a crowded product-tool sibling set.

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