Skip to main content
Glama

Search SERP locations

search_serp_locations
Read-only

Find the exact DataForSEO location name for local rank tracking. Requires both query (a place name) and countryCode (two-letter ISO, e.g. "us"); the country scopes which location list is searched. Returns up to 10 matches; pass the chosen locationName verbatim to create_rank_tracker. Uses no credits.

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": {
      "query": "<query>",
      "countryCode": "<countryCode>"
    },
    "name": "search_serp_locations"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesPlace name, e.g. "Catonsville" or "Portland OR".
countryCodeYesTwo-letter ISO country code, e.g. "us".

Output Schema

NameRequiredDescriptionDefault
metaNo
locationsYes

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?

Annotations already declare readOnlyHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavior: 'Uses no credits' (cost) and 'Returns up to 10 matches' (result cap), neither derivable from annotations. It doesn't describe zero-match behavior, which keeps 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 tight sentences, front-loaded with the purpose, then requirements, then the downstream hand-off. No filler and no repetition of the title.

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 two-parameter lookup tool with a full schema and an output schema, the description covers everything an agent needs: what it returns (up to 10 matches), what it costs (no credits), and what to do with the result. No meaningful gap remains.

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, but the description earns above baseline by explaining that `countryCode` scopes which location list is searched and that `locationName` must be passed verbatim downstream. That adds meaning beyond the field-level schema text.

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 ('Find the exact DataForSEO location name') and ties it to a concrete purpose ('for local rank tracking'), which cleanly separates it from sibling result-fetching tools like get_serp_results or get_local_serp_results.

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?

Gives clear when-to-use context: call this before create_rank_tracker, then pass the chosen `locationName` verbatim. It also states both parameters are required. It stops short of naming a when-not-to-use condition or an alternative for non-location lookups, so it is a 4 rather than a 5.

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.