Skip to main content
Glama

Find lookalike stores

find_lookalike_stores
Read-only

Prospecting: list the stores that look like one of the user's segments but aren't in it. In Undercart's store explorer a user saves segments (a search, such as the stores running their own app or a competitor's, or a pasted list of stores) and builds a lookalike list on a segment; this tool reads those lists, so it takes no seed of its own — segment picks one by name (the most recently built when omitted; basedOn.otherLookalikeLists names the rest). With no list built it answers with the link where the user builds one. Each answer says what the segment's stores have in common (inCommon: the apps they often also run, their size, category and country) and ranks the lookalikes closest first, each with the apps it shares (sharedApps). The segment's own stores, and stores running the apps it is defined by, are never listed. Use search_stores with tech instead to list the stores already running an app. Narrow with country, category and revenue; page with offset. The Free plan sees the closest 30 and spends search credits like search_stores. The first call for a new list can take 10-20 seconds.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax stores to return (default 20).
offsetNoSkip this many stores of the ranked list, to read past the first page (nextOffset in the answer).
countryNoCountry the store is based in: an ISO code or a name, e.g. "US" or "United States".
segmentNoWhich of the user's lookalike lists, by its segment's name. Omit for the most recently built.
categoryNoStore category, matched forgivingly like search_stores ("beauty" resolves to "Beauty & Cosmetics").
revenueMaxNoMaximum estimated ANNUAL revenue in USD (preliminary figure for unresearched stores).
revenueMinNoMinimum estimated ANNUAL revenue in USD, e.g. 10000000 for $10M/yr. A store Undercart hasn't researched yet is filtered on its preliminary figure, estimated from public data (traffic, catalog, prices, apps).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / like
      Removed value: -{
      -  "description": "\"customers\": stores that look like the stores running the user's app (or their pasted customer list). \"competitors\": stores that look like the stores running their competitors' apps. Omit for the best the setup has: customers when there are enough to learn from, else competitors.",
      -  "enum": [
      -    "customers",
      -    "competitors"
      -  ],
      -  "type": "string"
      -}
    • addedInput schema / properties / segment
      Added value: +{
      +  "description": "Which of the user's lookalike lists, by its segment's name. Omit for the most recently built.",
      +  "type": "string"
      +}
  2. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld=false, so the bar is lower, yet the description adds substantial context: no seed is required, list selection defaults to the most recently built, results are ranked closest-first, filtered stores are excluded, the Free plan caps at 30 results and consumes search credits, and the first call on a new list takes 10-20 seconds. Those latency and cost disclosures are exactly the kind of thing an agent needs to plan around and are not in the annotations.

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?

Front-loaded with purpose and packed with useful detail, with no filler sentences. It is a single dense block, however, and clauses like "segment picks one by name (the most recently built when omitted; basedOn.otherLookalikeLists names the rest)" are harder to parse than they need to be; a couple of line breaks or shorter sentences would improve scanability.

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?

No output schema exists, and the description compensates by describing the return shape: inCommon attributes, per-store sharedApps, closest-first ranking, and nextOffset for paging. Combined with the latency, credit, and plan-limit notes, an agent has everything needed to call it and interpret the response.

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 earns above that by explaining the segment parameter's default ('the most recently built when omitted') and pointing to basedOn.otherLookalikeLists for alternatives, which the schema text does not say. It also frames country/category/revenue as narrowing filters and offset as paging, though it adds nothing about limit.

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 and resource ("list the stores that look like one of the user's segments but aren't in it") and immediately pins down the scope: it reads existing lookalike lists rather than taking a seed. The opening "Prospecting:" labels the job, and the exclusion rule (segment's own stores are never listed) further sharpens what this returns versus a plain store search.

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?

Explicitly names the alternative case and the tool to use for it: "Use search_stores with tech instead to list the stores already running an app." It also gives the prerequisite (a saved segment with a built lookalike list) and says what happens when that prerequisite fails — the answer is a link to build one.

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