Skip to main content
Glama

cvs_category

Read-only

Browse one page of a CVS.com OTC (over-the-counter) retail category, subcategory, or brand page's product grid: normalized products with title, brand, image, current/original price, and sponsored/featured/new-product flags; the total result count; and the facets (brand, color, size, price, and other category-specific attributes with their selectable values and result counts) available to filter the page further. Covers the non-prescription retail catalog only. path is the segment of a page URL after "/shop/", e.g. "beauty" (top-level category), "health-medicine/allergy-sinus" (subcategory), or "brand-shop/s/safe-home" (brand page); a full https://www.cvs.com/shop/... URL is also accepted. Any of these can also carry an optional facet-filter suffix in the site's own URL shape, e.g. "beauty/makeup/eyes/q/CoverGirl/Black/brpc" -- see the response's facets field for which values/type codes a given category supports; filter values are case-sensitive. page is a 1-indexed page number (default 1). sort is an optional result order: pa (Price Low to High), pd (Price High to Low), tr (Top Rated), rc (Most Reviewed), az (Name A-Z), or za (Name Z-A); default is the site's own relevance order.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>"
    },
    "name": "cvs_category"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo1-indexed page number, default 1
pathYesCVS category, subcategory, or brand-page URL path, optionally with a /q/{value}/{typeCode} facet-filter suffix, e.g. \
sortNoResult sort order, default the site's own relevance order. One of pa (Price Low to High), pd (Price High to Low), tr (Top Rated), rc (Most Reviewed), az (Name A-Z), za (Name Z-A). Documented values: pa, pd, tr, rc, az, za.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / page / description
      Added value: +"1-indexed page number, default 1"
    • addedInput schema / properties / path / description
      Added value: +"CVS category, subcategory, or brand-page URL path, optionally with a /q/{value}/{typeCode} facet-filter suffix, e.g. \\"
    • addedInput schema / properties / sort / description
      Added value: +"Result sort order, default the site's own relevance order. One of pa (Price Low to High), pd (Price High to Low), tr (Top Rated), rc (Most Reviewed), az (Name A-Z), za (Name Z-A). Documented values: pa, pd, tr, rc, az, za."
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/non-idempotent, and the description adds genuinely non-obvious behavior: one page at a time with a total count, filter values are case-sensitive, facet type codes are discovered from the response, and the default sort is the site's own relevance order rather than a documented code. It does not mention rate limits, auth, or how many pages exist relative to the total count.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the resource and return shape, then parameters in a logical order; no filler sentences. It is dense and slightly run-on (the facet-suffix sentence packs several ideas), but each sentence carries operational information an agent needs.

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

Completeness5/5

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

For a three-parameter browsing tool with an output schema, the description covers scope, addressing modes, filtering mechanics, paging, and sorting — everything needed to invoke it correctly. Return-field explanation partly duplicates the output schema but does not crowd out anything essential.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% but the description meaningfully exceeds it: it explains the '/shop/' prefix convention, that a full URL is accepted, the exact '/q/{value}/{typeCode}' facet suffix shape, case-sensitivity of filter values, 1-indexed paging, and expands each sort code with its meaning and default. The schema's own path description is truncated, so this text is the authoritative source.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a precise verb+resource: 'Browse one page of a CVS.com OTC retail category, subcategory, or brand page's product grid,' and enumerates exactly what comes back (products, total count, facets). That scope statement separates it from cvs_search (query-driven) and cvs_categories (taxonomy listing) without needing to name them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit scope exclusion ('Covers the non-prescription retail catalog only') and concrete path examples for the three page types, plus guidance to consult the response's facets field before constructing filter suffixes. It stops short of explicitly naming when to prefer cvs_search or cvs_product over this browser, so an agent must infer the boundary.

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.