---
name: use-threefold
description: Answer "what's different there vs here" questions about apps across markets, storefronts and language variants with the threefold library. Use when a task involves app store listings, charts, ads or creator posts in another country, or localising an app for es-ES, es-MX, es-AR, de-DE or ja-JP.
---

# Use threefold

threefold exposes four tools over MCP ([docs/agent-tools.md](https://threefold.eco/docs/agent-tools.md)): `app`, `market`, `check`, and `workspace`. Each tool answers one kind of question across Brand (storefront listings and screenshots), Paid (ad libraries) and Organic (social posts) in a single call.

## Core principle

**threefold returns evidence and criteria; the agent grades the user's material and cites the links.**

- Every result arrives as a concise markdown digest under a hard budget (~4,000 tokens).
- Each claim includes direct citation links (store URL, ad library URL, post URL).
- Every digest includes a `threefold.eco` link for the person behind the agent to inspect the visual evidence.
- Coverage lines state what threefold does not have; do not fill those gaps with guesses.
- Follow the "Go deeper" lines (`focus`, filters, `cursor`) to drill into details rather than repeating broad calls.

---

## When to call which tool

### 1. `app`
**Question:** How does this app show up across stores, pillars and markets?
- **When to use:** Whenever the user names a specific app—their own or a competitor's.
- **Key inputs:** `app` (name, App Store ID, `play:<package>`, or store URL), `markets` (optional, up to 5), `store` (`ios`, `play`), `focus` (`overview` default, `brand`, `paid`, `organic`, `reviews`, `changes`), `platform`, `format`, `since`, `cursor`.
- **Output:** Localised titles, subtitles, ratings, rank, screenshots, Paid ads and Organic posts by platform with longest-running examples, and differences across markets.

### 2. `market`
**Question:** What wins in this market and genre?
- **When to use:** Researching category dynamics, finding winning competitors, or comparing a target market to a home market or reference app.
- **Key inputs:** `market` (e.g. `de`, `jp`, `es`, `mx`, `fr`, `gb`, `us`), `genre` (plain words or slug, e.g. "language learning", "finance"), `like` (optional reference app), `vs` (optional home market to compare against), `store`, `focus` (`overview` default, `brand`, `paid`, `organic`, `pricing`, `language`, `launch`), `platform`, `format`, `cursor`.
- **Output:** Top apps and how localised they are, longest-running ads, top posts, price points, local vocabulary, and crossover differences.

### 3. `check`
**Question:** Is my listing, screenshot set, ad creative, name, codebase, or live app ready for this market?
- **When to use:** Validating or grading unreleased material, checking codebase localisation readiness, or requesting a market-entry brief for a live app.
- **Key inputs:** `market`, `what` (`listing`, `screenshots`, `ad`, `name`, `website`, `repo`, `app`), `url` (for `what: website`), `listing` (title, subtitle, keywords, promotional_text, description, screenshot_count), `app` (ID for a live app), `name`, `genre`, `from` (home market), `store`, `path` (for repo scan on local stdio server).
- **Output:** Rule check findings (limits, language/variant defects, keyword overlap), market criteria with numbers behind them, and reference examples from top apps. You then grade the user's material against those criteria.

### 4. `workspace`
**Question:** What do we track, who are our competitors, what changed, and what have we saved?
- **When to use:** Managing team memory and tracking state.
- **Key inputs:** `action` (`get` default, `set_apps`, `set_competitors`, `set_markets`, `watch`, `unwatch`, `changes`, `save`, `saved`), `apps`, `market`, `markets`, `home`, `item`, `since`.
- **Output:** Tracked apps, competitors per market, target markets, active watches, detected changes since last digest, and saved briefs. Once configured, `app`, `market`, and `check` resolve relative to this workspace context.

---

## Error handling

Stop and inform the user if a call returns HTTP 402 or an error code of `insufficient_balance`, `spend_cap_exceeded`, `fresh_pull_unpriced`, or `plan_limit`. Do not invent alternative data.
