Skip to main content
Glama

Honeyfield Marketing MCP

OpenAI Ads (Beta): Search locations

openai_ads_search_locations
Read-only

BETA — Standorte für das OpenAI-Ads-Targeting suchen (Länder, Regionen, Märkte, Postleitzahlen). Rückgabe je Treffer id (für openai_ads_create_campaign location_ids), type, name, canonical_name, country_code. query: z. B. 'Austria', 'Salzburg', 'Wien'. limit: max. 50. workspace: Slug des Kunden-Workspace (optional bei nur einem Workspace).

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

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
workspaceNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered; the description adds that this is BETA, that query is a free-text name match, and that results are namespaced by workspace. The response field list is somewhat redundant with the output schema, which keeps it from the top score.

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

Conciseness4/5

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

Purpose is front-loaded and every clause carries information; the param-by-param notation is scannable. It is a dense single block with heavy parenthetical nesting, which slightly hurts parsing but nothing is wasted.

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?

With an output schema and annotations already present, the remaining unknowns were query syntax, limit bounds, workspace necessity, and what the returned id is used for — all four are addressed. An agent can call this correctly without consulting anything else.

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 0%, so the description must carry the parameter burden and largely does: query gets concrete example values ('Austria', 'Salzburg', 'Wien'), limit gets a hard ceiling of 50, and workspace gets the 'optional when only one workspace' rule. It omits the default limit of 10, which the agent would need to know when size-selecting results.

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?

The description names a specific verb and resource ("Standorte ... suchen") plus the domain (OpenAI-Ads-Targeting) and the exact entity types searched (countries, regions, markets, postal codes). It is clearly distinguishable from the surrounding openai_ads_* siblings, which are all create/list/update operations rather than entity lookup.

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?

It ties the result to a downstream action ("id (für openai_ads_create_campaign location_ids)"), which tells an agent exactly when this tool is the right pre-step. It stops short of stating exclusions or naming an alternative lookup tool, so no explicit 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.

Resources