Skip to main content
Glama

costco_product_availability

Read-only

Fetch a Costco availability record with stock and estimated-delivery status for product id at a destination, using postal_code and state. Use costco_search to find products or costco_product for item details.

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": {
      "id": "<id>",
      "postal_code": "<postal_code>",
      "state": "<state>"
    },
    "name": "costco_product_availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesCostco product id
stateYesUS destination two-letter state code
postal_codeYesUS destination ZIP code

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 / id / description
      Added value: +"Costco product id"
    • addedInput schema / properties / postal_code / description
      Added value: +"US destination ZIP code"
    • addedInput schema / properties / state / description
      Added value: +"US destination two-letter state code"
  2. First observed

TDQS

A4/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 idempotentHint=false, so the safety profile is covered. The description adds useful context by naming the returned fields (stock, estimated-delivery status), but says nothing about the non-idempotent nature of a live availability read, missing-product errors, or whether the destination is US-only (that is only in the schema).

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, both front-loaded and purposeful: the first defines the operation and output, the second handles sibling routing. No filler.

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 an output schema present, return values need no explanation, and all three required parameters are fully documented in the schema. Sibling routing is covered; only edge-case behavior (invalid ZIP, unsupported state) is absent, which is minor for a read-only lookup.

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 coverage is 100%, with each of id, state and postal_code documented in the schema itself. The description reiterates that postal_code and state describe the destination and that id identifies the product, but adds no format or constraint detail beyond the schema, so 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?

States a specific verb ('Fetch') and resource ('Costco availability record'), and names the payload explicitly: stock and estimated-delivery status for a product at a destination. It is immediately distinguishable from costco_search (finding products) and costco_product (item details).

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?

Explicitly routes the agent to costco_search for product discovery and costco_product for item details, which are the plausible alternatives for this lookup. No explicit 'do not use this when' exclusion is given, but the positive routing is clear.

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.