browse_categories
List all product categories in Demo Store with product counts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
List all product categories in Demo Store with product counts.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections.
Output schema / (root)Previous value: -{
- "$schema": "http://json-schema.org/draft-07/schema#",
- "additionalProperties": true,
- "properties": {
- "categories": {
- "items": {
- "additionalProperties": true,
- "properties": {
- "name": {
- "type": "string"
- },
- "product_count": {
- "type": "number"
- }
- },
- "required": [
- "name",
- "product_count"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "store_name": {
- "type": "string"
- },
- "total": {
- "type": "number"
- }
- },
- "required": [
- "categories",
- "total",
- "store_name"
- ],
- "type": "object"
-}New value: +nullInput schema / additionalPropertiesAdded value: +trueOutput schema / additionalPropertiesPrevious value: -falseNew value: +trueOutput schema / properties / categories / items / additionalPropertiesPrevious value: -falseNew value: +trueOutput schema / (root)Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "categories": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "product_count": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "name",
+ "product_count"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "store_name": {
+ "type": "string"
+ },
+ "total": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "categories",
+ "total",
+ "store_name"
+ ],
+ "type": "object"
+}Input schema / $schemaAdded value: +"http://json-schema.org/draft-07/schema#"Input schema / propertiesAdded value: +{}Input schema / $schemaRemoved value: -"http://json-schema.org/draft-07/schema#"Input schema / propertiesRemoved value: -{}Output schema / (root)Previous value: -{
- "$schema": "http://json-schema.org/draft-07/schema#",
- "additionalProperties": false,
- "properties": {
- "categories": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "name": {
- "type": "string"
- },
- "product_count": {
- "type": "number"
- }
- },
- "required": [
- "name",
- "product_count"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "store_name": {
- "type": "string"
- },
- "total": {
- "type": "number"
- }
- },
- "required": [
- "categories",
- "total",
- "store_name"
- ],
- "type": "object"
-}New value: +nullDoes the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is covered. The description adds one behavioral detail beyond that — that results carry product counts — but omits return shape, whether the list is flat or hierarchical, and any pagination behavior.
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?
A single tight sentence with the resource and the payload ('with product counts') front-loaded and zero filler. Nothing here is redundant or padded.
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 zero-parameter, fully annotated read tool this is nearly sufficient, and with no output schema the 'product counts' mention partially covers the return value. The only real gap is whether the output is a flat list or a category tree, which an agent might want to know before rendering.
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?
The tool takes no parameters, so there is nothing for the description to clarify; per convention the baseline is 4. The description correctly implies the call needs no input to enumerate all categories.
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?
States a specific verb ('List') and resource ('product categories') scoped to Demo Store, and adds that product counts are included. It is clearly distinguishable from sibling search tools like search_products, though it does not explicitly name an alternative to route away from.
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?
There is no statement of when to use this versus search_products or search_products_enriched, and no prerequisites or exclusions. The browsing intent is only implied by the word 'browse' in the name, not by the description text.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.