Skip to main content
Glama

Get local rank grid

get_local_rank_grid

Runs one Google Maps search per point of a square grid around a coordinate and reports where the target business ranks at each point — plus each point's result count and #1 business — revealing how far its Maps visibility reaches. Cost scales with the grid: gridSize squared SERP calls (3x3 = 9, the sensible default; 5x5 = 25). Charges credits per grid point.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "projectId": "<projectId>",
      "keyword": "<keyword>",
      "target": "<target>",
      "center": "<center>"
    },
    "name": "get_local_rank_grid"
  }
}

Input Schema

NameRequiredDescriptionDefault
zoomNoMap zoom every point is searched at. Defaults to a zoom derived from spacingKm and latitude so each point's viewport spans the grid spacing; override only when you need a specific viewport.
centerYesCoordinate the grid is centered on (usually the storefront).
deviceNoDevice the SERP is rendered for. Defaults to mobile.
targetYesThe business to locate in each result set. Supply at least one of cid, placeId, or name.
keywordYesSearch query to run on Google Maps at every grid point.
gridSizeNoGrid width: 3 (9 searches) or 5 (25 searches). Defaults to 3.
projectIdYesRequired. The FastestRank project ID to scope this call to. Get one from list_projects.
spacingKmNoDistance between neighbouring grid points, in km. Defaults to 2.
languageCodeNoLanguage code (e.g. 'en', 'es', 'vi'). Defaults to the project's default market language (see list_projects).

Output Schema

NameRequiredDescriptionDefault
gridYes
metaNo
summaryYes
matchedBusinessYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With destructiveHint=false and readOnlyHint=false, the key thing an agent needs to know is that this is a non-destructive call that spends credits — and the description says so twice, including the exact scaling rule (gridSize squared SERP calls). Credit cost per point and the 3x3/5x5 cost examples go meaningfully beyond the annotations, though the actual credit amount per point is left unstated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three front-loaded sentences — what it does, what it returns, what it costs — with the cost model stated before the operational detail. The closing 'Charges credits per grid point' slightly restates the earlier cost sentence but is short enough not to be waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter tool with nested objects and an output schema, the description covers purpose, return shape in broad terms, cost model, defaults, and the distinction between grid samples. Return-value formatting is correctly left to the output schema, so nothing an agent needs is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3 and the schema already explains zoom, center, target matching strategy, and languageCode defaults. The description still adds value by tying gridSize to real-world cost (squared SERP calls) and crediting the default choice, which the schema alone does not convey.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Runs one Google Maps search per point of a square grid around a coordinate') and names exactly what is reported at each point — target rank, result count, and #1 business. The grid-sampling framing distinguishes it from single-SERP siblings without needing to name them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'revealing how far its Maps visibility reaches' clause makes the intended use case clear, and '3x3 = 9, the sensible default' gives explicit guidance on which grid size to pick with the cost tradeoff attached. It stops short of naming when to prefer a cheaper single-location lookup instead, so no explicit exclusion is given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.