Skip to main content
Glama

browse_categories

Read-onlyIdempotent

List all product categories in Demo Store with product counts.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput 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: +null
  2. Changed3 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +true
    • changedOutput schema / additionalProperties
      Previous value: -falseNew value: +true
    • changedOutput schema / properties / categories / items / additionalProperties
      Previous value: -falseNew value: +true
  3. Changed1 schema field changed
    • changedOutput 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"
      +}
  4. Changed2 schema fields changed
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • addedInput schema / properties
      Added value: +{}
  5. Changed3 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / properties
      Removed value: -{}
    • changedOutput 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: +null
  6. First observed

TDQS

A3.5/5.0
Behavior3/5

Does 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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters4/5

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.

Purpose4/5

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.

Usage Guidelines2/5

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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources