Skip to main content
Glama
wp-woo-mcp

wp-woo-mcp

by Wtirliz

Get product

get_product
Read-only

Retrieve a single WooCommerce product by ID or SKU to view its categories, stock status, variation count, and description.

Instructions

Get one product with details (categories, stock, variations count, description) by id or SKU.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
skuNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered externally. The description adds useful context by enumerating the detail fields returned, which compensates somewhat for the absent output schema, but it says nothing about not-found/error behavior or identifier precedence.

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?

A single front-loaded sentence that states the resource, the returned fields, and the lookup keys with zero filler. Every clause earns its place.

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 returned detail fields, which is the main completeness risk for this tool. The remaining gap is the unstated requirement/precedence between the two optional-looking parameters.

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% and required count is 0 (odd given the tool needs an identifier), so the description carries real weight: it establishes that id and sku are alternative lookup keys. It does not clarify whether both may be passed, which wins, or that at least one is effectively mandatory.

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?

The description gives a specific verb and resource ('Get one product') plus the detail fields returned (categories, stock, variations count, description) and the two lookup keys. It is clear on its own, but never names or contrasts with the sibling search_products, so an agent must infer the boundary between fetching one known product and searching.

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?

Usage is only implied: it is the tool for retrieving a single product when you already hold an id or SKU. There is no explicit when-to-use/when-not guidance, no pointer to search_products for discovery, and no statement of what happens if neither identifier nor both are supplied.

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