{"server":"Fictura","checked":"2026-11-22","tools":[{"name":"check_entitlement","title":"Check whether a user is subscribed","description":"The authoritative paid/not-paid verdict for one user, unified across Stripe, RevenueCat, App Store and Play — the same answer GET /api/v1/entitlements/{user_id} returns to a server. Note: `environment` is SANDBOX when the verdict rests on test purchases, so always check it before granting production access; a cancellation only flips will_renew (access runs to expires_at); and an unknown user is a valid 'none' answer, not an error.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"user_id":{"type":"string","minLength":1,"maxLength":200,"description":"Device id, account id or RevenueCat id"}},"required":["user_id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"compare_releases","title":"Compare two releases","description":"Every route, screen and page seen in both releases, with count, p50, p95 and error rate in each, sorted by the extra time per minute release b spends against a: what got slower or faster. Also what appears in only one of them. Take release names from list_releases or get_tracing_health; package@version+build works too, and a version alone is every build of it.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"a":{"type":"string","minLength":1,"maxLength":60,"description":"The earlier release"},"b":{"type":"string","minLength":1,"maxLength":60,"description":"The later release"},"op":{"description":"Only this op, like http.server or ui.load","type":"string","maxLength":64},"range":{"description":"Window: 1h, 24h, 7d, 14d, 30d or 90d (default 24h). Ignored when from is given.","type":"string","enum":["1h","24h","7d","14d","30d","90d"]},"from":{"description":"An ISO time, or how long ago: 30m, 24h, 7d","type":"string","maxLength":40},"to":{"description":"An ISO time, or how long ago (default now)","type":"string","maxLength":40},"environment":{"description":"Like production. Default: production when the app has it, else its busiest non-development one. 'all' for every environment.","type":"string","maxLength":40},"release":{"description":"Only this release: 2.0.77+185, 2.0.77 (every build) or package@2.0.77+185","type":"string","maxLength":60},"service":{"description":"Only this service, like house-ai-api or the app's bundle id","type":"string","maxLength":120},"source":{"description":"backend (servers), frontend (app and web), or all (default)","type":"string","enum":["backend","frontend","all"]}},"required":["a","b"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"create_experiment","title":"Create a draft experiment","description":"Create an A/B test as a DRAFT: nobody sees it until start_experiment. 2 to 4 arms, each pointing at a paywall or onboarding flow of this app on the experiment's surface (ids from list_surfaces); one arm may be a holdout with no target (it keeps the live config). Exactly one control; the first arm when none is marked. Defaults: mode notify (report the winner, don't ship it), new users only, the default placement, trial_started as the metric. Only works when the app allows MCP writes.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"hypothesis":{"description":"What you expect to happen and why","type":"string","maxLength":500},"surface":{"type":"string","enum":["paywall","onboarding"]},"placement":{"description":"Placement id (letters, digits, _ or -). Default `default`","type":"string","maxLength":40},"primary_metric":{"description":"Default trial_started","type":"string","minLength":1,"maxLength":60},"experiment_type":{"description":"A label. Default other","type":"string","enum":["design","price_point","introductory_offer","free_trial_offer","subscription_duration","subscription_ordering","other"]},"min_confidence":{"description":"Chance to be best a winner needs. Default 0.95","type":"number","minimum":0.5,"maximum":0.999},"mode":{"description":"notify (default) reports a winner; auto ships it","type":"string","enum":["notify","auto"]},"audience_pct":{"description":"% of eligible users enrolled. Default 100","type":"integer","minimum":5,"maximum":100},"enrollment":{"description":"Default new: users first seen after the start","type":"string","enum":["new","new_and_existing"]},"targeting":{"description":"Who is eligible; every rule must pass, {} = everyone. Keys: countries (ISO-2), platforms (ios, android, web), app_version_min/max, days_since_install_min/max, billing_states, custom","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"priority":{"description":"Enrollment order, lowest first. Default 100","type":"integer","minimum":0,"maximum":1000},"is_qa":{"description":"A QA run on test builds. Default false","type":"boolean"},"variants":{"minItems":2,"maxItems":4,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60},"target_id":{"description":"Paywall or onboarding flow id; omit for the holdout","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"allocation":{"description":"Relative weight. Default 50","type":"integer","minimum":1,"maximum":100},"is_control":{"type":"boolean"},"is_holdout":{"type":"boolean"}},"required":["name"]}}},"required":["name","surface","variants"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}},{"name":"create_fix_pr","title":"Open a draft fix PR for an error issue","description":"Open your fix for an issue as a draft PR in the app's repo, with `Fixes <short id>` so the issue resolves when it ships. Send patches (git diff) per file. No build, CI or .github changes. Needs \"Let MCP keys open pull requests\".","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"issue_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"title":{"type":"string","minLength":3,"maxLength":200},"root_cause":{"type":"string","minLength":3,"maxLength":6000},"summary":{"type":"string","minLength":3,"maxLength":4000,"description":"What the change does"},"tests_run":{"type":"string","maxLength":2000},"files":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1,"maxLength":400,"description":"Path from the repo root"},"patch":{"description":"Unified diff for this file (git diff output). Preferred: smaller.","type":"string","maxLength":400000},"content":{"description":"The whole new file","type":"string","maxLength":1000000},"delete":{"description":"Remove the file","type":"boolean"}},"required":["path"]}}},"required":["issue_id","root_cause","summary","files"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}},{"name":"create_inbound_filter","title":"Add an inbound filter","description":"Drop matching errors at ingest from now on (within 30 seconds): counted, never stored, grouped or alerted on. Use it for noise nobody will fix. Kinds as in list_inbound_filters; environment `simulator` drops events from simulators and emulators. Refuses an exact duplicate. Only works when the app allows MCP writes.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"kind":{"type":"string","enum":["exc_type","message","environment","release"]},"pattern":{"type":"string","minLength":1,"maxLength":200,"description":"Exact text, or for message a glob like *RevenueCat*network*"}},"required":["kind","pattern"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"create_onboarding_draft","title":"Create a new DRAFT onboarding flow","description":"Creates a draft onboarding flow from a document you wrote (see get_onboarding_doc's reference). It is never made live: going live is done in the dashboard. Needs an MCP key that can edit.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"name":{"type":"string","minLength":1,"maxLength":80,"description":"The flow's name in the dashboard"},"doc":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"A complete onboarding document"}},"required":["name","doc"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"create_paywall_draft","title":"Create a new DRAFT Studio paywall","description":"Creates a draft paywall from a Studio template (template_key, from list_templates — the webview ones) or from a document you wrote. It is never made live: going live is done in the dashboard. Needs an MCP key that can edit.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"name":{"type":"string","minLength":1,"maxLength":80,"description":"The paywall's name in the dashboard"},"template_key":{"description":"A webview template key to start from","type":"string","maxLength":80},"doc":{"description":"A complete document, instead of a template","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["name"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"create_pull_request","title":"Open a draft pull request","description":"Open any change as a draft PR on a new branch in one of the repos connected to Fictura. Optionally tie it to an issue. Nothing under .github/. Needs \"Let MCP keys open pull requests\".","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"repo":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,100}\\/[A-Za-z0-9_.-]{1,100}$","description":"owner/repo"},"base":{"description":"Target branch; default: the repo's default branch","type":"string","minLength":1,"maxLength":200},"title":{"type":"string","minLength":3,"maxLength":200},"body":{"type":"string","minLength":3,"maxLength":8000},"issue_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"files":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1,"maxLength":400,"description":"Path from the repo root"},"patch":{"description":"Unified diff for this file (git diff output). Preferred: smaller.","type":"string","maxLength":400000},"content":{"description":"The whole new file","type":"string","maxLength":1000000},"delete":{"description":"Remove the file","type":"boolean"}},"required":["path"]}}},"required":["repo","title","body","files"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}},{"name":"create_ticket","title":"File an error issue in GitHub, Linear or Jira","description":"Create a ticket for an error issue in GitHub Issues, Linear or Jira (connected on the Tools tab). The body is short and redacted. One GitHub issue per error issue. Only works when the app allows MCP writes.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"issue_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"provider":{"type":"string","enum":["github","linear","jira"]}},"required":["issue_id","provider"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}},{"name":"create_tracking_link","title":"Create a tracking link","description":"Creates a tracking link and returns its shareable URL. A tap is logged as a click, then redirected to destination_url with the click's id, which is how an install is credited to the link. A tap from a computer goes to desktop_url instead, or to the app's website when destination_url is a store page. Use the store address for a real campaign, or the app's own scheme (myapp://) for a link that opens the app in a test. Creates a new link each time; nothing existing changes. Needs read and edit access.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"name":{"type":"string","minLength":1,"maxLength":120,"description":"What the link is for, shown on the Links page"},"destination_url":{"type":"string","minLength":1,"maxLength":1000,"description":"Where a tap goes: a store address, a web page or myapp://"},"slug":{"description":"Vanity slug, 3 to 50 letters and digits. Leave out for a random one.","type":"string"},"provider":{"description":"Media source in lowercase, like tiktok","type":"string","maxLength":40},"campaign_id":{"description":"Campaign name or id","type":"string","maxLength":200},"deep_link_value":{"description":"Where in the app to send the person","type":"string","maxLength":200},"play_store_url":{"description":"Google Play address, for the install referrer","type":"string","maxLength":1000},"desktop_url":{"description":"Where a tap from a computer goes. Leave out to use the app's website","type":"string","maxLength":1000}},"required":["name","destination_url"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}},{"name":"delete_inbound_filter","title":"Delete an inbound filter","description":"Stop dropping what one inbound filter matches; new events land again within 30 seconds. Events it already dropped are not recovered. Take the id from list_inbound_filters. Only works when the app allows MCP writes.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"filter_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Filter id, from list_inbound_filters"}},"required":["filter_id"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":true,"openWorldHint":false}},{"name":"editor_get_doc","title":"Read the document open in the paired editor","description":"The document exactly as it is on the person's screen (unsaved changes included), which paywall it is, the screen they are on and the node they have selected, plus the document model reference. Read this before editor_set_doc and edit what you got — keep node ids, change only what was asked.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"pairing_id":{"type":"string","minLength":8,"maxLength":80,"description":"From pair_editor"}},"required":["pairing_id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"editor_set_doc","title":"Put a document on the paired editor's canvas","description":"Replaces the document in the person's open editor with the one given. It is NOT saved: the person sees the change, can undo it, and saves it themselves. The document is validated first and refused with the problems if it does not parse. Needs an MCP key that can edit.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"pairing_id":{"type":"string","minLength":8,"maxLength":80,"description":"From pair_editor"},"doc":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"The complete edited document"},"note":{"description":"What changed, shown to the person in the editor","type":"string","maxLength":160}},"required":["pairing_id","doc"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":false}},{"name":"get_acquisition_report","title":"Get paid acquisition performance","description":"`roas` gives per-campaign spend, installs (install_at in the range, split exact / weak / modelled, fraud-flagged kept out of CPI), trials, paying users, cohort revenue (paid in the range by installs from the range), CPI, CAC and ROAS = net cohort revenue ÷ spend — the same numbers as get_attribution_report kpis grouped by campaign. `blended` is the whole app by payment date and `unattributed` the part of it with no source; always keep attributed and blended figures apart. Money is per currency (no conversion). Default range: the last 28 days in the app's time zone. `spend` gives raw daily ad-spend rows. `links` lists this app's tracking links.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"view":{"type":"string","enum":["roas","spend","links"],"description":"Which acquisition view"},"since":{"description":"YYYY-MM-DD, for view=roas","type":"string"},"until":{"description":"YYYY-MM-DD, for view=roas","type":"string"},"provider":{"description":"Filter, for view=spend","type":"string"},"days":{"description":"Lookback, for view=spend","type":"integer","minimum":1,"maximum":90}},"required":["view"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_ai_usage","title":"AI model and MCP tool calls","description":"Model calls by model (gen_ai spans): calls, per minute, error rate, p50 to p99, total time, input and output tokens; and MCP tool calls by tool (mcp.server spans). Prompt and completion text is never stored, so it is never here.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"range":{"description":"Window: 1h, 24h, 7d, 14d, 30d or 90d (default 24h). Ignored when from is given.","type":"string","enum":["1h","24h","7d","14d","30d","90d"]},"from":{"description":"An ISO time, or how long ago: 30m, 24h, 7d","type":"string","maxLength":40},"to":{"description":"An ISO time, or how long ago (default now)","type":"string","maxLength":40},"environment":{"description":"Like production. Default: production when the app has it, else its busiest non-development one. 'all' for every environment.","type":"string","maxLength":40},"release":{"description":"Only this release: 2.0.77+185, 2.0.77 (every build) or package@2.0.77+185","type":"string","maxLength":60},"service":{"description":"Only this service, like house-ai-api or the app's bundle id","type":"string","maxLength":120},"source":{"description":"backend (servers), frontend (app and web), or all (default)","type":"string","enum":["backend","frontend","all"]}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_analytics","title":"Get funnel, overview or cohort analytics","description":"This app's real numbers. `overview` gives headline metrics (users, trials, trial→paid rate, events by name, cancel reasons, 14-day activity). `funnel` gives the ordered conversion funnel with per-step drop-off. `cohorts` compares behaviour across billing outcomes — what converted users did that cancelled users didn't. Below ~100 users in a step the sample is too small to read. `stores` splits paying users, purchases and revenue by App Store / Google Play / web and by storefront country (last 28 days).","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"view":{"type":"string","enum":["overview","funnel","cohorts","stores"],"description":"Which analytics view to return"}},"required":["view"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_app_setup","title":"Get this app's Fictura credentials and endpoints","description":"The real values needed to wire the Fictura SDK into a codebase: the API base URL, this app's publishable SDK key (gk_…), and the RevenueCat webhook URL. ALWAYS call this before generating integration code — never leave a placeholder API key in what you write. The SDK key is publishable and safe to commit in app source; it identifies the app, not a person.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_appsflyer_attribution_summary","title":"Summarize imported AppsFlyer attribution","description":"What the AppsFlyer import brought in about where people came from: people with an imported attribution, split by media source (organic included) and acquisition vs retargeting, plus the top campaigns. Filters on the install date. Imported verdicts never overwrite an attribution Fictura's own SDK resolved. For revenue and ROAS by source, use get_attribution_report with view=kpis.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"since":{"description":"Install date from, YYYY-MM-DD","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"until":{"description":"Install date to, YYYY-MM-DD","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"top_campaigns":{"description":"Default 20","type":"integer","minimum":1,"maximum":100}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_appsflyer_import_status","title":"Get AppsFlyer import status","description":"Whether AppsFlyer is connected, the latest import run (status, progress, rows imported, duplicates skipped, people created, date range covered, error if it stopped), and whether an import has ever finished. Call before start_appsflyer_import so a finished import is not offered again as though nothing had happened.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_attribution_report","title":"Get attribution, install and KPI reporting","description":"Where installs and revenue came from, on the same definitions as the dashboard and the API. An install is a device's first SDK launch (install_at) in the range; server-only users are never installs. Non-organic = installs with an attribution that is exact (store referrer, Apple Ads, claimed or opened link, clipboard, code, product page, ad id), weak (UTM only) or modelled (Android/web IP match within 60 minutes; never iOS), not retargeting and not fraud-flagged; organic = installs − non_organic − fraud_flagged. Installs from test sources are left out (count in test_installs) unless include_test is true. `summary`: totals, exact_installs / weak_installs / modelled_installs, exact_match_rate, fraud_flagged, reinstalls, CVR (installs whose winning touch is a /l click ÷ unique non-bot /l clicks), weighted D1/D7 retention, revenue by PAYMENT date (`revenue`, per currency), by_platform, rules_changed_at (when the current counting rules began; numbers before it were counted under the old rules and are not recomputed) and time_zone. `kpis`: the same split per source / campaign / link / day / platform, with spend, cohort revenue (paid in the range by installs from the range) and ROAS = net cohort revenue ÷ spend; revenue_by_payment_date is the separate payment-date figure. `installs`: individual installs with match_type, match_kind, confidence, fraud_rule and is_reinstall. `accuracy`: exact-match rate by day, platform and link, and how often a modelled guess was later replaced by an exact match. Money is micros in the currency named beside it; never add amounts of different currencies. Default range: the last 28 days (until − 27 days through today) in the app's time zone.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"view":{"type":"string","enum":["summary","kpis","installs","accuracy"],"description":"Which report to return"},"since":{"description":"YYYY-MM-DD, first day (default: until − 27 days)","type":"string"},"until":{"description":"YYYY-MM-DD, last day (default: today in the app's time zone)","type":"string"},"group_by":{"description":"For view=kpis (default source)","type":"string","enum":["source","campaign","link","day","platform"]},"limit":{"description":"For view=installs (default 100)","type":"integer","minimum":1,"maximum":500},"include_test":{"description":"Keep installs from test sources (default false)","type":"boolean"}},"required":["view"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_endpoint_summary","title":"Explain one route, screen or dependency","description":"Everything about one row of the Performance page, to answer 'why is this slow?': count, error rate, p50 to p99 and the change against the window before; where the time goes inside each request (database, HTTP and model calls, and the backend routes a screen waited on); what the slowest 10% have that the rest don't (release, status, device…) and which inner spans grow most in them; who calls a dependency; per-release numbers; sample traces (slowest, typical, fastest, failed: open them with get_trace); and the open issues on that route. op is like http.server, ui.load, ui.pageload, http.client, db, gen_ai, task; route is the route, screen, page, host or table as get_performance_overview lists it.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"op":{"type":"string","minLength":1,"maxLength":64,"description":"The row's op, like http.server"},"route":{"type":"string","minLength":1,"maxLength":300,"description":"The row's route, screen, page, host or table"},"range":{"description":"Window: 1h, 24h, 7d, 14d, 30d or 90d (default 24h). Ignored when from is given.","type":"string","enum":["1h","24h","7d","14d","30d","90d"]},"from":{"description":"An ISO time, or how long ago: 30m, 24h, 7d","type":"string","maxLength":40},"to":{"description":"An ISO time, or how long ago (default now)","type":"string","maxLength":40},"environment":{"description":"Like production. Default: production when the app has it, else its busiest non-development one. 'all' for every environment.","type":"string","maxLength":40},"release":{"description":"Only this release: 2.0.77+185, 2.0.77 (every build) or package@2.0.77+185","type":"string","maxLength":60},"service":{"description":"Only this service, like house-ai-api or the app's bundle id","type":"string","maxLength":120},"source":{"description":"backend (servers), frontend (app and web), or all (default)","type":"string","enum":["backend","frontend","all"]}},"required":["op","route"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_error_event","title":"Get one error event in full","description":"One occurrence: frames with source lines and variables, request, tags, contexts, breadcrumbs, causes and trace id. Pass issue_id for its latest event, or event_id. Use it to see why one error happened. Long events give up variables, then library frames, then breadcrumbs, and `truncated` says what went: call again with section to read that part whole.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"issue_id":{"description":"Read this issue's latest event","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"event_id":{"description":"Read this event, from search_error_events or get_error_issue","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"section":{"description":"Read one part whole instead of the whole event","type":"string","enum":["frames","breadcrumbs","request","contexts","causes","stack","native"]},"limit":{"description":"Rows, for frames, breadcrumbs and causes (default 100)","type":"integer","minimum":1,"maximum":100},"cursor":{"description":"next_cursor, for frames, breadcrumbs and causes","type":"string","maxLength":20}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_error_issue","title":"Get one error issue","description":"One issue with its status, history, 30 days of daily counts and recent occurrences. The newest occurrence has its stack and frames, the older ones are one-line summaries. Use it to see how an issue behaves over time. For a fix, get_error_issue_brief is shorter; for source lines and variables, use get_error_event.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"issue_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Issue id, from list_error_issues"},"occurrences":{"description":"How many recent occurrences (default 5)","type":"integer","minimum":1,"maximum":50}},"required":["issue_id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_error_issue_brief","title":"Get an issue brief and a fix prompt","description":"Use this first when asked to fix an error. One issue condensed: in-app frames with their source lines, the request, tags, breadcrumbs before it, log lines from the same trace, facets (release, OS, device, route), cause chain, and a ready-to-use fix prompt.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"issue_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Issue id, from list_error_issues"}},"required":["issue_id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_error_settings","title":"Get error and tracing settings","description":"This app's error settings (auto-resolve days, built-in noise rules, crash-free threshold, digest, code links, retention, whether MCP may write) and tracing settings (sample rate, hosts that get trace headers). connection_can_write says whether this connection's write tools will work.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_event_analytics","title":"Read a tab of the Events page","description":"One tab of the dashboard's Events page with the exact numbers behind it. overview: totals against the previous period and every event with users, count, previous count, worked and failed, plus key events. screens: views, users and time per screen. taps: taps per screen and element. broken_taps: dead and rage taps. sessions: length, bounce, entry and exit screens, platforms, versions, recent sessions. devices: app version, OS, model, country, locale and more. Days are in UTC. Tables are capped at 60 rows.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"view":{"type":"string","enum":["overview","screens","taps","broken_taps","sessions","devices"]},"range":{"type":"string","enum":["24h","7d","30d","90d"]}},"required":["view"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_experiment","title":"Get one experiment","description":"One experiment with its variants and full Bayesian results.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Experiment id, from list_experiments"}},"required":["id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_fix_run","title":"Progress of an AI fix run","description":"A fix run's status, root cause, plan, files, tests, cost so far, and its pull request.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"run_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["run_id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_issue_activity","title":"Get an issue's history","description":"What people and Fictura did to one issue, newest first: status changes, assignments, priority, notes with their text, tickets, regressions. Use it before changing an issue, to see who already looked at it.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"issue_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Issue id, from list_error_issues"},"limit":{"description":"Rows (default 25)","type":"integer","minimum":1,"maximum":100},"cursor":{"description":"next_cursor from the last answer","type":"string","pattern":"^\\d{1,18}$"}},"required":["issue_id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_issue_tag_values","title":"Count the values of one tag on an issue","description":"How often each value of one tag or facet appears on one issue in the last 30 days. Use it to see where an issue concentrates: which release, route, device, logger or person. Leave out key to list the keys there are.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"issue_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Issue id, from list_error_issues"},"key":{"description":"A facet (release, route, environment, level, device, os_version, handled, mechanism, logger, user) or any tag name","type":"string","maxLength":100},"limit":{"description":"Values (default 25)","type":"integer","minimum":1,"maximum":100},"cursor":{"description":"next_cursor from the last answer","type":"string","maxLength":20}},"required":["issue_id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_jobs","title":"Background tasks, queues and crons","description":"Work done outside requests: background tasks, queue publish and process, and cron runs, with counts, failures and timings; each cron with its last run, its usual gap, and late: true when it has not run for twice that gap.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"range":{"description":"Window: 1h, 24h, 7d, 14d, 30d or 90d (default 24h). Ignored when from is given.","type":"string","enum":["1h","24h","7d","14d","30d","90d"]},"from":{"description":"An ISO time, or how long ago: 30m, 24h, 7d","type":"string","maxLength":40},"to":{"description":"An ISO time, or how long ago (default now)","type":"string","maxLength":40},"environment":{"description":"Like production. Default: production when the app has it, else its busiest non-development one. 'all' for every environment.","type":"string","maxLength":40},"release":{"description":"Only this release: 2.0.77+185, 2.0.77 (every build) or package@2.0.77+185","type":"string","maxLength":60},"service":{"description":"Only this service, like house-ai-api or the app's bundle id","type":"string","maxLength":120},"source":{"description":"backend (servers), frontend (app and web), or all (default)","type":"string","enum":["backend","frontend","all"]}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_link_infrastructure","title":"Get deep link and tracking domain configuration","description":"How links reach the app. `app_links` is the most important for integration work: it returns the iOS team id, bundle id, Android package and SHA-256 fingerprints that Fictura serves in the Universal Links / App Links association files, plus ios_ready and android_ready. Get these wrong and BOTH files fail SILENTLY — they parse, associate nothing, report no error, and links simply keep opening the browser instead of the app, so verify the ready flags rather than assuming. `domains` lists branded link domains and their DNS verification state, `web_config` the web-to-app smart banner, `esp` the email provider link setup.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"view":{"type":"string","enum":["app_links","domains","web_config","esp"],"description":"Which part of the link setup"}},"required":["view"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_mobile_vitals","title":"Mobile vitals","description":"The mobile app's vitals from real devices: cold (and warm) app start, time to initial display (ttid) and full display (ttfd), slow and frozen frame percentages, and JS stall time; overall, per screen (busiest first) and per release. Each with p50, p75, p95 and the sample count. platform ios, android or both (default).","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"platform":{"type":"string","enum":["ios","android","both"]},"range":{"description":"Window: 1h, 24h, 7d, 14d, 30d or 90d (default 24h). Ignored when from is given.","type":"string","enum":["1h","24h","7d","14d","30d","90d"]},"from":{"description":"An ISO time, or how long ago: 30m, 24h, 7d","type":"string","maxLength":40},"to":{"description":"An ISO time, or how long ago (default now)","type":"string","maxLength":40},"environment":{"description":"Like production. Default: production when the app has it, else its busiest non-development one. 'all' for every environment.","type":"string","maxLength":40},"release":{"description":"Only this release: 2.0.77+185, 2.0.77 (every build) or package@2.0.77+185","type":"string","maxLength":60},"service":{"description":"Only this service, like house-ai-api or the app's bundle id","type":"string","maxLength":120},"source":{"description":"backend (servers), frontend (app and web), or all (default)","type":"string","enum":["backend","frontend","all"]}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_onboarding_doc","title":"Get an onboarding flow's document","description":"The JSON document a builder-made onboarding flow is made of, with its status and version, plus the reference to the document model. Read this before save_onboarding_doc, and edit the document you got rather than writing one from scratch — keep step keys and node ids, change only what was asked.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"The onboarding flow id, from list_surfaces"}},"required":["id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_paywall_doc","title":"Get a Studio paywall's document","description":"The JSON document a Studio (visual editor) paywall is made of, with its status and version, plus the reference to the document model. Read this before save_paywall_doc, and edit the document you got rather than writing one from scratch — keep node ids, change only what was asked. Prices are never typed: use {{ products.<slot>.price }} and the other product variables.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"The paywall id, from list_surfaces"}},"required":["id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_performance_overview","title":"Performance overview","description":"How fast the app is right now, backend and frontend: backend requests per minute, p95 and error rate against the window before; screen and page load times; then the routes that take the most total time, the slowest screens and pages, and the slowest dependencies (HTTP hosts, database tables). Start here, then open one with get_endpoint_summary.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"range":{"description":"Window: 1h, 24h, 7d, 14d, 30d or 90d (default 24h). Ignored when from is given.","type":"string","enum":["1h","24h","7d","14d","30d","90d"]},"from":{"description":"An ISO time, or how long ago: 30m, 24h, 7d","type":"string","maxLength":40},"to":{"description":"An ISO time, or how long ago (default now)","type":"string","maxLength":40},"environment":{"description":"Like production. Default: production when the app has it, else its busiest non-development one. 'all' for every environment.","type":"string","maxLength":40},"release":{"description":"Only this release: 2.0.77+185, 2.0.77 (every build) or package@2.0.77+185","type":"string","maxLength":60},"service":{"description":"Only this service, like house-ai-api or the app's bundle id","type":"string","maxLength":120},"source":{"description":"backend (servers), frontend (app and web), or all (default)","type":"string","enum":["backend","frontend","all"]}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_pull_request_status","title":"Pull requests for an error issue","description":"The PRs tied to an issue (opened by Fictura or linked), with state, draft, CI checks, merge and the release that shipped it.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"issue_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["issue_id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_push_config","title":"Get push notification configuration","description":"Whether push is set up and who could receive it: registered-device counts per billing cohort (all / paid / trial / free) and whether OneSignal is configured. Returns counts and configuration only — never device tokens or individual recipients.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_setup_status","title":"Get setup progress, integrations and feature status","description":"Where this app has got to: the six setup steps and which are really done, worked out from data that has arrived, then the billing state, every Fictura feature toggle and whether it is on, and which third-party integrations (Stripe, RevenueCat, Slack, App Store Connect, …) are connected. Use it to check a setup step worked, and to check a feature is enabled before writing code that depends on it — a disabled tool is a server-side kill switch the SDK obeys.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_setup_step","title":"Get the instructions for one setup step","description":"What to do for one of Fictura's six setup steps, ready to follow: the instructions, this app's real values (so there is nothing to fill in), the full text of that step's docs pages, and how to check it worked. Call this when a person pastes a setup prompt, and follow what it returns rather than recalling the SDK from memory. Steps in order: install, connect, events, attribution, errors, performance.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"step":{"type":"string","enum":["install","connect","events","attribution","errors","performance"],"description":"Which step"}},"required":["step"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_span","title":"Get one span","description":"One span in full: name, op, service, timing, status, every attribute, the errors that happened in it, and the log lines written while it ran. Take the trace_id and span_id from get_trace.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"trace_id":{"type":"string","description":"32-character hex W3C trace id"},"span_id":{"type":"string","description":"16-character hex span id"}},"required":["trace_id","span_id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_store_analytics","title":"Get App Store and Google Play analytics (Appfigures)","description":"Store-reported numbers synced from Appfigures: downloads, re-downloads, updates, uninstalls, store revenue after the store's cut (subscriptions, in-app purchases, ads), top countries, the ratings snapshot, recent reviews with text, and category chart positions. Money is in micros of `currency`. Store revenue is a separate figure from RevenueCat revenue; never add the two. Returns connected: false when Appfigures is not set up.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"days":{"description":"Lookback in days, default 28","type":"integer","minimum":1,"maximum":1095},"reviews":{"description":"How many recent reviews to include, default 20","type":"integer","minimum":0,"maximum":200}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_surface","title":"Get one paywall or onboarding flow's config","description":"The configuration of one paywall or onboarding flow, plus its version history (version, note, date). A served design's compiled html is left out (html_bytes gives its size) and a Studio doc shows as doc: true; read the design with get_paywall_doc or get_onboarding_doc. Note that configs never contain price strings — prices resolve at render time from the PurchasesAdapter's packages, so never copy a price literal out of (or into) a config.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"kind":{"type":"string","enum":["paywall","onboarding"],"description":"Which kind of surface"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"The surface id, from list_surfaces"}},"required":["kind","id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_trace","title":"Get one distributed trace","description":"One trace (app → backend → dependencies) as a tree: names, services, start offsets, durations, HTTP status and errors, plus the error events linked to it. Take the trace_id from an event or from search_traces. Use it to see where the time went or what failed first. Long traces page with next_cursor.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"trace_id":{"type":"string","description":"32-character hex W3C trace id"},"limit":{"description":"Spans (default 100)","type":"integer","minimum":1,"maximum":300},"cursor":{"description":"next_cursor from the last answer","type":"string","maxLength":20}},"required":["trace_id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_tracing_health","title":"Is tracing working?","description":"Who is sending traces in the last 24 hours: each service with its SDK and version, frontend or backend, last span, span count, average sample rate and environments; how many of the app's traces reached a backend (joined traces: zero means the app is not sending traceparent to the API, or the backend is not traced); what span ingest refused per day this week (invalid, rate limited, over the daily quota); and what the SDKs say they dropped before sending (sdk_dropped: errors, logs, traces or sessions, by reason: queue_full, rejected, unsendable). The first tool to call when performance data or errors look missing.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_tracking_plan","title":"Get the event tracking plan","description":"Every event this app has ever sent, with volume, last-seen, and whether capture is switched off. Use it before adding instrumentation so you reuse the existing event name instead of introducing a near-duplicate — the name chosen here is the same string an experiment later names as its primary metric.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_uptime_monitor","title":"Get the uptime monitor","description":"The URL Fictura pings every minute for this app, whether it is up or down, the last check, consecutive failures, when the current downtime started, and availability over 24 hours and 7 days. monitor is null when none is set.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_user","title":"Get one user's full history","description":"One user's identity (every stitched device / account / RevenueCat id), event breakdown, churn state and recent activity. Accepts the Fictura master user id, or any identifier the app knows them by — a device id, account id or RevenueCat id.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"user_id":{"type":"string","minLength":1,"maxLength":200,"description":"Master user id, or any known identifier"}},"required":["user_id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_web_vitals","title":"Web vitals","description":"The web app's Core Web Vitals from real browsers: a 0 to 100 performance score (LCP 30%, INP 30%, CLS 15%, FCP 15%, TTFB 10%, Google's thresholds), each vital's p75 with its good / needs improvement / poor counts, and pages ranked by opportunity (how much the score would rise if that page scored 100).","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"range":{"description":"Window: 1h, 24h, 7d, 14d, 30d or 90d (default 24h). Ignored when from is given.","type":"string","enum":["1h","24h","7d","14d","30d","90d"]},"from":{"description":"An ISO time, or how long ago: 30m, 24h, 7d","type":"string","maxLength":40},"to":{"description":"An ISO time, or how long ago (default now)","type":"string","maxLength":40},"environment":{"description":"Like production. Default: production when the app has it, else its busiest non-development one. 'all' for every environment.","type":"string","maxLength":40},"release":{"description":"Only this release: 2.0.77+185, 2.0.77 (every build) or package@2.0.77+185","type":"string","maxLength":60},"service":{"description":"Only this service, like house-ai-api or the app's bundle id","type":"string","maxLength":120},"source":{"description":"backend (servers), frontend (app and web), or all (default)","type":"string","enum":["backend","frontend","all"]}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"link_pull_request","title":"Link a pull request to an error issue","description":"Tie an existing GitHub PR (by URL) to an issue. When it merges, Fictura resolves the issue in the release that ships it. Only works when the app allows MCP writes.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"issue_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"url":{"type":"string","maxLength":500,"format":"uri","description":"https://github.com/owner/repo/pull/123"}},"required":["issue_id","url"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true}},{"name":"list_alert_rules","title":"List alert rules","description":"This app's alert rules with their triggers, conditions, channels and throttles. defaults_active means no rule is enabled, so the built-in defaults listed there apply. Use it to see what will and won't alert.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"limit":{"description":"Rows (default 50)","type":"integer","minimum":1,"maximum":100},"cursor":{"description":"next_cursor from the last answer","type":"string","maxLength":20}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"list_campaigns","title":"List live ad campaigns","description":"Campaigns read live from a connected ad platform: status, daily budget and ad sets. Returns a not_connected result rather than failing when the provider is not set up. This calls the provider's API, so prefer get_acquisition_report for historical numbers.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"provider":{"type":"string","enum":["meta","apple_search_ads","snapchat","tiktok","google_ads","reddit","test"],"description":"Which ad platform"}},"required":["provider"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"list_creators","title":"List creators and their performance","description":"Creator records with a funnel per creator for the last 28 days in the app's time zone (non-bot clicks, installs split exact / weak / modelled, trials, paying users, cohort net revenue and ROAS against the deal cost) and the tracking links tagged to each.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"list_dependencies","title":"List dependencies by time spent","description":"The HTTP hosts and database tables the app's services call, by total time spent: calls, calls per minute, error rate, p50 to p99, 4xx and 5xx. kind http, db or all (default). Open one with get_endpoint_summary (op http.client or db).","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"kind":{"type":"string","enum":["http","db","all"]},"limit":{"type":"integer","minimum":1,"maximum":100},"range":{"description":"Window: 1h, 24h, 7d, 14d, 30d or 90d (default 24h). Ignored when from is given.","type":"string","enum":["1h","24h","7d","14d","30d","90d"]},"from":{"description":"An ISO time, or how long ago: 30m, 24h, 7d","type":"string","maxLength":40},"to":{"description":"An ISO time, or how long ago (default now)","type":"string","maxLength":40},"environment":{"description":"Like production. Default: production when the app has it, else its busiest non-development one. 'all' for every environment.","type":"string","maxLength":40},"release":{"description":"Only this release: 2.0.77+185, 2.0.77 (every build) or package@2.0.77+185","type":"string","maxLength":60},"service":{"description":"Only this service, like house-ai-api or the app's bundle id","type":"string","maxLength":120},"source":{"description":"backend (servers), frontend (app and web), or all (default)","type":"string","enum":["backend","frontend","all"]}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"list_docs","title":"List Fictura documentation pages","description":"The full documentation index — every page path, grouped by section, with a one-line description. Use it to find the right page when a search term is hard to guess. No API key required.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"list_error_alerts","title":"List alerts that fired","description":"Every error alert Fictura fired, newest first: when, which trigger, the issue and its source, the channels, and whether it was delivered. Use it to check an alert went out, or what paged someone.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"limit":{"description":"Rows (default 25)","type":"integer","minimum":1,"maximum":200},"cursor":{"description":"next_cursor from the last answer","type":"string","pattern":"^\\d{1,18}$"}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"list_error_issues","title":"List error issues","description":"Start here to see what is broken: grouped issues from the backend and the app together, each with its source, level, status, event and user counts. Newest activity first, unresolved only. Console lines from the app are hidden unless include_console is true. Pass next_cursor to read on.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"status":{"description":"Which issues (default unresolved)","type":"string","enum":["unresolved","resolved","ignored","discarded","all"]},"source":{"description":"The server, the app, or both (default all)","type":"string","enum":["backend","frontend","all"]},"level":{"type":"string","enum":["fatal","error","warning","info"]},"environment":{"description":"Issues with an event in this environment","type":"string","maxLength":40},"release":{"description":"Text in a release the issue was seen in: 2.0.77+185, or package@2.0.77+185","type":"string","maxLength":200},"platform":{"description":"Like python, ios, android","type":"string","maxLength":20},"since":{"description":"Last seen since: an ISO time, or 30m, 24h, 7d","type":"string","maxLength":40},"sort":{"description":"Default last_seen. new = first seen most recently","type":"string","enum":["last_seen","events","users","new"]},"limit":{"description":"Rows (default 25)","type":"integer","minimum":1,"maximum":100},"cursor":{"description":"next_cursor from the last answer","type":"string","maxLength":300},"include_console":{"description":"Also list console lines from the app (default false)","type":"boolean"},"include_spark":{"description":"Add a 14-day sparkline per row (default false)","type":"boolean"},"include_legacy":{"description":"Also list issues grouped before grouping v2 (default false)","type":"boolean"}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"list_experiments","title":"List experiments","description":"Every experiment with status and, for running or finished ones, full Bayesian results — exposures, conversions, and the probability each variant is best.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"list_inbound_filters","title":"List inbound filters","description":"This app's inbound filters: rules that drop a matching error at ingest, counted but never stored or alerted on. exc_type and release match exactly, message is a glob (* = anything, any case), environment is exact and `simulator` also drops simulator events. discarded_7d counts drops per reason.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"limit":{"description":"Rows (default 50)","type":"integer","minimum":1,"maximum":100},"cursor":{"description":"next_cursor from the last answer","type":"string","maxLength":20}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"list_monitors","title":"List performance monitors","description":"Every performance monitor: what it watches (metric, ops, route), its threshold and window, and its state (ok, firing, no_data) with the last value read. A firing monitor has an open issue: issue_id opens with get_error_issue.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"list_releases","title":"List releases and their health","description":"Releases from the app and the backend, newest first: crash-free sessions, users and adoption for the app, crash-free and error-free requests for the backend. Use it to tell whether a release made things worse. crashed_sessions counts crashes and bad exits; abnormal_sessions is the bad exits (no crash report, an AbnormalExit issue). `release` (version+build) is the name every tool takes.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"source":{"description":"Default all","type":"string","enum":["backend","frontend","all"]},"days":{"description":"Window in days (default 30)","type":"integer","minimum":1,"maximum":90},"limit":{"description":"Rows (default 25)","type":"integer","minimum":1,"maximum":100},"cursor":{"description":"next_cursor from the last answer","type":"string","maxLength":20}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"list_store_products","title":"List App Store subscription products","description":"This app's auto-renewable subscriptions in App Store Connect: product id, billing period and Apple review state. Use it to check that a paywall references a product that actually exists. Pass subscription_id to also fetch Apple's price ladder for that one product (Apple scopes price points per subscription, so there is no global list).","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"subscription_id":{"description":"Also return price points for this subscription","type":"string"},"territory":{"description":"Territory for price points (default USA)","type":"string"}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"list_surfaces","title":"List paywalls, onboarding flows and placements","description":"Every paywall and onboarding flow, what is actually being served at each placement (running experiment > live > none), and the valid placement names. IMPORTANT: read `placements` before writing a placement string into code. The list is configured ∪ observed, so a name that appears only under `observed` is usually a typo in the app — and a placement that does not exist renders nothing at all, with no error.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"list_templates","title":"List built-in paywall and onboarding templates","description":"The one-click starter templates available for paywalls or onboarding flows, with the template key and what each looks like. Use this when asked to add a paywall so you pick a real template key rather than inventing one.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"kind":{"type":"string","enum":["paywall","onboarding"],"description":"Which template catalog"}},"required":["kind"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"list_users","title":"List users","description":"The app's users, most recently active first — each with an identity label, event count, last seen, and derived churn state (in_trial, converted, cancelled, expired, billing_issue, grace_period, paused, refunded, none). Capped so a large app does not flood the context; `total` reports how many matched before the cap.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"limit":{"description":"Max users (default 50)","type":"integer","minimum":1,"maximum":200},"churn_state":{"description":"Only users in this billing state","type":"string","enum":["in_trial","converted","cancelled","expired","billing_issue","grace_period","paused","refunded","none"]}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"pair_editor","title":"Pair with an open Studio editor","description":"Connects to the paywall editor a person has open, using the 6-character code shown under “Pair an agent” in the Studio. Returns a pairing_id for the editor_* tools. The code works once and for 10 minutes; a pairing lasts 24 hours or until either side stops it.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"code":{"type":"string","minLength":4,"maxLength":12,"description":"The code shown in the editor"}},"required":["code"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"pause_experiment","title":"Pause an experiment","description":"Pause a running test: nobody new enrolls, and users already in it keep their arm. resume_experiment picks it up again. Only works when the app allows MCP writes.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Experiment id, from list_experiments"}},"required":["id"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"read_doc","title":"Read a Fictura documentation page","description":"The complete markdown of one documentation page. Accepts a site-relative path such as '/implementation/welcome/sdk-quickstart' (a full docs.fictura.co URL works too). If the path is wrong, the closest real paths come back as suggestions. No API key required.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"path":{"type":"string","minLength":1,"maxLength":300,"description":"Page path, e.g. /implementation/sdk-reference/expo-react-native"}},"required":["path"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"resume_experiment","title":"Resume an experiment","description":"Resume a paused test so new users enroll again. Refused when another test now holds its surface and placement. Only works when the app allows MCP writes.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Experiment id, from list_experiments"}},"required":["id"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"save_onboarding_doc","title":"Save a DRAFT onboarding flow's document","description":"Replaces a draft flow's document with the one given, as a new version (the dashboard's history shows it as `mcp: <note>` and can roll it back). Refused for a live flow. Needs an MCP key that can edit. Translations, overrides and the exit setting are kept.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"The draft flow's id"},"doc":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"The complete edited document"},"note":{"description":"What changed, for the version history","type":"string","maxLength":160}},"required":["id","doc"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":false}},{"name":"save_paywall_doc","title":"Save a DRAFT paywall's document","description":"Replaces a draft paywall's document with the one given, as a new version (History in the dashboard shows it as `mcp: <note>` and can roll it back). Refused for a live paywall — copy it in the dashboard first. Needs an MCP key that can edit. Products, translations and other settings are kept.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"The draft paywall's id"},"doc":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"The complete edited document"},"note":{"description":"What changed, for the version history","type":"string","maxLength":160}},"required":["id","doc"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":false}},{"name":"search_docs","title":"Search Fictura documentation","description":"Full-text search across the Fictura docs, grouped by page. Use this before answering any 'how do I…' question about the SDK, API, paywalls, entitlements, links or webhooks — the docs are the source of truth and are regenerated on every code change. Returns page paths; pass one to read_doc for the full text. No API key required.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"query":{"type":"string","minLength":1,"maxLength":200,"description":"What to search for, e.g. 'purchases adapter'"},"limit":{"description":"Max pages to return (default 8)","type":"integer","minimum":1,"maximum":20}},"required":["query"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"search_error_events","title":"Search error events","description":"Single occurrences across issues, newest first, or counts with group_by. Use it to answer which release or route an error hits, whether a person hit it, or what failed in one trace. Open one with get_error_event.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"issue_id":{"description":"Only this issue","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"query":{"description":"Text in the message, or the issue's title or culprit","type":"string","maxLength":200},"source":{"description":"Default all","type":"string","enum":["backend","frontend","all"]},"level":{"type":"string","enum":["fatal","error","warning","info"]},"release":{"description":"Text in the release: 2.0.77+185, or package@2.0.77+185","type":"string","maxLength":200},"environment":{"type":"string","maxLength":40},"user_id":{"description":"An account id, Fictura user id or device id","type":"string","maxLength":200},"trace_id":{"type":"string","maxLength":64},"since":{"description":"An ISO time, or 30m, 24h, 7d. Default 30 days, or all kept events with issue_id or trace_id","type":"string","maxLength":40},"group_by":{"description":"Counts per release, route, level, environment or tag:name","type":"string","maxLength":110},"include_console":{"description":"Also count console lines from the app. Always on with issue_id or trace_id","type":"boolean"},"limit":{"description":"Rows (default 25)","type":"integer","minimum":1,"maximum":100},"cursor":{"description":"next_cursor from the last answer","type":"string","maxLength":300}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"search_error_issues","title":"Search error issues","description":"Find an issue by text in its title or culprit, across every issue the app has. Use it when you know the error message, exception type or function. Same filters and rows as list_error_issues.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"query":{"description":"Text to look for in the title or culprit","type":"string","maxLength":200},"status":{"description":"Which issues (default unresolved)","type":"string","enum":["unresolved","resolved","ignored","discarded","all"]},"source":{"description":"The server, the app, or both (default all)","type":"string","enum":["backend","frontend","all"]},"level":{"type":"string","enum":["fatal","error","warning","info"]},"environment":{"description":"Issues with an event in this environment","type":"string","maxLength":40},"release":{"description":"Text in a release the issue was seen in: 2.0.77+185, or package@2.0.77+185","type":"string","maxLength":200},"platform":{"description":"Like python, ios, android","type":"string","maxLength":20},"since":{"description":"Last seen since: an ISO time, or 30m, 24h, 7d","type":"string","maxLength":40},"sort":{"description":"Default last_seen. new = first seen most recently","type":"string","enum":["last_seen","events","users","new"]},"limit":{"description":"Rows (default 25)","type":"integer","minimum":1,"maximum":100},"cursor":{"description":"next_cursor from the last answer","type":"string","maxLength":300},"include_console":{"description":"Also list console lines from the app (default false)","type":"boolean"},"include_spark":{"description":"Add a 14-day sparkline per row (default false)","type":"boolean"},"include_legacy":{"description":"Also list issues grouped before grouping v2 (default false)","type":"boolean"}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"search_logs","title":"Search log lines","description":"Application log lines from the backend SDK, newest first, or counts with group_by. Use it to see what happened around an error: pass trace_id for one request's lines, or q and level to search. Lines are kept 14 days, and the default range is the last 24 hours.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"q":{"description":"Text in the message, any case","type":"string","maxLength":200},"level":{"description":"trace, debug, info, warning, error or fatal; commas for several","type":"string","maxLength":60},"logger":{"type":"string","maxLength":120},"route":{"type":"string","maxLength":200},"release":{"type":"string","maxLength":200},"environment":{"type":"string","maxLength":40},"trace_id":{"description":"One trace's lines, however old","type":"string","maxLength":64},"user_id":{"type":"string","maxLength":120},"from":{"description":"An ISO time, or 30m, 24h, 7d","type":"string","maxLength":40},"to":{"description":"An ISO time, or how long ago","type":"string","maxLength":40},"group_by":{"description":"Counts per value instead of lines","type":"string","enum":["logger","level","route","release"]},"message_chars":{"description":"Characters of each message (default 500)","type":"integer","minimum":100,"maximum":8000},"limit":{"description":"Lines (default 50)","type":"integer","minimum":1,"maximum":200},"cursor":{"description":"next_cursor from the last answer","type":"string","maxLength":200}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"search_traces","title":"Search spans and slow routes","description":"With no filters: every route and screen with its count, error rate, p50, p95 and slowest dependency. With any filter: matching spans from the backend and the app, or count, avg, p50, p95 and errors with group_by. Use it to find what is slow or failing, then open one with get_trace. Spans are kept 30 days.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"q":{"description":"Text in the span name, any case","type":"string","maxLength":200},"op":{"description":"Like http.server, http.client, ui.load, app.start, gen_ai, mcp.server","type":"string","maxLength":64},"service":{"type":"string","maxLength":120},"route":{"type":"string","maxLength":300},"status":{"description":"ok, error, or one HTTP status like 503","type":"string","maxLength":10},"source":{"description":"Default all","type":"string","enum":["backend","frontend","all"]},"min_duration_ms":{"type":"number","minimum":0},"from":{"description":"An ISO time, or 30m, 24h, 7d (default 24h)","type":"string","maxLength":40},"to":{"description":"An ISO time, or how long ago","type":"string","maxLength":40},"group_by":{"description":"Counts and timings per value instead of spans. release and environment also give p75, p90, p99 and time spent","type":"string","enum":["op","route","service","status","name","release","environment"]},"environment":{"description":"Only this environment, like production ('all' for every one)","type":"string","maxLength":40},"release":{"description":"Only this release: 2.0.77+185, 2.0.77 (every build) or package@2.0.77+185","type":"string","maxLength":60},"timeseries":{"description":"true: points over time instead of rows (per minute, error rate, p50, p95), with where releases started","type":"boolean"},"sort":{"description":"For spans (default recent)","type":"string","enum":["recent","slowest"]},"range":{"description":"Window of the routes overview (default 24h)","type":"string","enum":["1h","24h","7d","30d","90d"]},"limit":{"description":"Rows (default 50, overview 25)","type":"integer","minimum":1,"maximum":200},"cursor":{"description":"next_cursor from the last answer","type":"string","maxLength":300}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"set_uptime_monitor","title":"Set the uptime monitor","description":"Set or replace the URL Fictura pings every minute (three failures in a row mark it down and alert). A new URL starts over as unknown. enabled false pauses it. Only works when the app allows MCP writes.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"url":{"type":"string","minLength":1,"maxLength":500,"description":"http(s) URL, like https://api.example.com/health"},"enabled":{"description":"Default true","type":"boolean"}},"required":["url"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"start_appsflyer_import","title":"Start the AppsFlyer import","description":"Import everything AppsFlyer holds for this app: installs and the channel, campaign, adset and ad behind each one, in-app events and purchases, uninstalls, reinstalls, ad revenue and retargeting traffic. All twelve raw-data reports are walked; ones the AppsFlyer plan lacks are skipped, not failed. Runs in the background and keeps going after this call. mode 'auto' (default) only pulls the days since the last finished import when there is one, and walks the full history otherwise. 'full' re-walks everything. resume=true continues a failed or cancelled run from where it stopped. Safe to call while a run is going: it reports that run instead of starting another. Anything already imported is counted once. Check progress with get_appsflyer_import_status.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"mode":{"description":"Default auto","type":"string","enum":["auto","full"]},"resume":{"description":"Continue the last failed or cancelled run","type":"boolean"}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}},{"name":"start_experiment","title":"Start an experiment","description":"Start a draft: from now on its arms are served to the users who pass its targeting. Refused when another test is running or paused on the same surface and placement. Only works when the app allows MCP writes.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Experiment id, from list_experiments"}},"required":["id"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"start_fix_run","title":"Ask Fictura's AI to fix an error issue","description":"Start a hosted fix run: Fictura's AI finds the root cause and, if allowed, opens a draft PR. It spends the app's own Anthropic money, capped per run and per day. Poll get_fix_run. Needs MCP writes and AI fixes on.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"issue_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"stop_at":{"type":"string","enum":["root_cause","plan","pr"]}},"required":["issue_id"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}},{"name":"stop_experiment","title":"Stop an experiment","description":"Stop a running or paused test for good without rolling anything out: everyone gets the live config again. It can't be restarted. Rolling out a winner is done by a person in the dashboard. Only works when the app allows MCP writes.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Experiment id, from list_experiments"}},"required":["id"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":true,"openWorldHint":false}},{"name":"unpair_editor","title":"End the pairing with the editor","description":"Stops this pairing. The editor shows that the agent left.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"pairing_id":{"type":"string","minLength":8,"maxLength":80,"description":"From pair_editor"}},"required":["pairing_id"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"update_app_identity","title":"Save this app's bundle ID, Team ID and store details","description":"Saves what the app IS to Apple, Google and the web: the iOS bundle ID and Apple Team ID (which build the Universal Links file), the Android package and signing fingerprints (which build the App Links file), both store addresses and the website. Send only the fields you know. Every value is checked before saving, because a bad one makes links fail with no error anywhere. A value already saved is not overwritten unless replace_existing is true: changing a bundle ID on a live app breaks its links, so ask the person first. Needs read and edit access.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"ios_bundle_id":{"description":"Like com.yourcompany.yourapp","type":"string","minLength":1,"maxLength":155},"ios_team_id":{"description":"Apple Team ID, 10 letters and digits","type":"string","minLength":1,"maxLength":20},"android_package":{"description":"Like com.yourcompany.yourapp","type":"string","minLength":1,"maxLength":200},"android_sha256":{"description":"SHA-256 signing fingerprints, 32 hex pairs split by colons","maxItems":5,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}},"ios_store_url":{"description":"https://apps.apple.com/… address","type":"string","minLength":1,"maxLength":500},"android_store_url":{"description":"https://play.google.com/… address","type":"string","minLength":1,"maxLength":500},"web_url":{"description":"The app's website","type":"string","minLength":1,"maxLength":500},"replace_existing":{"description":"Overwrite values already saved. Only after the person has agreed.","type":"boolean"}}},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":true,"openWorldHint":false}},{"name":"update_error_issue","title":"Change an error issue","description":"Resolve, ignore or reopen an issue, assign it, set its priority, or add a note. Only works when the app allows MCP writes (Issues settings → Let MCP keys change issues).","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"issue_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["resolved","ignored","ongoing"]},"resolved_in_release":{"type":"string","maxLength":200},"assignee":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"priority":{"anyOf":[{"type":"string","enum":["high","medium","low"]},{"type":"null"}]},"note":{"type":"string","minLength":1,"maxLength":4000}},"required":["issue_id"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}},{"name":"update_error_issues","title":"Change several error issues","description":"The same change on up to 100 issues: resolve, ignore or reopen them, assign them, set their priority, or add a note to each. Answers per issue, with counts. Only works when the app allows MCP writes (Issues settings → Let MCP keys change issues).","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"issue_ids":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"description":"Issue ids, from list_error_issues"},"status":{"type":"string","enum":["resolved","ignored","ongoing"]},"resolved_in_release":{"type":"string","maxLength":200},"assignee":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"priority":{"anyOf":[{"type":"string","enum":["high","medium","low"]},{"type":"null"}]},"note":{"type":"string","minLength":1,"maxLength":4000}},"required":["issue_ids"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}},{"name":"update_tracing_settings","title":"Change tracing settings","description":"Set the share of traces the SDKs keep, and the hosts the app's SDK sends trace headers to (replacing the list). A field you leave out keeps its value. SDKs read it from their config within a minute. Only works when the app allows MCP writes.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"sample_rate":{"description":"0 to 1; 1 keeps every trace","type":"number","minimum":0,"maximum":1},"propagate_to":{"description":"Hosts or origins: api.example.com, *.example.com, https://api.example.com:8443. [] clears it","maxItems":20,"type":"array","items":{"type":"string","maxLength":200}}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"validate_onboarding_doc","title":"Check an onboarding document without saving it","description":"Runs a document through the same parser, step-key check and renderer a save uses and reports what is wrong, if anything. Changes nothing.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"doc":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"An onboarding document (version: 1)"}},"required":["doc"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"validate_paywall_doc","title":"Check a paywall document without saving it","description":"Runs a document through the same parser and renderer a save uses and reports what is wrong, if anything. Changes nothing.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"doc":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"A paywall document (version: 1)"}},"required":["doc"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}}],"prompts":[{"name":"integrate_fictura_sdk","title":"Integrate the Fictura SDK","description":"Wire the Fictura SDK into this app (React Native / Expo, iOS, Android or web) using its real credentials."}]}