Skip to main content
Glama
thehesiod

io.github.thehesiod/costco

by thehesiod

Server Quality Checklist

67%
Profile completionA complete profile improves this server's visibility in search results.
  • Latest release: v0.1.2

  • Disambiguation5/5

    Each tool has a clearly distinct purpose: auth status, receipt bulk/single detail, online orders, warehouse receipts, product lookup, and token management. There is no overlap or ambiguity between them.

    Naming Consistency5/5

    All tools use a consistent verb_noun pattern with snake_case, such as check_auth_status, list_warehouse_receipts, and save_refresh_token. The naming is predictable and easy to understand.

    Tool Count5/5

    Seven tools is an appropriate number for a Costco data retrieval server. It covers authentication, receipts, online orders, product lookup, and token management without being too few or excessive.

    Completeness4/5

    The tool set covers the main data retrieval needs, but there is a notable gap: check_auth_status references a nonexistent list_accounts tool. Adding that would improve completeness, though core operations are present.

  • Average 4/5 across 7 of 7 tools scored.

    See the Tool Scores section below for per-tool breakdowns.

    • No community issues in the last 6 months
    • 0 commits in the last 12 weeks
    • Last stable release on
    • No critical vulnerability alerts
    • No high-severity vulnerability alerts
    • No code scanning findings
    • CI is passing
  • This repository is licensed under MIT License.

  • This repository includes a README.md file.

  • No tool usage detected in the last 30 days. Usage tracking helps demonstrate server value.

    Tip: use the "Try in Browser" feature on the server page to seed initial usage.

  • Add a glama.json file to provide metadata about your server.

  • If you are the author, simply .

    If the server belongs to an organization, first add glama.json to the root of your repository:

    {
      "$schema": "https://glama.ai/mcp/schemas/server.json",
      "maintainers": [
        "your-github-username"
      ]
    }

    Then . Browse examples.

  • Add related servers to improve discoverability.

How to sync the server with GitHub?

Servers are automatically synced at least once per day, but you can also sync manually at any time to instantly update the server profile.

To manually sync the server, click the "Sync Server" button in the MCP server admin interface.

How is the quality score calculated?

The overall quality score combines two components: Tool Definition Quality (70%) and Server Coherence (30%).

Tool Definition Quality measures how well each tool describes itself to AI agents. Every tool is scored 1–5 across six dimensions: Purpose Clarity (25%), Usage Guidelines (20%), Behavioral Transparency (20%), Parameter Semantics (15%), Conciseness & Structure (10%), and Contextual Completeness (10%). The server-level definition quality score is calculated as 60% mean TDQS + 40% minimum TDQS, so a single poorly described tool pulls the score down.

Server Coherence evaluates how well the tools work together as a set, scoring four dimensions equally: Disambiguation (can agents tell tools apart?), Naming Consistency, Tool Count Appropriateness, and Completeness (are there gaps in the tool surface?).

Tiers are derived from the overall score: A (≥3.5), B (≥3.0), C (≥2.0), D (≥1.0), F (<1.0). B and above is considered passing.

Tool Scores

  • Behavior3/5

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

    No annotations are provided, so the description must cover behavioral traits. It discloses input format, defaults, and filter options, but omits details like read-only nature, pagination, or return limits. The description is adequate but not exhaustive.

    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 well-structured with a concise purpose statement followed by an Args section. It is efficient without redundant text, though slightly verbose with the return field list.

    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 the presence of an output schema (not shown), the description adequately explains return values and how to use results with get_receipt_detail. It covers all parameters and defaults, though it could mention pagination or sorting for completeness.

    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 description coverage is 0%, so the description compensates by explaining each parameter: start_date and end_date format, document_type options ('all', 'warehouse', 'gas', 'carwash'), and account as optional. This adds significant meaning beyond the bare schema.

    Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

    Purpose4/5

    Does the description clearly state what the tool does and how it differs from similar tools?

    The description clearly states the tool lists in-warehouse purchase receipts for a date range, specifies returned fields (date, warehouse name, total, item count, barcode), and hints at relationship with get_receipt_detail. It effectively communicates the core function.

    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 indicates when to use the tool (listing receipts) and directs to use barcode with get_receipt_detail for full items. However, it does not explicitly differentiate from sibling tools like get_all_receipt_details or when not to use this tool, leaving room for confusion.

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

  • Behavior3/5

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

    The description reveals it fetches a receipt list then retrieves full details for each, indicating multiple internal calls. However, it omits potential side effects, rate limits, pagination behavior, or performance implications. Without annotations, more behavioral disclosure is needed.

    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?

    The description is lean (5 lines), front-loaded with the primary purpose, and structured with clear argument descriptions. Every sentence adds value without unnecessary fluff.

    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?

    The tool has an output schema (unknown content) but the description explains the two-step process. However, it does not mention if the operation could be long-running or hit limits. Given the batch nature, a note on scalability would improve completeness.

    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?

    With 0% schema description coverage, the description fully compensates by specifying format (M/DD/YYYY), defaults (90 days ago / today), and optionality for each parameter. The account parameter mention 'uses default' is slightly vague but acceptable.

    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 tool gets 'full itemized details for ALL warehouse receipts in a date range', with a specific verb and resource. It distinguishes itself from siblings like 'get_receipt_detail' (single) and 'list_warehouse_receipts' (list only) by combining listing and details retrieval.

    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 implies use for batch full detail retrieval but does not explicitly state when to use it over alternatives or when not to. Sibling names provide context, but the description lacks direct guidance on trade-offs.

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

  • Behavior3/5

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

    No annotations provided. The description mentions default date ranges but does not disclose side effects, idempotency, rate limits, or authorization requirements. Assumed read-only but not explicit.

    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?

    Well-structured with summary, return description, and parameter list. Slightly verbose on parameter details but clear and easy to parse.

    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?

    Covers purpose, parameters, and returns. Lacks error handling, pagination behavior, or output schema details beyond what is stated. Output schema exists but description is sufficient for common usage.

    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?

    Schema has 0% description coverage; the description provides format, defaults, and purpose for all 6 parameters, greatly exceeding schema info.

    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?

    Clearly states listing online Costco.com orders for a date range, differentiating from sibling tools like get_receipt_detail and list_warehouse_receipts.

    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?

    Describes the use case but does not explicitly state when not to use or mention alternative tools. Sibling names are provided but not referenced in the description.

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

  • 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.

  • Behavior3/5

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

    No annotations exist, so the description must disclose behavioral traits. It mentions token validity of 90 days and that creating an account is possible. However, it does not discuss side effects, error behavior, or whether it's destructive/reversible.

    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?

    The description is concise with a clear front-loaded purpose statement. Every sentence adds value, covering purpose, usage, and parameter details without redundancy.

    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 cover return values. It adequately explains purpose, usage, parameters, and token lifetime. Minor omission: no mention of error cases or prerequisites, but overall sufficient for a simple save operation.

    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?

    With 0% schema coverage, the description fully compensates by explaining the source of the refresh token (Costco's Azure AD B2C) and the account parameter with examples and behavior when empty. This adds significant meaning beyond the raw schema.

    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?

    Clearly states it saves a refresh token from a browser login session, and explicitly says to add a new account or update an existing one. This distinguishes it from siblings like check_auth_status or receipt-related tools.

    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?

    Provides context for use (adding or updating accounts), but does not explicitly state when not to use or mention alternatives like check_auth_status. Usage is implied rather than clearly bounded.

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

  • 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.

  • Behavior3/5

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

    With no annotations provided, the description carries full burden. It describes the tool as checking authentication status and showing token/expiry, implying a read-only operation. However, it omits details like required permissions or side effects, making it adequate but not thorough.

    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 plus a concise parameter note. Every sentence is useful, no filler. Front-loaded with the core action.

    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 an output schema exists and only one optional parameter, the description adequately covers functionality and parameter usage. It lacks elaboration on the output format, but that's handled by the schema, so this is sufficient.

    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?

    Schema coverage is 0%, so description must compensate. It explains the account parameter is optional, uses a default if empty, and advises how to list all accounts. This adds significant meaning beyond the schema's type definition.

    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 tool's purpose: checking authentication status with Costco, showing token status and expiry. It distinguishes itself from sibling tools like save_refresh_token and receipt retrieval tools.

    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 provides guidance on the optional account parameter and references list_accounts for available accounts. It implicitly indicates when to use this tool (when needing auth status check) with no ambiguity about alternatives.

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

GitHub Badge

Glama performs regular codebase and documentation scans to:

  • Confirm that the MCP server is working as expected.
  • Confirm that there are no obvious security issues.
  • Evaluate tool definition quality.

Our badge communicates server capabilities, safety, and installation instructions.

Card Badge

costco-mcp MCP server

Copy to your README.md:

Score Badge

costco-mcp MCP server

Copy to your README.md:

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