Skip to main content
Glama
thehesiod

io.github.thehesiod/costco

by thehesiod

lookup_products

Resolve Costco item numbers to full product names. Shared local cache reduces API requests for repeated lookups.

Instructions

Look up full Costco product names by item numbers.

Uses a shared local cache — only calls the API for uncached items.

Args: item_numbers: Comma-separated item numbers (e.g. "70476,5887,1532925") warehouse_number: Warehouse number (default "847") account: Account name (optional, uses default).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
item_numbersYes
warehouse_numberNo847
accountNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations are provided, so the description must carry the full burden. It discloses the caching behavior ('only calls the API for uncached items'), which is a key behavioral trait for a read operation. It does not cover authentication needs or rate limits, but the cache disclosure is valuable and beyond the basic read-only assumption.

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?

The description is concise, with a clear first sentence summarizing the tool's purpose, followed by a brief cache note and parameter details. It has no unnecessary words, though the parameter list could be more structured (e.g., bullet points). Still, it efficiently communicates essential 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?

Given that an output schema exists, the description does not need to explain return values. It covers the core functionality (looking up product names) and the caching behavior. However, with no annotations, it lacks safety context (e.g., read-only assurance, authentication requirements). This is a minor gap given the tool's apparent read-only nature, keeping it at a 4.

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?

The input schema has 0% description coverage, so the description must compensate. It provides clear, actionable explanations for all three parameters: item_numbers (with example), warehouse_number (with default), and account (with default and optionality). This adds significant value beyond the schema itself.

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?

The description clearly states the action ('Look up full Costco product names'), the resource ('product names'), and the method ('by item numbers'). It uniquely identifies the tool's purpose and distinguishes it from sibling tools that deal with receipts and authentication.

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 description mentions a shared cache for efficiency, implying when to use it (repeated lookups). However, it does not explicitly state when not to use this tool or compare it with alternatives like searching for products in other ways. Sibling tools are unrelated, so no direct conflict guidance is needed, but the absence of when-not guidance keeps it at a 3.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/thehesiod/costco-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server