compare_local_vs_chain
Score a local independent against a national chain at the same location. Returns a side-by-side breakdown with delta and verdict, confirming the independent's edge or the chain's disqualification.
Instructions
Score a local independent head-to-head against a national chain at the same location. Resolves both businesses via Google Places, runs LocalRoots scoring on each, and returns a side-by-side breakdown with a score delta and plain-language verdict. Use this when a user wants to understand exactly how much more independent a local spot is compared to the chain down the street, or to validate that a suspected chain is actually disqualified. National chains will score tier_4 (disqualified) in almost all cases. A warning fires if the chain somehow scores higher than the independent, which usually means the chain name is not in the bundled database or the independent has a very thin Google profile. Checks the Wayback Machine for the independent's website to infer tenure before 2005, 2010, or 2015.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| near | Yes | ||
| category | No | ||
| chain_name | Yes | ||
| independent_name | Yes |