Skip to main content
Glama

cvs_store_locator

Read-only

Find nearby CVS store locations for a ZIP code, a free-text address/city/state, or a latitude/longitude pair: address, every department phone number (retail, pharmacy, photo), fax, distance, and the weekly hours of every department (retail, pharmacy, photo, clinic) with break times and holiday details, plus a has_pharmacy flag, the service indicators and an extras tree with every other upstream key. zip is a 5-digit US ZIP code; alternatively supply address (e.g. "Beverly Hills, CA") or latitude and longitude together. When more than one is supplied, zip wins, then address, then latitude/longitude. Optionally narrow to one specific service via the service param (same code vocabulary as the response's services field).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "cvs_store_locator"
  }
}

Input Schema

NameRequiredDescriptionDefault
zipNo5-digit US ZIP code, e.g. \
addressNoFree-text location -- a city, state, or street address, e.g. \
serviceNoNarrow results to stores carrying one specific service. Documented values: HH_HealthHub_Ind, MC_MinuteClinic_Ind, HS_OakStreetHealth_Ind, IM_Immunization_Ind, RX_OTCH_Ind, IM_Covax_Ind, CL_CovidTest_Ind, RX_24Hours_Ind, RX_DriveThru_Ind, RX_Pharmacy_Ind, RX_DrugDisposal_Ind, RS_24Hours_Ind, PH_Photo_Ind, RS_AcceptsWic_Ind, RS_AcceptsSnap_Ind, GN_UPSAccessPoint_Ind, RS_BOPIS_Ind, GN_YMas_Ind, BT_BeautyIRL_Ind, GN_SmileDirectClub_Ind.
latitudeNoLatitude, used together with longitude when zip and address are not supplied
longitudeNoLongitude, used together with latitude when zip and address are not supplied

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. Changed5 schema fields changed
    • addedInput schema / properties / address / description
      Added value: +"Free-text location -- a city, state, or street address, e.g. \\"
    • addedInput schema / properties / latitude / description
      Added value: +"Latitude, used together with longitude when zip and address are not supplied"
    • addedInput schema / properties / longitude / description
      Added value: +"Longitude, used together with latitude when zip and address are not supplied"
    • addedInput schema / properties / service / description
      Added value: +"Narrow results to stores carrying one specific service. Documented values: HH_HealthHub_Ind, MC_MinuteClinic_Ind, HS_OakStreetHealth_Ind, IM_Immunization_Ind, RX_OTCH_Ind, IM_Covax_Ind, CL_CovidTest_Ind, RX_24Hours_Ind, RX_DriveThru_Ind, RX_Pharmacy_Ind, RX_DrugDisposal_Ind, RS_24Hours_Ind, PH_Photo_Ind, RS_AcceptsWic_Ind, RS_AcceptsSnap_Ind, GN_UPSAccessPoint_Ind, RS_BOPIS_Ind, GN_YMas_Ind, BT_BeautyIRL_Ind, GN_SmileDirectClub_Ind."
    • addedInput schema / properties / zip / description
      Added value: +"5-digit US ZIP code, e.g. \\"
  2. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds useful output context (holiday details, break times, extras tree) but does not address why idempotentHint is false for a read operation, nor anything about rate limits or failures on unrecognized ZIPs.

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?

Placeholder.

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?

Input coverage is complete: all five parameters are documented in schema and reinforced by the precedence rule. Because an output schema exists, the long return-field enumeration is not required, and the remaining gap (failure behavior for ambiguous or non-US input) is minor for a read-only locator.

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?

Schema coverage is 100%, so baseline is 3, and the description earns the extra point by adding meaning the schema lacks: the mutual-exclusion/precedence rule among zip, address, and lat/long, and the fact that service uses the same code vocabulary as the response's services field. It does not restate the enum values, which is fine since the schema lists them.

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 specific verb and resource ("Find nearby CVS store locations") and names all three accepted locator inputs, so the tool is unmistakable against generic store siblings. It also scopes exactly what comes back (address, department phones, hours, has_pharmacy, extras tree).

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?

Gives concrete input-selection rules: supply zip, or address, or latitude+longitude together, with an explicit precedence order ("zip wins, then address, then latitude/longitude"). It also notes the optional service narrowing. No sibling alternative is named, but none is needed here since no other CVS locator exists in the catalog.

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.