Skip to main content
Glama

costco_search

Read-only

Search Costco public product results by query and/or a category slug. Use costco_product for one product's details, costco_categories to discover category values, or costco_product_availability to check delivery stock.

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": "costco_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoSearch text
categoryNoCostco category slug, e.g. the last path segment of a category page URL

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. Changed2 schema fields changed
    • addedInput schema / properties / category / description
      Added value: +"Costco category slug, e.g. the last path segment of a category page URL"
    • addedInput schema / properties / query / description
      Added value: +"Search text"
  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, openWorldHint=true, and non-idempotent behavior, so the safety profile is covered. The description adds that results are 'public' and filterable, but says nothing about pagination, result limits, or behavior when neither filter is supplied (both parameters are optional). Useful context, but not much beyond the structured fields.

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?

Two sentences with zero filler: the capability and its filters come first, then the sibling routing. Every clause carries actionable information.

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?

With a full input schema, an output schema, and annotations in place, the description covers purpose and alternatives well. The remaining gap is the zero-required-parameter case — it never states what a call with no query and no category returns — plus any pagination behavior.

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%, with both parameters documented including the category-slug format example, so the schema carries the semantics. The description's only addition is the 'and/or' indication that query and category may be combined or used alone, which is marginal.

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?

States a specific verb (search) and resource (Costco public product results) plus the two supported narrowing dimensions. It also names the sibling tools it is not, so an agent can distinguish it from costco_product and costco_categories without opening a schema.

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

Usage Guidelines5/5

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

Explicitly routes three adjacent tasks to their own tools: single-product detail to costco_product, category discovery to costco_categories, and stock checks to costco_product_availability. The 'and/or' phrasing also tells the agent the two filters compose, leaving no inference about how to narrow a search.

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.