# shop_overview

> Tusella MCP tool. Server `https://mcp.tusella.com/mcp`. Part of the [Tusella docs for AI agents](https://tusella.com/docs/); every tool in one list: [tools.md](https://tusella.com/docs/mcp/tools.md), [tools.json](https://tusella.com/docs/mcp/tools.json).

Orient on a shop before finding anything: listing counts by status and by change-vs-Etsy state, shop sections with listing counts, top tags, active-listing price range, unpublished-changes count, and listing_facts: photos without alt text and free tag slots across active listings, each with totals and the listings with the most; variations at zero stock in active listings that still sell other variations; and active listings whose Etsy listing expires within 30 days, soonest first.

- Title: Shop overview
- Group: Start here
- Granted by scope: `listings:read` or `pinterest:read`
- Team permission: `workspace.read` (any member of the team)
- Effect: Reads only; changes nothing.
- Hints: read-only · idempotent
- HTML: https://tusella.com/docs/mcp/tools/shop_overview/
- Markdown: https://tusella.com/docs/mcp/tools/shop_overview.md

## Description

Orient on a shop before finding anything: listing counts by status and by change-vs-Etsy state, shop sections with listing counts, top tags, active-listing price range, unpublished-changes count, and listing_facts: photos without alt text and free tag slots across active listings, each with totals and the listings with the most; variations at zero stock in active listings that still sell other variations; and active listings whose Etsy listing expires within 30 days, soonest first. Stock is as of the last sync from Etsy. Answers for a shop with zero listings. compact=true returns counts and explicit omissions; reference_lookup pages full shop sections, while top tags are a capped sample. Read-only; org-scoped.

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `compact` | `boolean` | no | Return bounded counts and readiness with explicit section/tag omissions. |
| `shop_id` | `string` | no | UUID of a connected shop from team_overview. External agents may omit it only when the team has one selectable shop; an in-app turn may use its selected shop. |

## Example arguments

```json
{
  "shop_id": "00000000-0000-0000-0000-000000000001"
}
```

## Example result

```json
{
  "result": {
    "scope": {
      "organization_id": "00000000-0000-0000-0000-000000000001",
      "shop_id": "00000000-0000-0000-0000-000000000001"
    },
    "freshness": {
      "live": true
    },
    "provenance": "workspace",
    "listing_count": 0,
    "counts_by_status": {
      "active": 0,
      "draft": 0,
      "inactive": 0,
      "sold_out": 0,
      "expired": 0
    },
    "counts_by_changes_vs_etsy": {
      "up_to_date": 0,
      "unpublished_changes": 0,
      "changed_on_etsy": 0,
      "conflict": 0,
      "unknown": 0,
      "not_on_etsy": 0
    },
    "comparison_readiness": {
      "status": "ready",
      "unqualified_count": 0
    },
    "shop_sections": [],
    "top_tags": [],
    "price_range": {
      "min": null,
      "max": null,
      "currency": null
    },
    "unpublished_changes_count": 0,
    "listing_facts": {
      "photos_without_alt_text": {
        "photo_count": 7,
        "listing_count": 2,
        "examples": [
          {
            "listing_id": "00000000-0000-0000-0000-000000000002",
            "title": "Walnut serving board",
            "count": 5
          },
          {
            "listing_id": "00000000-0000-0000-0000-000000000003",
            "title": "Oak wall shelf",
            "count": 2
          }
        ]
      },
      "free_tag_slots": {
        "tag_limit": 13,
        "slot_count": 9,
        "listing_count": 1,
        "examples": [
          {
            "listing_id": "00000000-0000-0000-0000-000000000003",
            "title": "Oak wall shelf",
            "count": 9
          }
        ]
      },
      "variations_out_of_stock": {
        "variation_count": 2,
        "listing_count": 1,
        "examples": [
          {
            "listing_id": "00000000-0000-0000-0000-000000000004",
            "title": "Linen apron",
            "count": 2
          }
        ]
      },
      "expiring_soon": {
        "window_days": 30,
        "listing_count": 1,
        "examples": [
          {
            "listing_id": "00000000-0000-0000-0000-000000000003",
            "title": "Oak wall shelf",
            "expires_at": "2026-12-01T00:00:00+00:00"
          }
        ]
      }
    }
  }
}
```

## Input schema

```json
{
  "properties": {
    "compact": {
      "description": "Return bounded counts and readiness with explicit section/tag omissions.",
      "type": "boolean"
    },
    "shop_id": {
      "description": "UUID of a connected shop from team_overview. External agents may omit it only when the team has one selectable shop; an in-app turn may use its selected shop.",
      "type": "string"
    }
  },
  "type": "object"
}
```

## Output schema

```json
{
  "additionalProperties": false,
  "oneOf": [
    {
      "not": {
        "anyOf": [
          {
            "required": [
              "omissions"
            ]
          },
          {
            "required": [
              "representation"
            ]
          }
        ]
      },
      "required": [
        "shop_sections",
        "top_tags"
      ]
    },
    {
      "not": {
        "anyOf": [
          {
            "required": [
              "shop_sections"
            ]
          },
          {
            "required": [
              "top_tags"
            ]
          }
        ]
      },
      "required": [
        "representation",
        "omissions"
      ]
    }
  ],
  "properties": {
    "comparison_readiness": {
      "additionalProperties": false,
      "properties": {
        "status": {
          "type": "string"
        },
        "unqualified_count": {
          "type": "integer"
        }
      },
      "required": [
        "status",
        "unqualified_count"
      ],
      "type": "object"
    },
    "counts_by_changes_vs_etsy": {
      "additionalProperties": false,
      "properties": {
        "changed_on_etsy": {
          "type": "integer"
        },
        "conflict": {
          "type": "integer"
        },
        "not_on_etsy": {
          "type": "integer"
        },
        "unknown": {
          "type": "integer"
        },
        "unpublished_changes": {
          "type": "integer"
        },
        "up_to_date": {
          "type": "integer"
        }
      },
      "type": "object"
    },
    "counts_by_status": {
      "additionalProperties": false,
      "properties": {
        "active": {
          "type": "integer"
        },
        "draft": {
          "type": "integer"
        },
        "expired": {
          "type": "integer"
        },
        "inactive": {
          "type": "integer"
        },
        "sold_out": {
          "type": "integer"
        }
      },
      "type": "object"
    },
    "freshness": {
      "additionalProperties": false,
      "properties": {
        "live": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "listing_count": {
      "type": "integer"
    },
    "listing_facts": {
      "additionalProperties": false,
      "description": "Counts over active listings, not ratings. examples are the listings with the largest count; for expiring_soon, the soonest to expire.",
      "properties": {
        "expiring_soon": {
          "additionalProperties": false,
          "properties": {
            "examples": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "expires_at": {
                    "format": "date-time",
                    "type": "string"
                  },
                  "listing_id": {
                    "type": "string"
                  },
                  "title": {
                    "type": "string"
                  }
                },
                "required": [
                  "listing_id",
                  "title",
                  "expires_at"
                ],
                "type": "object"
              },
              "maxItems": 3,
              "type": "array"
            },
            "listing_count": {
              "type": "integer"
            },
            "window_days": {
              "const": 30
            }
          },
          "required": [
            "window_days",
            "listing_count",
            "examples"
          ],
          "type": "object"
        },
        "free_tag_slots": {
          "additionalProperties": false,
          "properties": {
            "examples": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "count": {
                    "type": "integer"
                  },
                  "listing_id": {
                    "type": "string"
                  },
                  "title": {
                    "type": "string"
                  }
                },
                "required": [
                  "listing_id",
                  "title",
                  "count"
                ],
                "type": "object"
              },
              "maxItems": 3,
              "type": "array"
            },
            "listing_count": {
              "type": "integer"
            },
            "slot_count": {
              "type": "integer"
            },
            "tag_limit": {
              "const": 13
            }
          },
          "required": [
            "slot_count",
            "listing_count",
            "examples",
            "tag_limit"
          ],
          "type": "object"
        },
        "photos_without_alt_text": {
          "additionalProperties": false,
          "properties": {
            "examples": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "count": {
                    "type": "integer"
                  },
                  "listing_id": {
                    "type": "string"
                  },
                  "title": {
                    "type": "string"
                  }
                },
                "required": [
                  "listing_id",
                  "title",
                  "count"
                ],
                "type": "object"
              },
              "maxItems": 3,
              "type": "array"
            },
            "listing_count": {
              "type": "integer"
            },
            "photo_count": {
              "type": "integer"
            }
          },
          "required": [
            "photo_count",
            "listing_count",
            "examples"
          ],
          "type": "object"
        },
        "variations_out_of_stock": {
          "additionalProperties": false,
          "properties": {
            "examples": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "count": {
                    "type": "integer"
                  },
                  "listing_id": {
                    "type": "string"
                  },
                  "title": {
                    "type": "string"
                  }
                },
                "required": [
                  "listing_id",
                  "title",
                  "count"
                ],
                "type": "object"
              },
              "maxItems": 3,
              "type": "array"
            },
            "listing_count": {
              "type": "integer"
            },
            "variation_count": {
              "type": "integer"
            }
          },
          "required": [
            "variation_count",
            "listing_count",
            "examples"
          ],
          "type": "object"
        }
      },
      "required": [
        "photos_without_alt_text",
        "free_tag_slots",
        "variations_out_of_stock",
        "expiring_soon"
      ],
      "type": "object"
    },
    "omissions": {
      "additionalProperties": false,
      "properties": {
        "shop_sections": {
          "additionalProperties": false,
          "properties": {
            "coverage": {
              "const": "none"
            },
            "read": {
              "type": "object"
            },
            "representation": {
              "const": "omitted"
            }
          },
          "required": [
            "representation",
            "coverage",
            "read"
          ],
          "type": "object"
        },
        "top_tags": {
          "additionalProperties": false,
          "properties": {
            "available_coverage": {
              "const": "sample"
            },
            "coverage": {
              "const": "none"
            },
            "listing_scan_limit": {
              "const": 10000
            },
            "representation": {
              "const": "omitted"
            },
            "tag_limit": {
              "const": 25
            }
          },
          "required": [
            "representation",
            "coverage",
            "available_coverage",
            "tag_limit",
            "listing_scan_limit"
          ],
          "type": "object"
        }
      },
      "required": [
        "shop_sections",
        "top_tags"
      ],
      "type": "object"
    },
    "price_range": {
      "additionalProperties": false,
      "properties": {
        "currency": {
          "type": [
            "string",
            "null"
          ]
        },
        "max": {
          "type": [
            "string",
            "null"
          ]
        },
        "min": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "provenance": {
      "type": "string"
    },
    "representation": {
      "const": "compact"
    },
    "scope": {
      "additionalProperties": false,
      "properties": {
        "organization_id": {
          "type": "string"
        },
        "shop_id": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "shop_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "shop_sections": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "listing_count": {
            "type": "integer"
          },
          "shop_section_id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "top_tags": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "listing_count": {
            "type": "integer"
          },
          "tag": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "unpublished_changes_count": {
      "type": "integer"
    }
  },
  "required": [
    "scope",
    "freshness",
    "provenance",
    "listing_count",
    "counts_by_status",
    "counts_by_changes_vs_etsy",
    "comparison_readiness",
    "price_range",
    "unpublished_changes_count",
    "listing_facts"
  ],
  "type": "object",
  "x-result-size-budget": {
    "description": "At most 100 shop sections and 25 top tags; an oversized complete external overview refuses before delivery.",
    "max_bytes": 16384,
    "strategy": "bounded-result"
  }
}
```

Generated from the application’s public MCP contract at commit `25de6b1bdce5` (2026-11-24).
