Skip to main content
Glama

Search SERP locations

search_serp_locations
Read-onlyIdempotent

Find the exact location name of a city, county, or region. Returns up to 50 matches; pass the chosen locationName verbatim to create_rank_tracker for local rank tracking, or to research_keywords for local search volume. 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.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds two facts annotations cannot express: the result is capped at 50 matches, and the call consumes no credits — both directly affect whether an agent should call it freely. It omits pagination/truncation behavior, which is a minor gap given an output schema exists.

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?

Two sentences, zero filler, front-loaded with the purpose and followed by the concrete downstream handoff. Every clause carries information the agent needs.

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 with full schema descriptions, annotations, and an output schema, this covers everything an agent needs: what it returns, how many, what it costs, and what to do with the result. Nothing material is left to inference.

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 coverage is 100% and both parameters carry their own descriptions and examples, so the baseline is 3. The description adds only indirect guidance — that the goal is an exact location name — without clarifying query formatting beyond what the schema already says; the "verbatim" instruction applies to a return field, not an input.

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 location name of a city, county, or region." It also scopes the output (up to 50 matches) and names the two downstream tools it feeds, so an agent can place it precisely among siblings like create_rank_tracker and research_keywords.

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 usage context: call this to resolve a place name, then pass the chosen `locationName` verbatim to create_rank_tracker or research_keywords. It does not state when-not to use it or name any competing lookup path, but for a resolver tool the forward guidance is concrete and actionable.

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.

Resources