Skip to main content
Glama

Choose a product

show_product_picker
Read-onlyIdempotent

Show products from the user’s connected Shopify store or website/feed as selectable cards with reference photos. Search for a product or supply 1-6 real IDs from list_products. One candidate asks “Do you mean this product?”; several let the user choose. Use when the requested product/reference is ambiguous or a likely match needs confirming. This only displays choices: STOP and wait for the user before generating or editing. When the user already clearly confirmed a product, use that selection without asking again. On text-only channels present the returned names/photos as choices in the user’s language and wait.

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

Input Schema

NameRequiredDescriptionDefault
searchNoSearch title or description, e.g. amethyst pendant.
productIdsNoSpecific candidate IDs from list_products (1-6); one for confirming a likely match.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / productIds / description
      Added value: +"Specific candidate IDs from list_products (1-6); one for confirming a likely match."
    • addedInput schema / properties / search / description
      Added value: +"Search title or description, e.g. amethyst pendant."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare a read-only, non-destructive, idempotent, closed-world operation, but the description adds the interaction contract: a single candidate prompts a yes/no confirmation while several let the user choose, and the agent must stop and wait. It also explains what to do on text-only channels (present the returned names and photos in the user's language), which no structured field conveys.

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 front-loaded with the resource and the two input modes before moving to usage and the stop-and-wait rule. The 'wait' instruction is restated for text-only channels, but the two instances serve different purposes, so the slight repetition is acceptable rather than wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter display tool with full schema coverage and no output schema, this covers everything an agent needs: how to source inputs, how the UI behaves per candidate count, the mandatory pause before any generation or editing, and how to render choices on text-only channels.

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 coverage is 100%, so the baseline is 3. The description still adds meaning beyond the schema by specifying that productIds must be real IDs obtained from list_products, and that a single ID represents a confirmation of a likely match rather than a generic selection, which shapes how the parameter is populated.

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 states a specific action and resource (show products as selectable cards with reference photos) and scopes where they come from: the connected Shopify store or a website/feed. It separates itself from siblings by routing to list_products for candidate IDs and by stating it only displays choices rather than generating or editing.

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?

It gives explicit when-to-use (ambiguous product request or a likely match needing confirmation) and an explicit when-not-to-use case: if the user already confirmed a product, use that selection without asking again. It also names list_products as the source of IDs, which is the concrete alternative an agent needs.

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.

Resources