Skip to main content
Glama

Get local SERP results

get_local_serp_results

Fetches one Google Maps or Local Finder SERP near a coordinate. Returns trimmed provider rows (identity, rank, rating, categories, hours) with rank fields intact; callers decide how to match a target business. Charges credits (~2 typical).

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>",
      "near": "<near>"
    },
    "name": "get_local_serp_results"
  }
}

Input Schema

NameRequiredDescriptionDefault
nearYesCoordinate (and optional map zoom) the SERP is fetched from.
depthNoNumber of results to fetch (1-100). Defaults to 20.
deviceNoDevice the SERP is rendered for. Defaults to mobile, matching get_local_rank_grid.
keywordYesSearch query to run on Google Maps or Local Finder.
projectIdYesRequired. The FastestRank project ID to scope this call to. Get one from list_projects.
searchTypeNoWhich local SERP to fetch. Defaults to maps.
languageCodeNoLanguage code (e.g. 'en', 'es', 'vi'). Defaults to the project's default market language (see list_projects).

Output Schema

NameRequiredDescriptionDefault
metaNo
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only flag readOnlyHint=false and destructiveHint=false, so the credit-cost disclosure ('Charges credits (~2 typical)') is real added value an agent cannot get from structured fields, and the return-trimming behavior ('trimmed provider rows ... with rank fields intact') sets expectations about data granularity. It does not explain failure modes (e.g., no results at a coordinate) or what the non-read-only aspect of the call means, keeping it below a 5.

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 short clauses, front-loaded with the verb and resource, then return shape, then cost. Nothing is redundant with the schema and every sentence carries distinct information.

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

Completeness4/5

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

With an output schema present, the description need not detail return values, and it still summarizes them; all parameters are schema-documented, and the credit cost is disclosed. The only gap is routing guidance among the several SERP-related siblings, which is the main thing an agent must infer.

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

Parameters3/5

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

Schema description coverage is 100% and all seven parameters, including the nested coordinate object and both enums, are documented in the schema with defaults and ranges. The description adds only the framing that the coordinate anchors a single SERP and that device defaults match get_local_rank_grid; it does not add format or constraint meaning beyond the schema, so the baseline 3 applies.

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

Purpose4/5

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

States a specific verb and resource: 'Fetches one Google Maps or Local Finder SERP near a coordinate.' The word 'one' plus 'near a coordinate' distinguishes this single-point SERP fetch from a grid-style sibling, and the enumeration of returned fields (identity, rank, rating, categories, hours) tells an agent what it gets back. It does not name a sibling to route away from, so it falls short of a 5.

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

Usage Guidelines3/5

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

Usage is only implied: 'callers decide how to match a target business' signals this is a raw-data fetch rather than a matched/ranked report, and the device default note ('matching get_local_rank_grid') hints at consistency with that sibling. There is no explicit statement of when to choose this over get_serp_results, get_local_rank_grid, or search_local_businesses, and no when-not guidance.

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.