Skip to main content
Glama

cvs_search

Read-only

Search CVS.com's non-prescription retail/OTC catalog by keyword: 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 attributes with their selectable values and result counts) available to filter the results further. The same product-search backend cvs_category reads, just reached by keyword instead of by category/brand path. q is the search keyword or phrase, required. 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 relevance.

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": {
      "q": "<q>"
    },
    "name": "cvs_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSearch keyword or phrase
pageNo1-indexed page number, default 1
sortNoResult sort order, default relevance. 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 / q / description
      Added value: +"Search keyword or phrase"
    • addedInput schema / properties / sort / description
      Added value: +"Result sort order, default relevance. 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.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true; the description goes beyond them by describing the catalog scope (non-prescription OTC), the returned product payload, facet counts for further filtering, and the paging/sort defaults. It does not mention rate limits, result caps, or pagination limits, which keeps it from a 5.

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 core action and distinguished from the sibling early, then parameter semantics. The sort code list appears in both the prose and the schema and is repeated verbatim, which is mild waste, but the overall structure is scannable and mostly earns its length.

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?

An output schema exists so return values needn't be spelled out, yet the description still frames the result shape (products plus total count plus facets) and the filterable attributes. For a 3-parameter read tool with full schema coverage and annotations, nothing an agent needs to call it correctly is missing.

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 description coverage is 100%, so all three parameters are already documented. The description restates q's meaning and requiredness, page's 1-indexing and default, and the full sort enum — largely duplicating the schema rather than adding new semantics such as sort's interaction with facets or page bounds. Baseline 3 applies.

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?

Names a specific verb and resource ('Search CVS.com's non-prescription retail/OTC catalog by keyword') and explicitly contrasts itself with cvs_category: 'the same product-search backend cvs_category reads, just reached by keyword instead of by category/brand path.' An agent can distinguish the two without opening either schema.

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?

The keyword-vs-category-path contrast tells the agent when this tool is the right choice and points to the alternative implicitly. It does not give an explicit 'use X instead when...' exclusion or state prerequisites, so it stops short of full routing guidance.

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.