Tool reference · 21 tools

Search, redirects and website growth

Redirects from the old website, addresses visitors asked for that don't exist, local search tracking, search checks, automatic optimization, A/B tests, Google sync, review requests and visitor numbers.

Ask it in plain words

  • "Send /summer-camps-2025 to the new camp page."
  • "Which addresses are visitors getting a page-not-found on?"
  • "How many people visited the website in the last 28 days, and from where?"

Worked examples: Keep an old link working.

get_search_dashboard

How we're doing in search Reads

How the gym is doing on Google, Google Maps and the AI assistants, as on Marketing > Search dashboard: a one-line verdict; Google visibility (share of clicks across the tracked searches) against the leader; how many tracked searches are on Google's first page; real Google clicks for the last 28 days from Search Console against the 28 before, with clicks from searches without the gym's name against a year ago; AI share of voice (how often ChatGPT, Gemini and Claude name the gym); Google reviews next to the competitors beside it on Maps; authority (0-1000 link score); site health (pages without problems and what to fix, real visitors' load times); visits from search engines and AI assistants in the last 7 days and what they did; and the top searches with the Google place, the Maps place from the gym's door and across the map, and whether Google's AI Overview cites the gym, with arrows against the check before. Missing parts mean that data isn't connected yet.

Takes no parameters.

Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_search_dashboard",
    "arguments": {}
  }
}

get_redirects

Redirects from the old website ReadsWeb developer

Every redirect from an old website address to a page of this site (Website > Redirects), and the pages it can point to.

Takes no parameters.

Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_redirects",
    "arguments": {}
  }
}

add_redirect

Add a redirect Changesdry_runWeb developer

Send an old website address to a page of this site (owners only), so old links and Google results keep working after the switch. Adding one for an address that already has a redirect changes where it goes.

ParameterTypeDescription
old_address requiredstringThe old page's address: /about-us, about-us or www.oldsite.com/about-us
goes_to requiredstringA page of this site, like /about or /schedule
dry_runbooleantrue = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "add_redirect",
    "arguments": {
      "old_address": "<old_address>",
      "goes_to": "<goes_to>",
      "dry_run": true
    }
  }
}

remove_redirect

Remove a redirect ChangesconfirmWeb developer

Delete a redirect (owners only). The old address then shows the page-not-found page. Needs the owner's yes and confirm: true.

ParameterTypeDescription
old_address requiredstringThe redirect's old address, e.g. /old-camp-page, from get_redirects
confirmbooleanMust be true, after the owner has said yes
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "remove_redirect",
    "arguments": {
      "old_address": "<old_address>",
      "confirm": true
    }
  }
}

scan_old_website

Find the old website's pages Changesdry_run

Read the gym's old website (its sitemap and links) and add a redirect for each old page to the best matching page of this site (owners only), the same as Website > Redirects > Find my pages. Addresses that already have a redirect keep the page the owner chose. Takes up to a minute. Then get_redirects shows them; rematch_redirects, confirm_redirects or add_redirect fix any.

ParameterTypeDescription
old_website requiredstringThe gym's current (old) website address, like www.yourgym.com
dry_runbooleantrue = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "scan_old_website",
    "arguments": {
      "old_website": "<old_website>",
      "dry_run": true
    }
  }
}

rematch_redirects

Match the scanned redirects again Changesdry_run

Suggest the best page again for every redirect the scan made that the owner hasn't chosen by hand (owners only), the same as Match again on Website > Redirects. Useful after adding pages. Redirects the owner set stay.

ParameterTypeDescription
dry_runbooleantrue = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "rematch_redirects",
    "arguments": {
      "dry_run": true
    }
  }
}

confirm_redirects

Confirm every matched redirect Changesdry_run

Mark every redirect the scan matched (and the owner hasn't looked at) as checked (owners only), the same as Confirm all on Website > Redirects. Ones with no match or marked (check) are left for the owner to choose.

ParameterTypeDescription
dry_runbooleantrue = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "confirm_redirects",
    "arguments": {
      "dry_run": true
    }
  }
}

clear_scanned_redirects

Delete the scanned redirects Changesdry_runconfirm

Delete every redirect the old-website scan made (owners only), the same as the Delete button on Website > Redirects. Redirects the owner added by hand stay. Those old addresses then show the page-not-found page until scanned again. Needs the owner's yes and confirm: true.

ParameterTypeDescription
confirmbooleanMust be true, after the owner has said yes
dry_runbooleantrue = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "clear_scanned_redirects",
    "arguments": {
      "dry_run": true
    }
  }
}

get_missing_addresses

Addresses people asked for that don't exist Reads

The addresses on the gym's website that visitors (not search robots) asked for and got the page-not-found page, busiest first, with how many visits, when last, which website linked there and the page suggested for it (Website > Redirects). add_redirect sends one to a page; ignore_missing_address takes it off the list.

Takes no parameters.

Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_missing_addresses",
    "arguments": {}
  }
}

ignore_missing_address

Ignore an address that doesn't exist Changesdry_run

Take an address visitors asked for off the list of missing pages without a redirect (owners only), the same as the ✕ on Website > Redirects. Visitors still see the page-not-found page there.

ParameterTypeDescription
address requiredstringThe address from get_missing_addresses, like /old-page
dry_runbooleantrue = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "ignore_missing_address",
    "arguments": {
      "address": "<address>",
      "dry_run": true
    }
  }
}

get_search_tracking

Searches tracked on Google and AI Reads

What Marketing > Local search checks (owners only): the searches tracked on Google and Google Maps, the map grid, the questions asked of ChatGPT, Gemini and Claude, whether it checks every month by itself, ideas found for searches to track, the last checks, and when the pages were last optimized. get_search_dashboard shows how the gym ranks.

Takes no parameters.

Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_search_tracking",
    "arguments": {}
  }
}

set_search_tracking

Change the tracked searches Changesdry_run

Change what Marketing > Local search checks (owners only): the searches tracked, the map grid, the AI questions and whether it checks every month by itself. Send only what changes; the rest stays. The next check uses them (run_search_check, or the monthly one).

ParameterTypeDescription
searchesarray of stringThe whole list of searches to track (replaces it), up to 25, like ninja gym near me
add_searchesarray of stringSearches to start tracking, e.g. ninja gym near me
remove_searchesarray of stringTracked searches to stop tracking
map_gridinteger: 3 | 5 | 7Spots each way around the gym the map is checked from
miles_apartnumber0.5 to 5
every_month_by_itselfbooleantrue runs the check by itself every month
ask_ai_assistantsbooleanAlso ask ChatGPT, Gemini and Claude the questions
ai_questionsarray of stringThe questions to ask the AI assistants, the way families talk (10 to 300 characters each); an empty list goes back to the usual ones
dry_runbooleantrue = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "set_search_tracking",
    "arguments": {
      "dry_run": true
    }
  }
}

run_search_check

Check where the gym shows up now Changesdry_run

Start a check now of where the gym shows up on Google, Google Maps (from every spot of the map grid) and in the AI assistants' answers for the tracked searches (owners only), the same as Check where I show up now on Marketing > Local search. Once a day; the results arrive within a few minutes (get_search_dashboard).

ParameterTypeDescription
dry_runbooleantrue = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "run_search_check",
    "arguments": {
      "dry_run": true
    }
  }
}

take_search_baseline

Take the before snapshot Changesdry_run

Before the new website goes live, take the before snapshot of where the gym shows up on Google, Maps and the AI assistants, so the gym can see what changed after launch (owners only), the same as Take your before snapshot on Marketing > Search vs competitors. Results arrive within a few minutes. Only once, and only before launch.

ParameterTypeDescription
dry_runbooleantrue = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "take_search_baseline",
    "arguments": {
      "dry_run": true
    }
  }
}

get_ab_tests

A/B tests Reads

The website's A/B tests (Marketing > Website traffic > A/B tests): what can be tested (the home page headline and the line under it), the wording on the site now, the new wording being tried, and the results: visits that saw each and how many went on to book or buy, with a verdict once each has 100 visits.

Takes no parameters.

Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_ab_tests",
    "arguments": {}
  }
}

start_ab_test

Start an A/B test Changesdry_run

Start an A/B test (owners only): half of the visitors see the new wording on the home page, the other half the current one, and get_ab_tests shows which leads to more bookings. Starting again replaces a test of the same thing. stop_ab_test ends it.

ParameterTypeDescription
what requiredstring: home_headline | home_subhome_headline = the home page's headline; home_sub = the line under it
new_wording requiredstringThe new words that half of the visitors see
dry_runbooleantrue = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "start_ab_test",
    "arguments": {
      "what": "home_headline",
      "new_wording": "<new_wording>",
      "dry_run": true
    }
  }
}

stop_ab_test

Stop an A/B test Changesdry_runconfirm

End a running A/B test (owners only): keep the current wording, or make the new wording the site's own for everyone. Look at get_ab_tests first. Needs the owner's yes and confirm: true.

ParameterTypeDescription
what requiredstring: home_headline | home_subWhich test to end: the home page's headline or the line under it
keepstring: current | newcurrent = everyone sees the wording the site had (default); new = the new wording becomes the site's wording for everyone
confirmbooleanMust be true, after the owner has said yes
dry_runbooleantrue = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "stop_ab_test",
    "arguments": {
      "what": "home_headline",
      "dry_run": true
    }
  }
}

get_review_settings

Google review requests after parties Reads

How the gym asks families for a Google review after a party (Events > Reviews and party photos): whether it asks, how many hours after the party it goes by itself, how many times at most and the days between, whether owners and hosts are reminded to upload photos, whether the newest Google reviews show on the website, and the review link. No families' details.

Takes no parameters.

Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_review_settings",
    "arguments": {}
  }
}

set_review_settings

Change the review request settings Changesdry_runconfirm

Change how the gym asks families for a Google review after a party (owners and managers), as on Events > Reviews and party photos. Send only what changes. Switching something off needs the owner's yes and confirm: true. Switching review requests on is left to the back office, because it starts emails to families.

ParameterTypeDescription
ask_for_reviewsbooleanfalse = stop asking families for a Google review after parties (they still get the thank-you and photos). Switching it back on is done in the back office.
send_after_hoursinteger: 12 | 24 | 48 | 72How many hours after the party the review request goes out
ask_at_mostinteger: 1 | 2 | 31 = once, 2 = one reminder, 3 = two reminders
reminder_daysinteger: 3 | 4 | 5 | 7Days between the request and each reminder (how many go out: ask_at_most)
photo_remindersbooleanRemind the owners and the party's host to upload photos after each party
show_on_websitebooleanShow the newest Google reviews on the home and parties pages
google_review_linkstringThe review link Google gives (https://g.page/r/... or https://search.google.com/...), until Google is connected
confirmbooleanMust be true, after the owner has said yes
dry_runbooleantrue = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "set_review_settings",
    "arguments": {
      "dry_run": true
    }
  }
}

sync_from_google

Read Google reviews and Search Console now Changesdry_run

Read the newest from Google now instead of waiting for the nightly update (owners only): the Google Business Profile's reviews (Marketing > Google, Read reviews now) and Search Console's searches and clicks (Search vs competitors, Update now). It only reads from Google into the gym's own numbers. Google has to be connected in the back office first.

ParameterTypeDescription
whatstring: reviews | search_console | bothreviews = the Google Business Profile's reviews; search_console = Google searches and clicks; both (default)
dry_runbooleantrue = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "sync_from_google",
    "arguments": {
      "dry_run": true
    }
  }
}

All 318 tools

Ask NinjaHQ

Answers from our Help Center and website

Ask anything about NinjaHQ, or try:

AI answers from NinjaHQ's own pages and can make mistakes. Your questions are sent to Anthropic, the AI company, to answer; NinjaHQ doesn't keep them. Privacy