Skip to main content
Glama

Get Product

woo_get_product
Read-only

Get full details of a WooCommerce product by ID. Returns name, price, regular_price, sale_price, stock_quantity, stock_status, description, short_description, categories, images, attributes, and variations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesProduct ID
site_idNoSite ID to target (optional if you have only one connected site)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/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 value by enumerating the returned fields, but says nothing about behavior on a nonexistent ID, pagination of variations, or how the open-world site targeting works.

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?

Two sentences, purpose front-loaded and the return-value inventory following. The field list is long but each item is informative and there is no filler prose.

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?

There is no output schema, but the description compensates by enumerating the returned product fields, and the annotations cover the safety profile. For a single-ID read tool this is largely sufficient, though the site_id targeting behavior is left unexplained.

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%, with both id and site_id fully documented in the schema, so the baseline is 3. The phrase 'by ID' only restates the schema and adds no syntax, format, or constraint detail beyond what is already structured.

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 verb (Get) and resource (WooCommerce product) with the lookup key (by ID), which implicitly separates it from the browsing sibling woo_list_products. It does not explicitly name any sibling, so routing relies on inference rather than a stated contrast.

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?

The description never says when to use this versus woo_list_products, woo_get_order, or woo_list_variations, nor does it state any prerequisite such as needing a valid product ID from a prior listing call. Usage context is entirely absent.

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.

Resources