property-setup
Property Setup
Take a property from "not in GSC Wizard" (or half configured) to ready for the analysis skills, and hand back a checklist of what was done and what still needs the user. The user's request may contain the property (a GSC site URL or a recognizable site name), a client name to use as a tag, brand terms, sitemap URLs, folder paths to create as separate properties, filter presets to save, or a request to remove a property; honor what is given and ask for the rest only when a step needs it.
Workflow
-
Check the account first. Call
get_account_info(no arguments) and read:googleAccounts(email,scopes,isPrimary): an empty list withemptyBecausemeans no Google account is connected, so send the user to tool.gscwizard.com/account unless they only use properties shared with them.subscription(plan,status,currentPeriodEnd,cancelAtPeriodEnd) andaccess.level:paidmeans the property tools will run. Apayment_requiredrefusal on this first call means there is no running trial or active paid plan (the free tier serves only the GSC Wizard mobile app, so from an MCP client every tool refuses): tell the user to start or renew a plan at tool.gscwizard.com/settings/subscription, mark every step as blocked, and stop.unknown, or awarningsaying a read failed, means retry before acting on those fields.apiKey.scope:readmeans every write below needs write access, so report those steps as "needs write access" instead of attempting them.
-
Inventory what is registered. Call
list_sites(no arguments) and show a compact table ofsiteUrl,tags,permissionLevel,readable,activated,gscScopeand, on shared rows,sharedByandaccessLevel. Read the flags like this:Flag Meaning What to do readable: falseListed in Search Console but not verified ( permissionLevelissiteUnverifiedUser); Google refuses every data requestThe user verifies it at search.google.com/search-console; no tool here can fix it activated: falseRegistered but hidden from the dashboard and not synced; every other property-scoped tool refuses it Show it in step 5 gscScope: "readonly"The Google connection behind it has read-only Search Console access; Google refuses submit_sitemapandcreate_gsc_propertyThe user reconnects that Google account with full access in the app sharedBypresentSomeone else's property; accessLevelREAD_ONLYrefuses every write in this skill,FULLallowsupdate_siteand presetsOnly the owner can delete it or create properties under it