Skip to main content
Glama
thehesiod

io.github.thehesiod/costco

by thehesiod

get_receipt_detail

Retrieve complete itemized receipt details for a Costco warehouse purchase using a transaction barcode, including line items, prices, quantities, tax, and payment information.

Instructions

Get full itemized receipt detail for a warehouse purchase.

Returns all line items with descriptions, prices, quantities, tax flags, plus payment tender details and tax breakdown.

Args: barcode: Transaction barcode from list_warehouse_receipts account: Account name (optional, uses default).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
barcodeYes
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 carries the full burden. It lists return contents (line items, descriptions, prices, quantities, tax flags, tender details, tax breakdown). It does not explicitly state read-only behavior or error handling, but the return details are helpful.

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 clear and structured with an Args section. No redundant sentences, though it could be slightly more compact.

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 (not shown), the description adequately covers input parameters and high-level output. It could mention error cases or prerequisites like authentication, but overall it is complete enough for the tool's complexity.

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 0%, so the description must compensate. It explains that barcode comes from list_warehouse_receipts and account is optional with default. However, it does not describe format constraints or accepted values for either parameter.

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 'Get full itemized receipt detail for a warehouse purchase' with a specific verb ('Get') and resource ('receipt detail'). It distinguishes from siblings like 'list_warehouse_receipts' (summaries) and 'get_all_receipt_details' (broader).

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 description mentions the barcode source ('from list_warehouse_receipts') and optional account parameter, providing clear usage context. However, it does not explicitly state when not to use this tool or suggest alternatives.

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