Skip to main content
Glama

Google Ads & Meta Ads

Meta: Get Ad Set

meta_get_adset
Read-onlyIdempotent

Read one ad set of the user's connected Meta ad account in full: its complete targeting (locations, ages, genders, interests, custom and lookalike audiences, exclusions, placements), promoted_object (pixel and conversion event, page or app), optimization goal, billing event, bid strategy and bid, budgets, schedule and attribution window. Use meta_list_campaigns to find the ad set id. Read-only. Budgets and bids come back as Meta sends them: integer strings in the currency's minor units (cents).

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": {
      "adset_id": "<adset_id>"
    },
    "name": "meta_get_adset"
  }
}

Input Schema

NameRequiredDescriptionDefault
adset_idYesAd set id, from meta_list_campaigns.

Output Schema

NameRequiredDescriptionDefault
adSetYesThe ad set as Meta returns it: id, name, campaign_id, status, effective_status, optimization_goal, billing_event, bid_strategy, bid_amount, daily_budget, lifetime_budget, budget_remaining, start_time, end_time, destination_type, promoted_object, targeting, attribution_spec. Unset fields are omitted.
adAccountIdYesAd account the ad set belongs to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false), so the bar is lower, and the description still adds genuinely useful behavior: budgets and bids are returned as integer strings in the currency's minor units. That encoding caveat is the kind of detail an agent cannot infer and would otherwise misread as dollars; only error/permission behavior is left unstated.

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?

Three sentences, front-loaded with the core read action, then the id source, then the units caveat — a sensible priority order. The long parenthetical enumeration of targeting fields is dense but each item signals that the response is complete, though with an output schema present it is mildly duplicative rather than essential.

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 single-parameter read with annotations and an output schema, the description is comfortably complete: what is read, how to obtain the id, and how numeric budget values are encoded. The only gap is failure behavior when the ad set id is not in the connected account, which a careful agent might want stated.

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?

There is one parameter at 100% schema description coverage, and the schema already says "Ad set id, from meta_list_campaigns." The description's pointer to meta_list_campaigns restates that verbatim, adding no syntax, scope, or format detail beyond what structured data provides, so the baseline of 3 is the correct ceiling.

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?

"Read one ad set of the user's connected Meta ad account in full" gives a specific verb, resource, and scope, then enumerates exactly what is returned (targeting, promoted_object, optimization goal, billing event, bid, budgets, schedule, attribution window). That enumeration distinguishes it from siblings like meta_get_ad_preview or meta_get_insights, which return narrower slices of the same object.

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 supplies a concrete routing hint — "Use meta_list_campaigns to find the ad set id" — and states "Read-only," which tells the agent this is not the path for mutations such as meta_update_adset_targeting. It stops short of an explicit when-not-to-use statement, e.g. when full targeting detail is unnecessary versus a cheaper list call, so it falls just shy of the top band.

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