Skip to main content
Glama

Server Details

AskYourStack connects Claude to your Linux server and to Google Search Console over MCP.

On a server, a small open-source agent (Apache-2.0, reproducible builds) dials out to AskYourStack; no SSH key or password is stored. Claude can then set up a raw VPS, install Magento or WordPress, read logs and fix errors, take backups and snapshots, harden the server, scan for malware and move a site to a new server. It runs as the Linux user who owns the sites by default, or as root when the user chooses

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
OAuth
Works in Glama
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
ChatGPT
–
Claude
AskYourStack

TDQS

B3.3/5.0

Scored across 138 tools

Disambiguation3/5

Tools are grouped by provider prefix and the descriptions are unusually explicit, so most tools are distinguishable in practice. However, several summary/convenience tools overlap with deeper report tools (gsc_performance_overview vs gsc_search_analytics, ga4_overview vs ga4_report, umami_overview vs umami_report, gsc_cannibalization vs gsc_opportunities), and multiple entry-point tools (overview, health_report, server_facts, list_servers, list_sites) create some selection ambiguity.

Naming Consistency4/5

All tool names use snake_case with clear domain prefixes such as gsc_, ga4_, cf_, gh_, content_ and seo_fields_, which makes the large set easier to scan. The internal pattern is not perfectly uniform: some are verb_noun (list_sites, save_note, validate_schema), while others are resource-first or noun phrases (bing_backlinks, gsc_search_analytics, magento, wp). Still readable and mostly predictable.

Tool Count1/5

138 tools is far beyond a well-scoped set and well beyond the 25+ threshold for 'too many'; it spans many separate domains and includes many convenience wrappers and per-provider variants. Even for a broad platform, this creates high selection and maintenance burden.

Completeness4/5

Coverage is very broad for a server/site/SEO/analytics platform: servers, files, databases, backups, CMS consoles, SEO audits, Search Console/GA4/Bing/Umami/Merchant data, GitHub, Cloudflare, content editing and undo flows are all represented. Remaining gaps are mostly peripheral, such as non-Cloudflare DNS and email operations, and many can be worked around with run, site_console or playbooks.

Publisher details

Operator
Whizzy Digital Solutions Lda
Vendor relationship
Not applicable
Privacy policy
Not provided
Trust center
Not applicable
Restrictions
No setup restrictions

Available Tools

138 tools
bing_crawlHow Bing crawls a siteA
Read-onlyIdempotent
Inspect

How Bingbot crawls a site: daily crawled pages, pages in the index, crawl errors and what blocked them (Bing keeps about 6 months), plus the crawl issues per address (HTTP errors, long page, missing titles and descriptions, blocked by robots.txt) and, for one address, when Bing found and last crawled it and what it answered.

Inputs: url, site, limit.

bing_keywordsKeyword research from BingA
Read-onlyIdempotent
Inspect

Keyword research from Bing's own data, free with Bing Webmaster Tools: how many searches a keyword had on Bing in a period (week by week too), and related keywords with their Bing search counts. These are Bing's own counts: use them to compare keywords against each other and to see trends, not as a keyword's total search demand.

Inputs: keyword (required), country, related, end_date, +2 more.

bing_performanceBing search performanceA
Read-onlyIdempotent
Inspect

Bing search performance of a site: daily impressions and clicks (Bing keeps about 6 months), the last 28 days against the 28 before, the top queries and the top pages with impressions, clicks and average position. Pass query to see the pages one query lands on, or page to see the queries one page gets. Compare with gsc_performance_overview for Google.

Inputs: page, site, limit, query.

bing_sitemapsSitemaps at BingA
Read-onlyIdempotent
Inspect

The sitemaps Bing knows for a site, with status, when Bing last read them, and how many addresses they hold. To submit one, use bing_submit with sitemap.

Inputs: site.

bing_sitesBing Webmaster Tools sitesA
Read-onlyIdempotent
Inspect

The sites in the user's Bing Webmaster Tools account and which of them the AI may read (picked on the SEO page). Bing Webmaster Tools is the Bing (and Yahoo, DuckDuckGo, Ecosia) side of Search Console: queries, pages, crawl errors, inbound links, URL submission and sitemaps.

Inputs: no named parameters.

bing_submitSubmit pages or a sitemap to BingAInspect

Ask Bing to crawl pages now: submit up to 500 addresses of a picked site (Bing allows about 10,000 a day per site; the quota left is shown), or submit a sitemap. Use after publishing or changing pages; IndexNow (indexnow_submit) reaches Bing too and needs no account, so prefer this when the user has Bing connected and wants Bing's own confirmation and quota.

Inputs: site, urls, sitemap.

cf_analyticsTraffic through CloudflareA
Read-onlyIdempotent
Inspect

Traffic through Cloudflare for a zone (proxied traffic only): requests, cached share, visitors, threats, bandwidth and status codes per day for up to 30 days, top countries, requests per hour for the last 24 hours, and a sample of the firewall events of the last 24 hours (what was blocked or challenged, by action, source, address, path and country). The place to look during a bot attack or a traffic alert.

Inputs: days, zone.

cf_dns_addAdd a Cloudflare DNS recordAInspect

Add a DNS record to a Cloudflare zone: a new subdomain, a mail record or a verification text. proxied defaults to false. It can be removed again with cf_undo.

Inputs: name (required), type (required), ttl, data, +5 more.

cf_dns_changeChange a Cloudflare DNS recordA
Destructive
Inspect

Change one DNS record of a Cloudflare zone, by record_id from cf_dns_list (or name plus type when they match one record): its content, TTL, proxy, priority or name. Records that were there before AskYourStack need the connection's "change anything" mode. cf_undo puts the old values back.

Inputs: ttl, data, name, type, +7 more.

cf_dns_listList Cloudflare DNS recordsB
Read-onlyIdempotent
Inspect

List the DNS records of a Cloudflare zone, filtered by type, name or search (part of a name or content), each with its id. Changes nothing.

Inputs: name, type, zone, search.

cf_dns_removeRemove a Cloudflare DNS recordA
Destructive
Inspect

Remove one DNS record of a Cloudflare zone, by record_id from cf_dns_list (or name plus type when they match one record). Records that were there before AskYourStack need the connection's "change anything" mode. cf_undo creates it again.

Inputs: name, type, zone, record_id.

cf_firewall_addAdd a Cloudflare firewall ruleA
Destructive
Inspect

Add one firewall rule or rate limit to a Cloudflare zone. What it matches comes from ip or ips (addresses or CIDR), asn, country or countries, path (starts with), user_agent (contains), host and not_verified_bot, combined with and; or a raw expression in Cloudflare's rule language. A rule can block real visitors, so it is undone with cf_undo or cf_firewall_remove.

Inputs: rule (required), ip, asn, ips, +13 more.

cf_firewall_listList Cloudflare firewall rulesA
Read-onlyIdempotent
Inspect

List the custom firewall rules and rate limits of a Cloudflare zone, each with its id, action and expression. Changes nothing.

Inputs: zone.

cf_firewall_removeRemove a Cloudflare firewall ruleA
Destructive
Inspect

Remove one custom firewall rule or rate limit from a Cloudflare zone, by rule_id from cf_firewall_list. cf_undo adds it again.

Inputs: rule_id (required), zone.

cf_purge_cachePurge the Cloudflare cacheA
Destructive
Inspect

Clear Cloudflare's cache of a zone: everything, or only the given addresses (up to 30). Use it after deploying changes a visitor still sees old, or a wrong page cached. Nothing to undo; the cache fills again from the origin.

Inputs: urls, zone, everything.

cf_settingsCloudflare zone settingsA
Destructive
Inspect

Read or change a Cloudflare zone's settings: security_level (essentially_off, low, medium, high, under_attack) or under_attack true/false as a shortcut, development_mode (skip the cache for 3 hours), browser_check, automatic_https_rewrites; and in "change anything" mode ssl (off, flexible, full, strict), always_use_https, min_tls_version. Without arguments it reads them all. Changes can be undone with cf_undo; under_attack false puts the level back to what it was.

Inputs: ssl, zone, under_attack, browser_check, +5 more.

cf_undoUndo a Cloudflare changeA
Destructive
Inspect

Undo a Cloudflare change made through the cf_dns_, cf_firewall_ or cf_settings tools: a record or rule that was added is removed, a changed one gets its old values, a removed one is made again. Without change_id it lists the changes of the last 90 days.

Inputs: change_id.

cf_zonesCloudflare zonesA
Read-onlyIdempotent
Inspect

The Cloudflare zones (domains) the user connected, with status, plan, name servers and what the AI may do there. Start here before any other cf_ tool. Cloudflare is connected on the Sites & Apps page with an API token; no server is needed.

Inputs: no named parameters.

connected_sitesSites connected without a serverA
Read-onlyIdempotent
Inspect

Sites the user connected without a server: a WordPress site through its REST API (any host, no SSH) or a WhizzyCommerce shop through the shop's own connector. For each: name, address, kind, its mode, and for WordPress the kinds of content it has and the fields content_save takes for each. Use the content_ tools on a WordPress site, and whizzy_tools and whizzy_call on a WhizzyCommerce shop. A site on one of the user's servers is not listed here: for that use list_sites, wp and db_query.

Inputs: no named parameters.

content_getRead one item of a connected siteA
Read-onlyIdempotent
Inspect

Read one item of a connected site in full, as its editor would see it: title, content (the stored source), status, address and what else it has. WordPress: excerpt, categories, tags, featured image, and the SEO title and description when the site's SEO plugin publishes them. Shopify: a product's description, vendor, type, tags, SEO title and description and its images with their alt texts; a page's or blog post's text and SEO fields.

Inputs: id (required), site, type.

content_listList a connected site's contentA
Read-onlyIdempotent
Inspect

List content of a connected site, newest change first. WordPress: posts, pages, media, categories, tags and the site's own content types (products on a WooCommerce shop, for example). Shopify: products, collections, pages, articles (blog posts), blogs and redirects. connected_sites names them for each site. Each with id, title, status, address and when it changed; media with its alt text. Filter with search (words) and status (publish, draft, pending, future, private). 20 a page, up to 100.

Inputs: page, site, type, search, +3 more.

content_saveCreate or change content on a connected siteA
Destructive
Inspect

Create or change content on a connected site. Without id it creates (as a draft unless status says otherwise); with id it changes only the fields you pass. Fields depend on the kind of site and of item: connected_sites lists them (title, content, slug and status everywhere; on Shopify also seo_title and seo_description, and for products vendor, tags and add_image; prices, stock and variants are never touched). What the site's mode allows: drafts only (the default) lets you create and edit drafts and nothing visitors see; publish too lets you publish and edit live content. What a change replaced is kept 90 days: content_undo puts it back. Never publish or change live content unless the user asked for exactly that; a draft's preview link is in the answer for them to check.

Inputs: fields (required), id, site, type.

content_trashMove content to the site's trashA
Destructive
Inspect

Move a post, page or other item of a WordPress site to its trash (WordPress keeps it 30 days; content_undo brings it back), or remove a URL redirect of a Shopify store (content_undo makes it again). In drafts-only mode this works for drafts; removing something live needs the publish-too mode. Nothing else is deleted through a connection: Shopify has no trash, so take a product or page off the store by setting its status to draft or archived.

Inputs: id (required), site, type.

content_undoUndo a content changeA
Destructive
Inspect

Undo a change made through content_save, content_upload or content_trash on a connected site: an edit gets its old values back, a created item goes to the trash, a trashed one comes back. Without change_id it lists the changes of the last 90 days with their ids.

Inputs: site, change_id.

content_uploadUpload an image to a connected siteAInspect

Add images to a connected site's media library (WordPress) or files (Shopify): images from this conversation (generated here or attached by the user) as images, or one image from a public address as url; a client that cannot pass files may send one small image as data_base64. jpeg, png, gif, webp or avif, up to 15 MB each, up to 10 a call, with alt text and title. On WordPress the answer has each media id to use as featured_media or inside content; on Shopify put an image on a product with content_save add_image (its file address), on a blog post with image_url. Allowed in drafts-only mode: an image in the library shows nowhere until something uses it.

Inputs: url, site, title, images, +4 more.

convert_imagesMake WebP or AVIF copies of a site's imagesAInspect

Make WebP (or AVIF) copies of the JPEG and PNG images in a site's upload folders, next to each original as .webp, with the encoder the server has (cwebp, avifenc, ImageMagick or vips; the answer names it, or says what to install). Runs as the site's owner in the background: follow with job_output, the last line is the summary (converted, already had a copy, no gain, MB before and after). Originals are never changed, and a copy that is not smaller is removed. dry_run true only counts. Serving the copies is separate: nginx needs a map on the Accept header and try_files $uri$webp_suffix (add_header Vary Accept); Apache a RewriteCond on HTTP_ACCEPT; WordPress and Magento can also serve them through their own image settings. Tell the user that before converting, and run it again later for new uploads (existing copies are skipped).

Inputs: site, format, server, dry_run, +3 more.

core_web_vitalsCore Web VitalsA
Read-onlyIdempotent
Inspect

Real-user Core Web Vitals from Google's Chrome UX Report (the field data Google uses for ranking), for one page (url) or a whole site (origin): LCP, INP and CLS with their 75th percentile and the good / needs improvement / poor split, plus FCP and TTFB, and when LCP is slow its parts (server response, resource load delay and time, render delay). history true adds the weekly trend over about the last 6 months; lab true adds a Lighthouse test with the causes. Pages with too little Chrome traffic have no data; the site's origin is tried then.

Inputs: lab, url, origin, history, +1 more.

crawl_reportWhat crawlers fetchedA
Read-onlyIdempotent
Inspect

What search engine, AI and SEO crawlers actually fetched in the last hours (default 24, up to 168), from the web server's access logs: per crawler the hits, status codes (404, 5xx, redirects), what kind of pages (filtered layered-navigation URLs, search, ordinary pages, static files, API), URLs with a query string, the most fetched, 404 and 5xx paths, Googlebot and Bingbot hits per hour, and for Googlebot and Bingbot how many hits really come from them (reverse DNS) and which addresses fake it. Use it for technical SEO (crawl budget, errors served to Google) next to Search Console data. Pass log for one site's access log when the server has several.

Inputs: log, hours, server.

db_dumpDump a site's databaseAInspect

Dump a site's database (any kind list_sites shows) to a .sql.gz file on its server, with the site's own credentials (they never reach the chat). The dump stays on the user's server; do not read its contents into the chat. Runs in the background: returns job_id and the file path; follow it with job_output. Files go to /var/lib/askyourstack/dumps; to move one to another server, transfer that folder.

Inputs: site, server.

db_queryQuery a site's databaseA
Destructive
Inspect

Run one SQL statement on a site's database, connecting with the site's own credentials (you never need the password). SELECT, SHOW, DESCRIBE and EXPLAIN run straight away in a read-only transaction; anything that changes data needs the user's approval. Remember the table prefix from list_sites. Query only the tables and columns the task needs. Do not select or return payment card numbers, government ID numbers, health or biometric data or password hashes, and never ask the user for them: if a table holds them, leave those columns out.

Inputs: sql (required), why, site, server, +2 more.

db_restoreLoad a dump into a site's databaseA
Destructive
Inspect

Load a .sql or .sql.gz dump into a site's database, with the site's own credentials: the undo for a bad change, or a restore from a backup. Pass file as list_dumps shows it, or any .sql / .sql.gz file on the server (a backup the user keeps). The database as it is now is dumped first (before-restore-...), so the restore itself can be undone with the same tool. Tables in the file replace the tables of the same name; tables the file does not mention stay. A dump from another database or another site version can break the site: check what the file holds first (read_file the first lines, or list_dumps). Runs in the background: follow with job_output. Say beforehand what will be lost (everything in those tables since the dump). For a few rows or one table, load the dump into a scratch database instead (playbook restore).

Inputs: file (required), why, site, server, +1 more.

disavow_fileWrite a disavow file for GoogleA
Read-onlyIdempotent
Inspect

Build the disavow file for Google's disavow links tool (https://search.google.com/search-console/disavow-links) and return it as text; nothing is written to a server or sent to Google. Google has no API to upload it, so you give the user the file and they upload it themselves. Disavowing is rarely needed and can lower rankings when good links are thrown away: use it after a manual action for unnatural links in Search Console, or for links the site clearly paid for or built in a scheme; Google already ignores ordinary spam links, so a high spam score alone is not a reason. Pass the domains (whole sites, the usual choice) and/or single URLs to disavow, each with a short reason, from the user's backlink data (Ahrefs, Semrush, SE Ranking, bing_backlinks, an attached export). Each upload REPLACES the list Google has, so if the user already uploaded one, ask them to download it from the tool and pass it as current: this tool keeps its lines and adds the new ones. remove takes lines back out (links the user no longer wants disavowed). Answers with the whole file, what was added, kept and dropped, and how to upload it. It works only for a URL-prefix property in Search Console (https://www.example.com/), not a Domain property.

Inputs: site (required), urls, reason, remove, +3 more.

domain_keywordsWhat a domain ranks forA
Read-onlyIdempotent
Inspect

What a domain ranks for in Google (the user's site or a competitor): up to 100 keywords with position, monthly searches, estimated visits and the ranking page, ordered by estimated traffic; and, with competitors true, the domains that share the most keywords with it. Ask for a competitor's domain to find keywords the user's site is missing. One lookup from the plan's allowance.

Inputs: domain (required), limit, language, location, +1 more.

forget_noteDelete a noteA
Destructive
Inspect

Delete a saved note that is wrong or no longer true (its id is in overview).

Inputs: id (required).

ga4_ai_trafficVisits from AI assistantsA
Read-onlyIdempotent
Inspect

Visits referred by AI assistants (ChatGPT, Perplexity, Gemini, Claude, Copilot, DeepSeek, Grok, Meta AI and others): sessions, users, engagement and key events per assistant, the pages they land on, and the daily trend, against the period before. Some AI visits arrive without a referrer and count as Direct; say so.

Inputs: end_date, property, start_date, compare_end_date, +1 more.

ga4_landing_pagesAnalytics landing pagesA
Read-onlyIdempotent
Inspect

Landing pages with sessions, engaged sessions, engagement rate, bounce rate, average session time, key events (conversions) and revenue; optionally only one channel (organic search by default) and compared with an earlier period. Pair with gsc_search_analytics by page to see where rankings, clicks and visits part ways.

Inputs: limit, channel, end_date, property, +3 more.

ga4_overviewAnalytics overviewA
Read-onlyIdempotent
Inspect

Traffic at a glance for a GA4 property: sessions, users, new users, engaged sessions, engagement rate, average session time, views, key events (conversions) and revenue against the period before, the daily trend, sessions by channel (Organic Search, Direct, Paid, Referral, Social, Email...), organic search's share and its own trend, the top landing pages and AI-assistant traffic in total. Start here when the user asks how the site is doing.

Inputs: days, property.

ga4_propertiesAnalytics propertiesA
Read-onlyIdempotent
Inspect

The Google Analytics 4 properties the user picked for AskYourStack, each with a health check: time zone, currency, data retention, key events (conversions) set up, and whether data is still coming in (sessions yesterday and in the last 7 days). Call this first for analytics work.

Inputs: no named parameters.

ga4_realtimeAnalytics right nowA
Read-onlyIdempotent
Inspect

Who is on the site right now (last 30 minutes): active users by page or screen, country, device and minutes ago. Use it to check a launch, a campaign or that tracking works after a change.

Inputs: property.

ga4_reportAnalytics reportA
Read-onlyIdempotent
Inspect

Any GA4 report (the Data API's runReport): pick dimensions and metrics, filters, date ranges and an optional comparison period. Examples: dimensions ["newVsReturning"] with metrics ["totalUsers", "sessions", "engagementRate"] for new vs returning; ["searchTerm"] with ["eventCount"] for on-site search terms; ["sessionSourceMedium"]; ["deviceCategory"], ["country"], ["contentGroup"]; ["date"] or ["isoYearIsoWeek"] for trends; ["eventName"] with ["keyEvents"] for conversions; ["itemName"] with ["itemRevenue", "itemsPurchased"] for e-commerce. Common metrics: sessions, totalUsers, newUsers, activeUsers, engagedSessions, engagementRate, bounceRate, averageSessionDuration, screenPageViews, keyEvents, totalRevenue, purchaseRevenue, transactions, eventCount.

Inputs: metrics (required), limit, filters, end_date, +6 more.

get_playbookGet a playbookA
Read-onlyIdempotent
Inspect

Step-by-step guide for a common job, written for you to follow. Available: add-site (A new domain on a server that already runs sites: its own user, folder, PHP pool, web server block, database, SSL and a check that the other sites were not touched.); backups (Scheduled database and file backups with rotation, an optional off-server copy, and a tested restore.); bot-attack (A shop or site is slow or flooded by bots (layered navigation, search, login, account sign-up, API): find what is hitting it and slow it down without blocking customers or search engines.); drupal (Check-up and common jobs for Drupal 9, 10 and 11 with drush: status, security updates, database updates, cache, cron, configuration.); email (Order confirmations, password resets and contact forms that land in spam or never arrive: check how the site sends, the domain's SPF, DKIM and DMARC records, the server's reputation, and move sending to a proper mail service when that is the fix.); failed-services (Services marked failed on a server: tell the ones left behind by sites that were removed (Virtualmin, Plesk and cPanel leave per-site units) from the ones that broke, fix the broken ones, remove the leftovers in one approved plan, and leave the server with no failed units.); ghost (Where Ghost keeps things, ghost-cli as the site's owner, updates and restarts, mail, the database, backups and the common faults.); hardening (Review and tighten an existing server's security without breaking what runs on it.); laravel (Check-up and common jobs for Laravel apps with artisan: environment, deploy steps, migrations, queues and the scheduler as services, logs.); magento-upgrade (Move a Magento or Mage-OS shop to a newer version or patch level: compatibility check of PHP, database, search and modules, a rehearsal on a copy, then the live upgrade in a short maintenance window with a way back.); magento (A full Magento Open Source (or Mage-OS) shop on one server: nginx, PHP-FPM, MariaDB, OpenSearch, Valkey/Redis, cron, SSL, production mode.); malware-cleanup (Contain, investigate and clean a compromised Magento or WordPress site, then close the way in and change every credential.); migrate (Migrate a Magento or WordPress site (or any folder) from one of the user's servers to another, with a short maintenance window and a way back.); other-shops (What is where and the common jobs for three more kinds of site AskYourStack finds: Joomla 4 and 5, OpenCart 3 and 4, and Magento 1 / OpenMage.); performance (Measure a slow shop or site from the server (response times, PHP workers, database, caches, bots, memory, disk), name the real causes with numbers and fix them in order of impact.); prestashop (Check-up and common jobs for PrestaShop 1.7, 8 and 9: cache, debug mode, modules, shop address and SSL, maintenance mode, updates, security.); publish-content (Turn SEO data (Search Console, SE Ranking, a Semrush or other report the user uploads) into a content plan, then write articles, landing pages or category texts and save them as drafts in WordPress or Magento for the user to review.); restore (Bring a site, some files or a database back from a backup or an AskYourStack snapshot, after saving the current state, into a scratch place first when there is any doubt.); seo-dashboard (A site's search performance over the last 90 days as one visual page set in the Inter typeface. Fixes only the basics; what to analyse and show is the AI's judgement.); seo-technical (Technical SEO of a shop or site from the server side (what Googlebot really crawls, errors it gets, robots, sitemaps, redirects, canonicals, speed), combined with Search Console, SE Ranking or the user's exported reports, then fixes on the server.); server-setup (Turn an empty VPS into a sane, updated, secured base before anything is installed on it.); shopware (Check-up and common jobs for Shopware 6: scheduled tasks and the message queue as services, cache, plugins, themes, indexing, updates.); site-checkup (A health and security review of a Magento or WordPress site already in production, with a prioritised list of fixes.); site-down (A shop or site that does not answer, shows an error page or a blank page: find which layer failed (DNS, certificate, web server, PHP, database, disk, memory), bring it back and say why it happened.); staging (A private copy of a live shop or site on the same server or another, with its own database and address, closed to search engines and with emails and payments switched off.); updates (Security updates of the system, WordPress core, plugins and themes, or Magento security patches, with a snapshot first, checks after and the reboot planned with the user.); whizzycommerce (How to work on a WhizzyCommerce shop connected on the Sites & Apps page: what to read first, how changes are proposed and confirmed, what applies at once (colours, fonts), orders, prices, translations, design and own themes, SEO fields and redirects, and what to leave to the merchant.); woocommerce (Check-up and common jobs for WordPress shops: orders, background tasks, WP-Cron, updates with the database step, speed, and what never to cache.); wordpress (WordPress with nginx, PHP-FPM, MariaDB, Redis object cache, wp-cli, system cron and SSL.)

Inputs: name (required).

gh_accountsGitHub connectionsA
Read-onlyIdempotent
Inspect

The GitHub accounts and organisations the user connected (where the AskYourStack app is installed, all or selected repositories) and what the AI may do there. Start here before other gh_ tools. GitHub connects on the Sites & Apps page (Pro and Agency).

Inputs: no named parameters.

gh_actionsGitHub Actions runsB
Read-onlyIdempotent
Inspect

The workflows and recent runs of a repository (filter by branch or workflow), or one run (run_id) with its jobs, the failed steps and the end of a failed job's log. Use it when a build or deploy workflow fails.

Inputs: repo (required), limit, branch, run_id, +1 more.

gh_actions_cancelCancel a GitHub workflow runA
Destructive
Inspect

Cancel a GitHub Actions run that is queued or in progress, by run_id from gh_actions. A deploy stopped halfway can leave a site half updated.

Inputs: repo (required), run_id (required).

gh_actions_dispatchStart a GitHub workflowA
Destructive
Inspect

Start a GitHub Actions workflow that has a workflow_dispatch trigger: workflow is its file name (deploy.yml) or id from gh_actions, ref the branch or tag (default the main branch), inputs the workflow's own inputs. It runs whatever the workflow does, deploys included, so check the workflow first.

Inputs: repo (required), workflow (required), ref, inputs.

gh_actions_rerunRe-run a GitHub workflow runA
Destructive
Inspect

Run all the jobs of a finished GitHub Actions run again, by run_id from gh_actions. A workflow that deploys or publishes does that again, so check what the workflow does first.

Inputs: repo (required), run_id (required).

gh_actions_rerun_failedRe-run the failed jobs of a GitHub workflow runA
Destructive
Inspect

Run only the failed jobs of a GitHub Actions run again, by run_id from gh_actions. A failed deploy job that now succeeds changes what is live.

Inputs: repo (required), run_id (required).

gh_branchCreate a GitHub branchAInspect

Create a branch from another branch, a tag or a commit (default the main branch).

Inputs: name (required), repo (required), from.

gh_collaboratorGitHub collaboratorsA
Destructive
Inspect

Without username, list collaborators and pending invitations. With username, invite them or change their permission (pull, triage, push, maintain, admin; default push); remove true takes their access away. Changes need "change anything".

Inputs: repo (required), remove, username, permission.

gh_commitCommit files to GitHubAInspect

Commit up to 100 files in one commit: add or change ({path, content}, encoding base64 for binary, executable true for scripts) or delete ({path, delete: true}). branch is made from from (default the main branch) when it does not exist yet. In the default mode commits go to other branches than the main one (then open a pull request with gh_pull_create), except on repositories AskYourStack created or empty ones.

Inputs: repo (required), files (required), message (required), from, +1 more.

gh_commitsGitHub commits and comparisonsB
Read-onlyIdempotent
Inspect

List commits (of a branch, or touching a path), show one commit with its changes (sha), or compare two branches, tags or commits (base and head) with the changed files and their diffs.

Inputs: repo (required), sha, base, head, +3 more.

gh_create_repoCreate a GitHub repositoryAInspect

Create a repository on the user's GitHub account or an organisation where the app is installed. Private unless private is false (a public one needs the "change anything" mode). auto_init (default true) starts it with a README; gitignore_template takes GitHub's names (Node, PHP, Python...). Never deletes anything. A repository AskYourStack created may then get commits on its main branch in the default mode.

Inputs: name (required), owner, private, homepage, +4 more.

gh_issue_createOpen a GitHub issueCInspect

Open an issue with a title, body, labels and assignees.

Inputs: repo (required), title (required), body, labels, +1 more.

gh_issuesGitHub issuesB
Read-onlyIdempotent
Inspect

List issues (state, labels) or one (number) with its comments.

Inputs: repo (required), limit, state, labels, +1 more.

gh_issue_updateUpdate a GitHub issue or pull requestA
Destructive
Inspect

Comment on an issue or pull request, close or reopen it (state), change its title or body, set labels (replaces them), add_labels, or assignees. A new title, body or labels replace the old ones, and GitHub keeps no undo, so read the issue first (gh_issues) and say what will be replaced.

Inputs: repo (required), number (required), body, state, +5 more.

gh_pull_createOpen a pull requestBInspect

Open a pull request from head (a branch) into base (default the main branch), with a title and a description of what changed and why.

Inputs: head (required), repo (required), title (required), base, +2 more.

gh_pull_mergeMerge a pull requestA
Destructive
Inspect

Merge a pull request (method squash by default, or merge or rebase); delete_branch removes its branch afterwards. Merging into the main branch of a repository AskYourStack did not create needs the "change anything" mode: otherwise leave the merge to the user.

Inputs: repo (required), number (required), title, method, +1 more.

gh_pullsGitHub pull requestsA
Read-onlyIdempotent
Inspect

List pull requests (state open, closed or all), or one (number) with its description, reviews, checks, mergeability and changed files with diffs.

Inputs: repo (required), limit, state, number.

gh_readRead files in a GitHub repositoryA
Read-onlyIdempotent
Inspect

Read a file, list a folder, or with recursive true list every file below a path, at a branch, tag or commit (default branch when ref is left out).

Inputs: repo (required), ref, path, recursive.

gh_repoA GitHub repositoryB
Read-onlyIdempotent
Inspect

One repository: settings, branches, the latest commits, open pull requests, the user's rights on it, and the server folders linked to it with git_link.

Inputs: repo (required).

gh_reposList GitHub repositoriesB
Read-onlyIdempotent
Inspect

The repositories the AskYourStack app can reach, newest push first, with private or public, default branch and language. Filter with owner or search.

Inputs: limit, owner, search.

gh_repo_settingsGitHub repository settingsC
Destructive
Inspect

Without changes, read the settings. description, homepage, topics, has_issues, has_wiki, delete_branch_on_merge and the merge methods change in the default mode; private (visibility), default_branch and archived need "change anything". Repositories are never deleted.

Inputs: repo (required), topics, private, archived, +10 more.

gh_secretGitHub Actions secretsA
Destructive
Inspect

Without name, list a repository's (or an environment's) Actions secret names. With name and value, set one (encrypted for GitHub before it leaves AskYourStack; AskYourStack keeps no copy); remove true deletes it. Setting and removing need "change anything". Typical: SSH_KEY, SERVER_HOST for a deploy workflow.

Inputs: repo (required), name, value, remove, +1 more.

git_deployDeploy from GitHub to a server folderA
Destructive
Inspect

Bring a linked server folder to the latest commit of its branch (or another branch, or a ref: a commit or tag, also to roll back). dry_run (default true) shows the commits, changed files and the steps the site needs afterwards (composer, setup:upgrade, static content, cache) without changing anything; dry_run false applies it with a fast-forward. It refuses when live files that the deploy would overwrite were changed on the server (git_push them first, or stash_local true to set them aside with git stash). The answer gives the ref to roll back to. Run the after steps with the magento, wp or run tools.

Inputs: path (required), ref, why, branch, +4 more.

git_pushPush server changes to a GitHub branchAInspect

Commit the live changes of a linked folder (all of them, or only paths) and push them to a new branch on GitHub (default server/-), without changing the live files. Then open a pull request with gh_pull_create. Needs a deploy key with write (git_link with write true).

Inputs: path (required), why, paths, branch, +3 more.

git_statusGit status of a server folderA
Read-onlyIdempotent
Inspect

A folder on the user's server as git sees it: the repository and branch it runs, the commit, whether GitHub has newer commits, and the drift: live files that differ from that commit (changed, new or deleted, .gitignore respected). Drift on a live shop nobody touched can be a hack: check it with malware_scan. Changes nothing.

Inputs: path (required), fetch, server.

google_updatesGoogle ranking updatesA
Read-onlyIdempotent
Inspect

Google Search ranking updates from Google's own Search Status Dashboard: core, spam, Discover, reviews and helpful content updates and ranking incidents, with start date, how long the rollout took and whether it is still rolling out. Line them up with traffic changes from gsc_search_analytics before blaming (or clearing) the site itself.

Inputs: kind, since.

gsc_cannibalizationKeyword cannibalizationA
Read-onlyIdempotent
Inspect

Keyword cannibalization from Search Console: queries where two or more of the site's pages each get a real share of the impressions, so they compete with each other. Per query the pages with their clicks, impressions, share and position, biggest first. Fix by merging, differentiating or canonicalizing the weaker page, and linking to the one that should rank. Pro and Agency.

Inputs: days, site, min_share, include_brand, +1 more.

gsc_inspect_urlInspect URLs in Search ConsoleA
Read-onlyIdempotent
Inspect

Google's own view of up to 20 URLs (Search Console URL Inspection): indexed or not and why (coverage state), last crawl, fetch result, robots.txt, the canonical Google picked versus the page's own, the sitemap and referring pages it knows, mobile usability and rich results found. About 2,000 inspections a day per property.

Inputs: urls (required), site.

gsc_opportunitiesSEO opportunities, rankedA
Read-onlyIdempotent
Inspect

The SEO work a Search Console property is asking for, ranked in one call: striking-distance queries (average position 5 to 20 with real impressions, and the page that ranks), low-CTR pages (on page one but earning under half the clicks their position usually gets, with the queries to write the title for), decaying pages (lost at least 10 clicks and 20% against the period before) and queries where two of the site's pages compete. Each item has clicks_at_stake, a rough monthly estimate from typical CTR by position, so the four kinds rank together in top_actions with what to do. Brand searches are left out. Start here when the user asks what to work on, what to improve first or for quick wins; then open the pages with page_audit or gsc_search_analytics.

Inputs: days, site, limit, include_brand, +1 more.

gsc_performance_overviewSearch performance overviewA
Read-onlyIdempotent
Inspect

One-call summary of a Search Console property: totals for the period against the period before it (clicks, impressions, CTR, position and their change), the day-by-day series, and the biggest winning and losing queries and pages by clicks, plus queries and pages that appeared or vanished. Start here when the user asks how the site is doing or why traffic moved; drill down with gsc_search_analytics.

Inputs: days, site, search_type.

gsc_propertiesSearch Console propertiesA
Read-onlyIdempotent
Inspect

The Google Search Console properties the user picked for AskYourStack, with the access level, and which Google account is connected. Call this first for SEO work that uses Search Console.

Inputs: no named parameters.

gsc_search_analyticsSearch Console search analyticsA
Read-onlyIdempotent
Inspect

Google Search Console performance: clicks, impressions, CTR and average position, grouped by query, page, country, device, date or search appearance, with filters. Pass compare_start_date and compare_end_date to compare two periods (each row then has the previous values and the change, and rows that disappeared are listed). Dates are YYYY-MM-DD; Search Console keeps about 16 months of history (use it for year-over-year and seasonality) and lags about 2 to 3 days. Default: the last 28 days of final data, grouped by query.

Inputs: site, filters, end_date, row_limit, +7 more.

gsc_sitemapsSearch Console sitemapsB
Read-onlyIdempotent
Inspect

Sitemaps submitted in Search Console for a property: last submitted and downloaded, pending, errors and warnings, and URLs submitted per content type.

Inputs: site.

gsc_sitemap_submitSubmit a sitemap to GoogleAInspect

Submit or resubmit a sitemap to Google Search Console for a picked property, the same as Sitemaps > Add a new sitemap. Use it after publishing a new sitemap, moving it, or when gsc_sitemaps shows it is missing. It needs the extra "Submit sitemaps" permission on the connected Google account; without it the answer gives the user the link to grant it. Google has no API to request indexing of single pages (only the button in URL Inspection); indexnow_submit covers Bing and the others.

Inputs: sitemap (required), site.

health_reportServer health reportA
Read-onlyIdempotent
Inspect

Health of the server now: disk and inode use per filesystem, free memory, swap, load per CPU, failed services, SSL certificates and days left, pending security updates, whether a reboot is needed, backups (how old the newest is, the rhythm of the last runs, backup programs that are scheduled), programs the system killed for lack of memory in the last day, how often PHP-FPM ran out of workers, how close the database came to its connection limit, and per site its address and (Magento) minutes since cron last succeeded; on Pro and Agency also software with a known vulnerability (missing security patches, vulnerable modules, plugins and themes). AskYourStack runs this daily and emails the user about problems. On Pro and Agency the answer ends with known_vulnerabilities: what the public feeds (WPVulnerability for WordPress plugins, themes and core; OSV for composer packages) know about the installed versions, with severity, the fixed version and a link; the same opens alerts.

Inputs: server.

indexnow_submitTell Bing about changed pages (IndexNow)AInspect

Tell Bing and the other IndexNow search engines (Yandex, Seznam, Naver; not Google) that pages are new, changed or deleted, so they crawl them now. Pass up to 500 addresses of one site. The first time for a site it answers with a small key file to put at the site's root (write it with write_file into the folder the web server serves, see list_sites) and then call again. Use it after publishing or updating pages, fixing redirects or removing pages; do not resend pages that did not change.

Inputs: urls (required).

job_outputRead a job's outputA
Read-onlyIdempotent
Inspect

Status (running, finished, ended), exit code and output of a background job. Without offset you get the last 48 KB; pass next_offset from the previous answer to get only what is new.

Inputs: job_id (required), offset, server.

keyword_ideasKeyword ideas with volume and difficultyA
Read-onlyIdempotent
Inspect

Keyword ideas around a seed keyword: up to 100 suggestions that contain it, each with monthly Google searches, cost per click, competition, keyword difficulty (0 to 100) and search intent. For a content plan, for finding what to target next to a page, or for checking a keyword's difficulty before writing. One lookup from the plan's allowance.

Inputs: keyword (required), limit, language, location.

keyword_volumeGoogle search volume for keywordsA
Read-onlyIdempotent
Inspect

Google search volume for up to 200 keywords in a country and language: monthly searches, the last 12 months, cost per click, advertiser competition, keyword difficulty (0 to 100) and search intent. One lookup from the plan's monthly keyword allowance whatever the count, so batch keywords into one call.

Inputs: keywords (required), language, location.

list_dumpsList the dumps kept on a serverA
Read-onlyIdempotent
Inspect

The database dumps kept on a server (in /var/lib/askyourstack/dumps, 7 days): those made with db_dump, the copies of tables AskYourStack took before an approved destructive statement (before-...), and the copies taken before a restore (before-restore-...). Each with its size and age. Use it to find what db_restore can load back.

Inputs: server.

list_jobsList background jobsB
Read-onlyIdempotent
Inspect

The 20 most recent background jobs on the server with their status.

Inputs: server.

list_serversList serversB
Read-onlyIdempotent
Inspect

List the servers on this account: online or not, safety mode, paused or not.

Inputs: no named parameters.

list_sitesList sitesA
Read-onlyIdempotent
Inspect

The sites on the server: Magento 2, OpenMage (Magento 1), WordPress and WooCommerce, PrestaShop, Shopware 6, Drupal, Joomla, OpenCart, Laravel and Ghost, wherever the hosting panel keeps them (found from the web server's own configuration too) and inside Docker containers when their files are mounted from the host. For each: kind, root folder, the folder the web server serves, domains, access logs, owner user, version, database name and table prefix (read from the site's own configuration; passwords are never shown), its command line tool if it has one (console, run with site_console), WooCommerce's version for a WordPress shop, and the container it runs in.

Inputs: server.

list_snapshotsList snapshotsB
Read-onlyIdempotent
Inspect

Snapshots on the server, newest first, with what each holds.

Inputs: server.

llms_txtBuild an llms.txtA
Read-onlyIdempotent
Inspect

Build an llms.txt for a site (the llmstxt.org format AI assistants read: the site's name, a one-line summary and its key pages as links with descriptions, grouped by section). Pages come from the sitemap (one language, shallowest first) or the home page's links, each fetched for its title and description; noindex, non-200 and pages canonical to another address are left out. Pass urls to put the pages that matter most first (for example the top pages by clicks from gsc_performance_overview), name or summary to set them. Returns the file and whether the site already has one; it does not write anything.

Inputs: site (required), name, urls, summary, +2 more.

logsRead logsA
Read-onlyIdempotent
Inspect

Read a log by name for a time window, with repeated messages counted once: how many different errors there are, how often each happened, when first and last, a sample of each (with the top of its stack trace) and the latest lines. Suited to finding what went wrong in a long log. log is one of: web-error (nginx and Apache error logs, each site's own included), php (PHP and PHP-FPM, and error_log files next to the code), site (the site's own application log, whatever kind it is: Shopware and PrestaShop var/log, Laravel storage/logs, Joomla and OpenCart logs), magento (exception.log and system.log of the site, plus how many error pages visitors saw), wordpress (wp-content/debug.log), database (MySQL/MariaDB error log), system (warnings and errors in the journal), mail, auth (logins). Or give path for any other log file. match keeps only entries holding that text. Log lines can hold personal data such as addresses and order references: report the pattern and the counts, not the personal data itself.

Inputs: log, path, site, hours, +2 more.

log_workLog finished workAInspect

Write down finished work, when a task that changed something is done: two or three plain lines (up to 800 characters) a non-technical owner understands. What you did, what changed, what is left for them. The user reads it on their Activity page and the next chat sees it in overview. No passwords or keys.

Inputs: summary (required), server.

magentoRun bin/magentoA
Destructive
Inspect

Run bin/magento as the site's owner in its root, like args ["cache:flush"] or ["indexer:reindex", "catalogsearch_fulltext"]. Status commands run straight away; uninstalls, rollbacks, admin user changes and URL/head-script config need approval. Set background true for slow commands (setup:upgrade, setup:di:compile, setup:static-content:deploy, reindex) and follow with job_output.

Inputs: args (required), why, site, server, +2 more.

malware_scanScan a site for malwareAInspect

Quick malware check of a site (most thorough for Magento and WordPress; for the other kinds list_sites shows it checks the files, upload folders, cron and processes, not the database): backdoor patterns in PHP, PHP in upload folders, disguised and hidden PHP, recently changed code, scripts injected into the database (Magento design/head/includes, CMS blocks; WordPress options and posts), recent admin users, suspicious cron entries and processes, WordPress checksums, and 130 maintained rules: signatures of known skimmers and backdoors in files and stored content, Magento security patches that are missing, modules with known vulnerabilities, leftover archives and database tools, programs and cron jobs posing as system services. It runs in the background (about a minute per 40,000 files) and returns a job_id: call job_output with offset 0 until status is finished; the output is the JSON report. Findings are leads to read, not proof. Read the files it names before concluding anything.

Inputs: days, site, server.

merchant_accountsMerchant Center accountsA
Read-onlyIdempotent
Inspect

The Google Merchant Center accounts the user's connected Google account can see (sub-accounts of a multi-client account included), with their ids. Call this first for Shopping and free listing questions.

Inputs: no named parameters.

merchant_issuesWhy products are not showing on Google ShoppingA
Read-onlyIdempotent
Inspect

Why products are not showing in Google Shopping ads and free listings: per destination and country the number of products active, pending, disapproved and expiring, the account's own issues (suspensions, missing settings, website claims), and the product issues grouped by kind with how many products each hits, how severe it is, Google's explanation and help link. Read only.

Inputs: account, country.

merchant_productsMerchant Center products and their issuesA
Read-onlyIdempotent
Inspect

Products in Merchant Center with their issues: offer id, title, link, and each issue with severity, the attribute concerned, where it applies and Google's explanation. By default only products with issues; issue keeps those with that issue code (from merchant_issues); search matches title or offer id. Read only; fix the feed or the site, then Google rechecks.

Inputs: all, issue, limit, search, +1 more.

overviewOverview of servers and problemsA
Read-onlyIdempotent
Inspect

Start here. One call shows where everything stands: the plan, every server (online or not, root or limited access, safety mode, paused, its sites), the open problems and warnings AskYourStack's own monitoring found (disk, memory, failed services, SSL certificates, a site not answering, a possible bot attack, a server offline, waiting updates), approvals waiting for the user, and the connected Google Search Console and Analytics properties. Call it at the start of a chat, and whenever the user asks what is wrong, what needs attention or how their servers are doing.

Inputs: no named parameters.

page_auditAudit pagesA
Read-onlyIdempotent
Inspect

On-page SEO audit of 1 to 10 URLs (any site, competitors too): status and redirect chain (hops, 302s, loops), response headers (X-Robots-Tag, cache, compression, CDN cache status), title and meta description with lengths, robots meta, canonical (self or elsewhere), hreflang, h1 and heading outline, Open Graph, image alt coverage, internal/external/nofollow link counts, main-content word count, structured data types, lang and viewport; plus a list of issues per page. check_variants also tests that http/https and www/non-www reach one address in one redirect. as_googlebot fetches with Googlebot's user agent (to catch cloaking or bot rules).

Inputs: url, urls, as_googlebot, check_variants.

page_contentRead a page's contentA
Read-onlyIdempotent
Inspect

The main content of a page as clean text with markdown headings (navigation, header, footer, sidebars, cookie bars and scripts removed) and its word count. Use it to review or compare content (yours or a competitor's), check keyword use, or write an improved version.

Inputs: url (required), max_chars.

propose_planAsk approval for a planAInspect

When a job has several risky steps (deleting folders, dropping tables, changing SSH or closing access in the firewall, a reboot), list the exact calls you mean to make and ask for the user's approval once, instead of stopping at each one. steps: [{tool, args, why}] with tool one of run, start_job, write_file, db_query, magento, wp, rollback and args exactly as you will pass them later; why is one plain sentence for the user. The answer says which steps need approval and gives one link for the user. After they approve, make each call exactly as written (an approved step runs once, within 2 hours); steps that need no approval just run. Nothing in a plan runs by itself, and a changed step needs a new approval.

Inputs: steps (required), title, server.

read_fileRead a fileB
Read-onlyIdempotent
Inspect

Read a file (up to 1 MB). Binary files come back base64. Read only the files the task needs; do not read or return payment card numbers, government ID numbers, health or biometric data, private keys or passwords from a file, and never ask the user for them.

Inputs: path (required), server.

redirects_applyWrite redirectsA
Destructive
Inspect

Write redirects (from a path, to a path or full address, code 301 or 302) into the site's redirect store: Magento url_rewrite, or the WordPress Redirection or Rank Math plugin. With dry_run left at true (the default) it only shows what would be written. On a site without a redirect store it returns the nginx and Apache lines to place with write_file instead. Every redirect is one path to one address; no patterns. Answers with a batch id for redirects_undo.

Inputs: changes (required), site, server, dry_run.

redirects_findFind gone pages that need a redirectA
Read-onlyIdempotent
Inspect

Find the paths of a site on the user's server that answer 404: from the crawler hits in its access logs (the last hours, default 168) and, when Search Console is connected, pages that had clicks in the last 90 days and are gone now. Each comes with its hits and a suggested target from the site's sitemap. Changes nothing.

Inputs: site, hours, server, min_hits.

redirects_historyRedirect batches writtenA
Read-onlyIdempotent
Inspect

The batches of redirects written on a site in the last 90 days, each with its redirects and whether it was undone. Changes nothing.

Inputs: site, server.

redirects_listList a site's redirectsA
Read-onlyIdempotent
Inspect

The custom redirects a site holds: Magento's url_rewrite table, or WordPress with the Redirection or Rank Math plugin. Changes nothing.

Inputs: site, server.

redirects_undoRemove a batch of redirectsA
Destructive
Inspect

Remove the redirects one redirects_apply batch wrote. batch is the id from redirects_apply or redirects_history.

Inputs: batch (required), site, server.

robots_checkCheck robots.txtA
Read-onlyIdempotent
Inspect

Fetch a site's robots.txt and test paths against it the way Google does (most specific user-agent group, longest rule wins, Allow wins a tie, * and $ wildcards), for Googlebot, Bingbot and AI crawlers (GPTBot, ClaudeBot, PerplexityBot, Google-Extended) or the user agents you pass. Also reports the sitemaps it declares and what a missing or failing robots.txt means.

Inputs: site (required), paths, user_agents.

rollbackRoll back to a snapshotA
Destructive
Inspect

Write a snapshot's files back (all of it, or only some paths). Saves the current state first, so a rollback can itself be undone. Files created after the snapshot are left alone; database dumps are not loaded (use run).

Inputs: id (required), why, paths, server, +1 more.

runRun a commandA
Destructive
Inspect

Run a shell command (bash -c) as the user the agent runs as: root for a root agent, otherwise the site owner. No terminal, no stdin. Returns exit code, stdout and stderr (long output keeps the first 16 KB and last 48 KB). Destructive commands need the user's approval.

Inputs: command (required), cwd, why, server, +2 more.

save_noteSave a noteA
Destructive
Inspect

Remember something for future chats about a server (or the whole account): what is special about it, how it is set up, what must not be touched, a decision the user made. overview shows the notes at the start of every chat, so keep each one short (up to 500 characters), factual and worth reading again; update an outdated note by passing its id as replaces instead of adding another. Never put a password, key or token in a note: say where it is kept instead.

Inputs: note (required), server, replaces.

seo_fields_applyChange SEO titles, descriptions and alt textsA
Destructive
Inspect

Set SEO titles, meta descriptions or image alt texts on a WordPress site or a Magento 2 shop, up to 30 fields a call, by the ids seo_fields_list gave. With dry_run left at true (the default) it only shows what would change; with dry_run false it writes them and answers with a batch id. The values it replaces are kept 90 days, and seo_fields_undo with that batch puts them back.

Inputs: changes (required), site, type, server, +1 more.

seo_fields_historySEO field change historyA
Read-onlyIdempotent
Inspect

The batches of SEO title, description and alt text changes made on a site in the last 90 days, with what each changed and whether it was undone. Changes nothing.

Inputs: site, server.

seo_fields_listList SEO titles, descriptions and alt textsA
Read-onlyIdempotent
Inspect

List the SEO titles, meta descriptions or image alt texts of a WordPress site (Yoast SEO, Rank Math, SEOPress or The SEO Framework) or a Magento 2 shop (products, categories, CMS pages and product images at the default store scope), with their current values. missing keeps only entries without that field. Changes nothing.

Inputs: site, type, limit, offset, +3 more.

seo_fields_undoUndo a batch of SEO field changesA
Destructive
Inspect

Put back the values a seo_fields_apply batch replaced (kept 90 days). batch is the id from seo_fields_apply or seo_fields_history.

Inputs: batch (required), site, server.

seo_historySEO history and alertsA
Read-onlyIdempotent
Inspect

What AskYourStack stored day by day for the user's sites, once they switched history on: Search Console clicks, impressions and position per day, Google Analytics sessions, organic sessions, key events and revenue per day (Pro and Agency), Core Web Vitals of real visitors, whether the pages bringing the most clicks are still in Google's index, and the SEO alerts that are open or closed in the last 30 days (clicks fell, a top page left the index, a vital turned poor). It covers only the days since history was switched on, and keeps them after they drop out of the 16 months Google keeps. Use it for trends and for "what changed and when"; use the gsc_ and ga4_ tools for detail by page or query.

Inputs: days, site, group.

serp_checkThe live Google results for a keywordA
Read-onlyIdempotent
Inspect

The live Google results for a keyword in a country (desktop or mobile): the top organic results with their position, domain, title and description, plus what else is on the page (AI overview, featured snippet, people also ask, shopping, video, local pack). Pass site to see where the user's site ranks and who is above it. One lookup from the plan's allowance; results are live, so do not call it repeatedly for the same keyword in one chat.

Inputs: keyword (required), site, depth, device, +2 more.

server_factsServer factsA
Read-onlyIdempotent
Inspect

Distro, kernel, CPU, memory, disk, package manager, running services, listening ports and any Magento or WordPress installs found. Call this first on a server.

Inputs: server.

site_auditCrawl and audit a whole siteAInspect

Crawl a whole site from the server it runs on, link by link from the start page as a search engine would (max_pages, default 500, up to 5000), and keep what every page answered: status, redirects, title, description, h1, canonical, noindex, word count, links, images without alt text, structured data, response time, clicks from the start page, and whether the sitemap lists it. It then names the issues: links to missing pages, server errors, redirect chains and links to redirects, missing or repeated titles and descriptions, the same text on several addresses, thin pages, slow pages, sitemap entries that redirect, fail or are noindex, pages only the sitemap knows, pages missing from the sitemap, pages robots.txt blocks. Pages are fetched straight from the server's own web server, so a CDN or firewall in front of the site does not block it, and only this site is fetched. It runs in the background and returns a job_id: call job_output until status is finished (the last lines are the summary), then site_audit_report for the pages behind each issue. Give site (see list_sites) or url, the address to start from. Addresses with parameters are sampled (50) unless query_urls says all or none.

Inputs: url, via, site, server, +3 more.

site_audit_reportRead a site auditA
Read-onlyIdempotent
Inspect

Read a site audit that site_audit made. Without more arguments: the summary of the latest run (pages by status and by clicks from the start page, every issue with its count, why it matters and three examples, and what changed since the run before). issue: the pages behind one issue with the detail for each (50 a call, continue with offset). page: everything known about one address, including which pages link to it. match (part of an address) or status (like 404 or 3xx): list pages. The server keeps the last 5 runs per site; run picks an earlier one.

Inputs: run, url, page, site, +6 more.

site_consoleRun a site's consoleA
Destructive
Inspect

Run a site's own command line tool as the site's owner, in the site's folder: bin/console for Shopware 6 and PrestaShop, artisan for Laravel, drush for Drupal, cli/joomla.php for Joomla, ghost (ghost-cli) for Ghost (list_sites shows each site's console; Magento 2 has the magento tool and WordPress the wp tool). Pass the command and its options as args, like ["cache:clear"] or ["plugin:list", "--json"]. For a site in a Docker container it runs inside the container. Listing and status commands run straight away; uninstalling or deleting, anything that drops or resets the database, generating new keys, an admin login link and commands that run arbitrary PHP (tinker, php:eval) need approval. Symfony's console and artisan are run with --no-interaction; drush asks nothing only when you pass -y. Set background true for slow commands.

Inputs: args (required), why, site, server, +2 more.

sitemap_checkCheck sitemapsA
Read-onlyIdempotent
Inspect

Find and audit a site's XML sitemaps (from robots.txt, or /sitemap.xml; sitemap indexes and .gz followed, up to 60 files): status, URL counts, the 50,000-URL and 50 MB limits, URLs on other hosts, lastmod coverage, and a random sample of URLs fetched as Googlebot that should answer 200, not redirect, not be noindex and be their own canonical. contains checks whether given URLs are in the sitemaps.

Inputs: site, sample, sitemap, contains.

snapshotTake a snapshotAInspect

Save folders (and optionally MySQL/MariaDB databases, dumped with mysqldump) on the server so they can be restored with rollback. Refuses when it would use more than half the free disk. /etc is also saved automatically before changes, at most every 30 minutes.

Inputs: label, paths, server, databases.

start_jobStart a background jobA
Destructive
Inspect

Start a long command (installs, composer, compiles, imports, backups) in the background as the user the agent runs as, in its own systemd unit, so it keeps running after this call returns and through agent updates. Returns a job_id; read progress with job_output. Destructive commands need the user's approval, like run.

Inputs: command (required), cwd, why, name, +2 more.

stop_jobStop a background jobB
Destructive
Inspect

Stop a running background job and everything it started.

Inputs: job_id (required), server.

transferCopy a folder between serversA
Destructive
Inspect

Copy a folder from one of the user's servers to another, directly between them, for migrations (rsync over SSH with a temporary key that only allows reading that folder; nothing goes through AskYourStack). Needs rsync on both servers and the source's SSH port reachable from the target. Runs on the target as a background job and returns a job_id: follow it with job_output on the target. Call it again with the same arguments for a quick catch-up copy of what changed (the link stays open 24 hours), and call transfer_close when the migration is done. mirror also deletes files in the target folder that are not on the source (needs approval). Use excludes for caches, like var/cache, var/page_cache, generated.

Inputs: to (required), from (required), path (required), why, +4 more.

transfer_closeClose copy linksA
Destructive
Inspect

Close the copy links between servers (removes the temporary keys). Call it when a migration is done. Without from/to, closes every open link.

Inputs: to, from.

umami_journeysPaths visitors take, from UmamiA
Read-onlyIdempotent
Inspect

The paths visitors take through a website, from Umami: the most common sequences of pages (and custom events in [brackets], such as [sign_up] or [outbound_link]) from where a visit starts to where it ends, with how many visits took each. Pass start_page to see where people go from a page (for example from /pricing), or end_page to see how they reach one (for example /signup). Also lists the entry and exit pages and, when the site sends outbound_link events, where people left to. Use it to find where visitors drop off and which paths lead to a signup.

Inputs: days, limit, steps, filters, +5 more.

umami_overviewUmami traffic overviewA
Read-onlyIdempotent
Inspect

Traffic at a glance from Umami for one website: visitors, visits, page views, bounce rate, average visit time and views per visit against the period before, the daily (or monthly) trend, and the top pages, entry pages (where visits start), exit pages (where they end), referrers, channels, countries, devices and custom events (signups, outbound_link clicks and the like), plus visitors on the site right now. Start here when the user asks how a site with Umami is doing or how many people really visited.

Inputs: days, limit, website, end_date, +1 more.

umami_realtimeUmami right nowA
Read-onlyIdempotent
Inspect

Who is on a website right now according to Umami: active visitors, and for the last 30 minutes the pages, referrers, countries and the latest events. Use it to check that tracking works after a change or to watch a launch.

Inputs: website.

umami_reportUmami breakdown reportA
Read-onlyIdempotent
Inspect

Any Umami breakdown for one website: by path, entry, exit, title, query, referrer, channel, domain, hostname, country, region, city, device, browser, os, language, screen, event, tag, utmSource, utmMedium, utmCampaign, utmContent, utmTerm; with filters (all must match) such as {"path": "/pricing"}, {"country": "PT"}, {"event": "sign_up"}, {"utmSource": "newsletter"}, {"referrer": "google.com"}. Also returns the totals under the same filters, and with daily: true the day-by-day visits and views under them. Examples: where signups came from = type referrer or channel with filters {"event": "sign_up"}; which pages people land on from Google = type entry with filters {"referrer": "google.com"}.

Inputs: days, type, daily, limit, +4 more.

umami_websitesUmami websitesA
Read-onlyIdempotent
Inspect

The websites in the user's Umami analytics (self-hosted or Umami Cloud), with their ids and domains. Start here before the other umami_ tools. Changes nothing.

Inputs: no named parameters.

upload_filesUpload images from the chatAInspect

Open a card in the chat where the user picks or drops images from their computer; they go straight to a folder on the user's server, without passing through the conversation (no base64 in tokens), and the paths come back as a message from the user. Use it when the user has images they have not attached, or many of them; for one image already attached to the chat, write_file with file does the same. Say in one sentence that the card is open and wait. JPEG, PNG, GIF, WebP or AVIF, 15 MB each, up to 20 at a time; names are made lower case and safe, and a file with the same name is replaced (the earlier version is kept under /var/lib/askyourstack/backups). Changes must be open on the server, like for write_file; the card is valid for 30 minutes. Afterwards use the paths, for example in a CMS block or a product, with the tools for that site.

Inputs: folder (required), server.

validate_schemaValidate structured dataA
Read-onlyIdempotent
Inspect

Check a page's structured data (JSON-LD and microdata, @graph and @id references followed). Reports two things apart: schema.org validity (real types, real property names on the right type, with "did you mean" for typos) and Google rich-result eligibility (required and recommended fields for Product, Offer, Review, Breadcrumb, Article, FAQ, Recipe, Event, Video, JobPosting, LocalBusiness, Organization and more). Pass url to fetch the live page as the server sends it (no JavaScript rendering), or html with markup you are about to publish or fetched on the user's server (staging sites).

Inputs: url, html.

wait_for_approvalWait for the user to approveA
Read-onlyIdempotent
Inspect

Wait for the user to decide, so they do not have to come back to the chat and tell you. Right after you give the user an approval link (approval_id), a plan link (plan_id), the link to open changes on a server (server) or a setup link while nothing is connected yet (setup), write that link in your reply and then call this in the same turn: it returns as soon as they approve, deny or open changes, and says what to do next. It waits about 50 seconds at a time; if it answers that they have not decided yet, call it again, and after about 10 minutes of waiting stop and ask the user to tell you when they have.

Inputs: setup, server, plan_id, approval_id.

whizzy_callRun a WhizzyCommerce shop capabilityA
Destructive
Inspect

Run one capability of a connected WhizzyCommerce shop, by the name whizzy_tools gave, with its arguments. Reads answer straight away. Most changes are not made by this call: WhizzyCommerce answers with a preview of what would change and a link; give the user that link and stop; they confirm it in their own WhizzyCommerce dashboard, and only then does it happen. Afterwards the shop's changes_status capability, with the change_id from the answer, says whether it was confirmed, declined or expired. Use the shop's propose_plan capability to put several changes in one confirmation. Exceptions: set_theme_tokens and set_theme_settings (colours, fonts, theme settings) apply to the live shop at once, with an Undo in the shop's change log, so ask the user first; page layouts and own themes are drafts the merchant publishes.

Inputs: tool (required), site, arguments.

whizzy_toolsWhat a WhizzyCommerce shop offersA
Read-onlyIdempotent
Inspect

For a connected WhizzyCommerce shop (see connected_sites): what the shop lets an AI do right now, as its own list of capabilities with their arguments: orders and shipping, products, categories and imports, prices, sales, coupons and gift cards, customers, languages and translations, menu, redirects and SEO, delivery, tax, currencies, policies and other settings, routines, reports, and design (page sections, colours and fonts, themes of the merchant's own). By default everything is open; the merchant can narrow it in their WhizzyCommerce dashboard under Agents. Pass search to narrow the list or, with a capability's exact name, to read it in full.

Inputs: site, search.

wpRun wp-cliA
Destructive
Inspect

Run wp-cli as the site's owner with --path set, like args ["plugin", "list"]. Listing and checksum commands run straight away; deleting plugins or users, db reset/import, search-replace without --dry-run and eval need approval. Set background true for slow commands.

Inputs: args (required), why, site, server, +2 more.

write_fileWrite a fileA
Destructive
Inspect

Create or replace a file. Keeps owner and mode of an existing file and saves its previous version under /var/lib/askyourstack/backups. Parent folders are created. Give the text as content, or a file from this conversation (an image generated here or one the user attached, up to 15 MB) as file, for example a picture into a shop's pub/media or wp-content/uploads folder; make it readable by the web server's user afterwards if the folder needs that.

Inputs: path (required), why, file, mode, +4 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Servers

    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources