Skip to main content
Glama

get_stores_by_category

Get all cashback stores in a specific category.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax results (default 30, max 100)
category_idYesCategory ID (use list_categories to find IDs)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / limit / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +"integer"
  2. First observed

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It identifies the operation as a read ('Get') but says 'all' while the limit parameter defaults to 30 and no pagination behavior is described, making the 'all' claim potentially misleading. No return format or filtering details are disclosed.

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 sentence that is front-loaded and contains no filler. It states the action, resource, and scope efficiently, leaving no structural waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter lookup this is reasonably complete, especially with schema descriptions covering the parameters. However, there is no output schema to clarify the return shape, no mention of pagination or default limits, and no annotation-level context to compensate for the missing behavioral details.

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 parameters having descriptions; category_id usefully references list_categories. The tool description itself adds no parameter meaning beyond the schema. The limit property description is somewhat confusing because it states 'max 100' while the schema maximum is 9007199254740991.

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 uses a specific verb ('Get'), names the resource ('cashback stores'), and clearly identifies the scope ('in a specific category'). It is distinguishable from the sibling tools like list_categories and search_stores, though it does not explicitly call out those differences.

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?

The category-scoped phrasing implies when this tool should be used, and the category_id parameter description points to list_categories for finding IDs. However, there is no explicit when-not-to-use guidance or contrast with alternatives like search_stores or get_deals.

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