Skip to main content
Glama

Search targeting

meta_search_targeting
Read-onlyIdempotent

Meta targeting search; returns ids and names for targeting. interests; interest_suggestions (related to interest_list); behaviors (omit query to list all); demographics (type is a category class, not a targeting field); locations (country, region, city and postal-code keys for geo_locations); pages (Pages an account can advertise for, by name).

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": {
      "kind": "<kind>"
    },
    "name": "meta_search_targeting"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
typeNoOnly demographicsdemographics
limitNoDefault 100 (pages 25, max 100)
queryNoRequired for locations and pages
localeNoOnly interests
account_idNoRequired for pages. e.g. act_1234567890
country_codeNoOnly locations
interest_listNoRequired for interest_suggestions
location_typesNoOnly locations

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds genuine context beyond that: the return shape (ids and names) and the quirk that omitting query on behaviors lists everything. Pagination and total result size remain undisclosed.

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?

Front-loaded with purpose and return value, then a compact per-kind list with no filler. The telegraphic sentence fragments are dense but readable, though the semicolon-separated chain takes effort to parse for a 9-parameter tool.

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?

For a 9-parameter read-only search with no output schema, the description covers the return shape and the important per-kind quirks an agent needs to call it correctly. Missing only result-size or pagination behavior, which is a minor gap.

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 89%, so the baseline is 3, but the description earns more by clarifying that type selects a category class rather than a targeting field and by explaining that interest_suggestions is derived from interest_list. The locational hint about country/region/city/postal-code keys for geo_locations adds usage-level meaning the schema does not convey.

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?

States a specific verb and resource ("Meta targeting search") and says it returns ids and names, then enumerates the six kinds it can search so an agent knows the scope. It does not, however, distinguish this from audience-related siblings such as meta_estimate_audience or meta_audience.

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?

Offers per-kind operational hints ("omit query to list all" for behaviors, "type is a category class, not a targeting field" for demographics, interest_suggestions tied to interest_list) which imply when each kind applies. There is no explicit statement of when to prefer this tool over alternatives or any exclusion 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.