get_product
Fetch a single WooCommerce product by ID to check its price, stock, and categories.
Instructions
Fetch a single product by id (price, stock, categories).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes |
Fetch a single WooCommerce product by ID to check its price, stock, and categories.
Fetch a single product by id (price, stock, categories).
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes |
Changes observed during successful MCP inspections.
v0.1.0Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must carry the full behavioral burden. 'Fetch' implies a read operation, but it does not state permissions, error behavior for missing products, rate limits, or any other operational detail beyond the minimal returned-field hint.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single front-loaded sentence with no filler. The parenthetical return-field hint is compact and relevant.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple one-parameter read tool, the description gives the essential purpose and some return fields. However, with no annotations and no output schema, it leaves error handling and the full return shape unstated, making it only minimally complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0% for the single parameter, so the description should compensate. It only restates that lookup is 'by id', adding no format, origin, constraint, or example beyond the parameter name already present in the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ('Fetch'), resource ('a single product'), and lookup key ('by id'), making the core action clear. It implicitly distinguishes itself from list/search siblings through 'single product by id', but never names an alternative tool explicitly.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is implied: use this when you have a product ID and need one product record, not for listing or searching. There is no explicit when-to-use guidance, no exclusions, and no sibling tool named as an alternative.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.