Skip to main content
Glama
wvuhskr

mcp-microsoft-ads

by wvuhskr

add_audience_targeting

Draft audience targeting on a campaign by specifying audience ID and type, with optional bid adjustment allowed only for manual bidding strategies.

Instructions

Draft audience targeting on a campaign. audience_type disambiguates which id namespace audience_id is in — one of: RemarketingList, Custom, InMarket, Product, SimilarRemarketingList, CombinedList, CustomerList, ImpressionBasedRemarketingList, CustomSegment (WSDL AudienceType enum). bid_adjustment_pct is allowed ONLY when the campaign's effective bid strategy is in the MANUAL_BIDDING allowlist (rails.py); rejected for Smart Bidding, any other/unrecognized strategy, or when the strategy can't be determined at all (fail closed — standing no-%-adjustments-on-auto-bidding rule).

Live-verified 2026-07-30 (the AddCampaignCriterions write path, CriterionType= "Audience"); the read-side fault seen earlier is GET-only and doesn't apply here.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
audience_idYes
campaign_idYes
audience_typeNoRemarketingList
bid_adjustment_pctNo
Behavior4/5

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

With no annotations, the description carries the full burden for behavioral disclosure. It discloses the fail-closed rule for bid adjustments, notes that the read-side fault is non-applicable, and includes a live verification timestamp, which adds credibility and context. It does not cover idempotency or response format, but the key behavioral constraints are well documented.

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?

The description is verbose but every sentence carries critical information: the core action, the namespace disambiguation, the bid adjustment constraint, and the verification note. It is appropriately structured, front-loading the purpose and then supporting details. Not excessively wordy for the complexity involved.

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 tool's 4 parameters, no annotations, and no output schema, the description covers the most complex aspects (bid adjustment rules, audience_type enum) adequately. It does not mention return value, but with no output schema that is not required. It also omits any mention of prerequisites (e.g., campaign must exist), but those are likely implicit. Overall, it is complete enough for an agent to call correctly.

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 compensate. It explains audience_type as a namespace disambiguator and lists the valid enum values, and it explains the conditional semantics of bid_adjustment_pct. It does not explicitly describe campaign_id or audience_id, but their meaning is self-evident from the names and context. This is strong compensation given the schema offers no help.

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 clearly states the action ('Draft audience targeting on a campaign') with a specific resource (campaign) and distinct intent (adding audience targeting). It disambiguates the audience_type namespaces, which helps distinguish it from other audience-related tools like create_custom_audience, making its purpose unambiguous.

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?

The description provides clear usage context by explaining when bid_adjustment_pct is allowed (only with manual bidding strategies) and when it is rejected, which is a concrete usage condition. It does not explicitly mention alternatives or when not to use the tool, but the functional condition is a useful guide, and the 'on a campaign' phrasing implies an existing campaign context. Missing explicit comparisons to siblings prevents a 5.

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/wvuhskr/mcp-microsoft-ads'

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