Skip to main content
Glama
meta-ads-mcp

meta-ads-mcp

by 1nc0gn30

meta_search_targeting

Read-only

Search Meta's targeting taxonomy to find interests, geolocations, job titles, employers, or locales for ad audience setup.

Instructions

Search Meta's targeting taxonomy for interests, geos, job titles, employers, or locales.

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": "meta_search_targeting"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoadinterest
limitNo
queryYes
location_typesNoUsed when type=adgeolocation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety and external-reach behavior are covered structurally. The description adds that results come from Meta's own taxonomy (as opposed to a local list, e.g. meta_list_custom_audiences), but says nothing about what the results contain (IDs vs labels), result volume, or how the default limit of 20 constrains output.

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?

One sentence, front-loaded with the verb and resource, with no filler. Every element of the sentence carries information about scope.

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

Completeness3/5

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

For a simple read-only, four-parameter lookup with no output schema, the description covers purpose but not the essentials an agent needs to call it well: the required query semantics, how type maps to the enumerated taxonomies, and the fact that results are IDs intended for downstream targeting specs. Adequate but with clear gaps.

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 only 25% – just location_types is documented – so the description carries real weight here. It does partially compensate by listing the taxonomies that map onto the `type` enum (interests, geos, job titles, employers, locales), but it never explains that `query` is the required search term, what `limit` does, or how the enumerated phrases correspond to adinterest / adworkemployer / adlocale values.

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?

The description gives a specific verb ('Search') and resource ('Meta's targeting taxonomy') and enumerates the entity families covered (interests, geos, job titles, employers, locales), which cleanly separates it from the CRUD siblings like meta_create_adset or meta_get_insights. It does not explicitly name a sibling it replaces, but the lookup nature of the tool is unmistakable.

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: an agent can infer this is the discovery step that supplies targeting IDs before building an ad set, but the description never says so, nor does it state when to use a different tool. No prerequisites or exclusion conditions are given.

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