Skip to main content
Glama

Search Targeting Geolocations

meta_search_targeting_geolocations
Read-onlyIdempotent

Search for geographic targeting locations (countries, regions, cities, zip codes) to obtain keys for ad set targeting.

Instructions

Searches for geographic targeting options (countries, regions, cities, zip codes).

Args:

  • q (string): Location search query (e.g., "New York", "United Kingdom")

  • type (string): Location type — country, region, city, zip, geo_market, electoral_district

  • limit (number): Max results (default 25)

Returns: Location keys to use in ad set targeting.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qYes
typeNocity
limitNo
response_formatNoOutput format: 'markdown' for human-readable or 'json' for machine-readablemarkdown
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, so the description does not need to reiterate safety. It adds behavioral context by stating it returns 'Location keys to use in ad set targeting', clarifying the read-only, non-destructive nature. No contradictions with annotations.

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?

Very concise; uses a single sentence for purpose and bullet-style Args/Returns. Every sentence is informative without redundancy. Front-loaded with the primary action.

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?

Given the 4 parameters and no output schema, the description sufficiently explains the return value conceptually ('Location keys to use in ad set targeting'). It covers the required parameter and two optional ones. Could mention response_format behavior but schema handles that.

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 description coverage is low (25%), but the description compensates by explaining the purpose of 'q' with examples, enumerating values for 'type', and specifying default and max for 'limit'. The undocumented 'response_format' parameter has its description in the schema, so coverage is adequate.

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?

Clearly states it searches for geographic targeting options, listing examples of location types (countries, regions, cities, zip codes). Distinguishes from sibling tools like meta_search_targeting_demographics and meta_search_targeting_interests by specifying 'geographic'.

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?

The description implies usage for geographic targeting in ad sets, but does not explicitly state when to use this tool versus similar search tools (e.g., for demographics or interests). It provides the return value context but lacks explicit guidance on alternatives or exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/oliverames/meta-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server