MCP recipes
Four ready-to-paste agent workflows: a client report, a prospect pitch from scratch, an instant rank check, and keeping watch on a competitor.
Updated
These are working patterns for a connected agent. Paste the request, adapt the details in brackets, and the agent walks the numbered flow. Anything shown in code is a GeckoGrid MCP tool the agent calls on your machine. For long waits, get_scan and report_get accept wait_seconds (up to 120) so the agent waits on a result instead of polling you for updates.
Weekly client report
What you say:
Build this week’s client report for [project]. Pull the period summary and keyword history, export before and after maps for the keywords that moved most, and assemble it in my branding as a PDF.
What the agent does:
- Finds the project with
get_projects(kind: "client"). - Pulls the period in one call with
get_project_period_summary, passing the week’sfromandtodates (the default period is the last 30 days). Each keyword comes back with its baseline scan, latest scan, the change, and competitor movement. - Pulls
get_keyword_historyfor trend lines, using the included metric definitions so the two average ranks are never mixed up. - Exports the baseline and latest heatmaps with
export_scan_image, one image at a time, and looks at each one before describing it. - Optionally adds profile and website health with
client_audit_create, waiting viareport_get(id, wait_seconds: 120). - Assembles the report in the branding you agreed once, and writes the PDF itself. GeckoGrid supplies the data; your agent builds the client report.
Prospect pipeline
What you say:
Create a prospect report for [business], [address or Google Maps link], keyword [keyword]. Scan it once, build the scored report with email and DM outreach, and export the leave-behind.
What the agent does:
- Resolves the location with
geocode_address, which also accepts a Google Maps link and returns the place name. - Creates the project with
create_projectusingkind: "prospect", so it lands on the Prospects tab, away from your clients. - Checks the daily advisory count with
get_daily_scan_info, starts the scan withstart_scan, and waits withget_scan(scan_id, wait_seconds: 120). - Matches the business in the scan results with
get_scan_resultsto get itsplace_id, asking you if the name does not match exactly. - Creates the report with
report_create(scan_id, place_id)and waits for collection withreport_get(id, wait_seconds: 120). Collection runs on a serial queue and takes a minute or two. - Reads the report, looks at the screenshots and grid images from
report_get_assets, then writes the headline, summary, design critique, fix plan, and outreach copy withreport_set_section. Optional extras:report_run_marketfor search volume (it bills your DataForSEO account, once per report) andreport_set_extrasfor money figures you supplied. - Exports the leave-behind with
report_render(mode: "leave_behind"). The leave-behind always renders in the dark theme;theme: "light"is only accepted withmode: "full", so use the full render when the prospect will print it.
Instant rank check
What you say:
Scan [keyword] for [project] once and export the heatmap at close zoom to my Downloads folder.
What the agent does:
- Checks today’s advisory scan count with
get_daily_scan_info. - Starts the scan with
start_scanand waits on it withget_scan(scan_id, wait_seconds: 120), repeating if the scan outlasts the wait. - Exports the heatmap with
export_scan_image(scan_id, zoom: "close"). With no output path the PNG lands in Downloads, named after the business and keyword.
If there is no project yet, the agent first geocodes the address with geocode_address and creates the project with create_project.
Watch a competitor
What you say:
Who is beating [project] on [keyword]? Show me the leaderboard, the trend over recent scans, and export that competitor’s grid.
What the agent does:
- Finds the latest completed scan for the keyword with
get_project_scans, newest first, or starts a fresh one withstart_scan. - Pulls the leaderboard with
get_scan_competitors: every business on the grid with presence, average, best and worst rank, ratings, reviews, and a top-3 benchmark against your business. - Pulls
get_competitor_trends(project_id, keyword)for the same competitors across up to 20 recent scans, oldest to newest, to show who is gaining ground. - Exports the competitor’s own heatmap with
export_scan_image(scan_id, place_id), which renders that business’s grid from the same scan. - On an ongoing basis, scheduled or on-demand rescans extend the trend. If you pitched that competitor as a prospect,
report_comparelines up two of its reports, before and after, with the movement called out.
The prospect pipeline skill (prospect-pipeline) covers the full pitch flow, and the client report skill (client-report) covers reporting to a paying client. See MCP analyst skills for when the agent loads each one.
Was this helpful?
