Skip to content

tool · recipes

Local visibility tool reference

Recipe for local businesses: map-pack geo-grid (any size from 3×3 to 21×21) for up to 5 keywords, share of local voice against competitors, competitors' categories, optional AI answers at each grid point, and name/address/phone consistency. The result lists the next steps, with estimated credits.

01 · overview

What it does

Recipe for local businesses: map-pack geo-grid (any size from 3×3 to 21×21) for up to 5 keywords, share of local voice against competitors, competitors' categories, optional AI answers at each grid point, and name/address/phone consistency. The result lists the next steps, with estimated credits.

MCP tool name
`local_visibility`
Title
Local visibility
Cost
paid, quoted first
Behaviour
read-only, not destructive, each call is a new run, reaches the web or data vendors

02 · inputs

Inputs

FieldTypeRequiredWhat it is
business.namestringyesThe business to find in the map results.
business.place_idstringnoIts Google place id, if known (or cid, address, phone).
keywords1 to 5 search termsyesWhat customers type, for example "dentist".
center{ lat, lng }noGrid centre. Without it, the business location is looked up.
grid_sizeinteger, 3 to 21, default 5noPoints per side; the grid has grid_size squared points.
spacing_kmnumber, 0.1 to 10, default 1noDistance between points.
timing"standard" | "priority" | "live", default "standard"noMap grid speed: standard queue, priority queue or live.
ai_engineslist of "chatgpt" | "gemini" | "ai_overviews" | "ai_mode" | "perplexity_api" | "copilot_search" | "claude_api"noOptional: also ask these AI engines at each point.
ai_timing"scheduled" | "now", default "scheduled"noSpeed of the AI answers at each point.
ai_promptstring, up to 300 charactersnoThe question asked at each point.
nap_checkboolean, default truenoCheck name, address and phone consistency.

Fields every paid call accepts

FieldWhat it does
project_idThe project the call belongs to (UUID).
quote_onlytrue prices the call for 0 credits and returns a quote_id instead of running it.
quote_idRun exactly a quote you got before; the arguments must match.
max_creditsRefuse the call if its price is above this.
detail"summary" (default) or "full".
idempotency_keyUp to 64 characters; a retry with the same key never charges twice.

The full JSON schema is in the MCP tools/list response of https://mcp.serprankai.com/mcp and in the OpenAPI document.

03 · output

What it returns

Your rank at every grid point per keyword, share of local voice against the competitors found, their categories, optional AI answers per point, and the name/address/phone findings.

Every result comes in the same envelope: status, a short summary, the data, provenance (source, method, time observed), confidence, coverage, changes since the last run and suggested next calls. Calls slower than about 45 seconds return a job_id to check with the job tool.

04 · price

Price

Map grid: points times keywords at the chosen speed. Local AI grid: points times keywords times engines. Plus the name/address/phone check and, without a centre, the business-location lookup.

From price list version 3, in effect from 2026-11-22. 1 credit = $0.01.
Price itemPriceSize limits
Map grid, standard queue (per pin per keyword)$0.005 (0.50 credits) per pin per keyword9 to 441 pins, 1 to 5 keywords
Map grid, priority queue (per pin per keyword)$0.005 (0.50 credits) per pin per keyword9 to 441 pins, 1 to 5 keywords
Map grid, live (per pin per keyword)$0.008 (0.80 credits) per pin per keyword9 to 441 pins, 1 to 5 keywords
Local AI grid, scheduled (per pin per engine)$0.0035 (0.35 credits) per pin per keyword per engine9 to 441 pins, 1 to 5 keywords, 1 to 7 engines
Local AI grid, instant (per pin per engine)$0.01 (1.00 credits) per pin per keyword per engine9 to 441 pins, 1 to 5 keywords, 1 to 7 engines
Map centre lookup, business profile$0.02 (2.00 credits) per requestnone
NAP / listing check (per business)$0.02 (2.00 credits) per business1 to 50 businesses

The exact price of a call comes from a quote: send the same arguments with quote_only: true (0 credits). The charge is never more than the quote, and a failed check costs 0 credits.

05 · example

Example call

First price it (quote_only: true, 0 credits), then repeat the call with the quote_id that comes back.

tools/call
{
  "name": "local_visibility",
  "arguments": {
    "business": {
      "name": "Example Dental"
    },
    "keywords": [
      "dentist"
    ],
    "grid_size": 7,
    "spacing_km": 1,
    "quote_only": true
  }
}

06 · errors

Errors and what to do

CodeMeaningWhat to do next
invalid_argumentAn argument is missing, has the wrong type or is out of range. data.error.detail.field names it.Fix the named argument and call again. Nothing was charged.
insufficient_creditsThe wallet does not hold enough credits for this call.Tell the user how many credits are needed and that they can top up in the dashboard, or make the call smaller.
cap_reachedA spending limit the account owner set (day, week, conversation or client budget) is used up.Tell the user which limit was reached. Only the owner can raise it, in the dashboard wallet; otherwise wait for the next period.
over_max_creditsThe price is above the max_credits you passed.Raise max_credits if the user agrees with the price, or make the call smaller.
quote_expiredThe quote_id is older than its 30-minute validity.Quote again (quote_only: true) and run with the new quote_id.
quote_mismatchThe quote_id was already used, or the arguments differ from the quoted ones.Repeat the call with exactly the quoted arguments, or quote again.
vendor_unavailableA data source did not answer. Nothing was charged.Wait a minute and call again. If detail.retryable is false, try later or a smaller call.
rate_limitedToo many calls in a short time from this account or connection.Wait for the Retry-After seconds, then call again.
internal_errorSomething failed on our side. Any hold was released, so nothing was charged.Call again once. If it fails again, tell the user and include result_id.