Skip to main content
Glama
shinypebble

microsoft-ads-mcp

by shinypebble

add_website_exclusions

Block websites or mobile app IDs on a campaign to prevent ads from serving on unwanted sites. New exclusions merge with existing ones without overwriting.

Instructions

Block websites / mobile-app ids on a campaign so ads won't serve there.

Additive: new sites are merged with the campaign's existing exclusions (read-modify-write), so this never clobbers what's already blocked. Pass bare domains or paths (e.g. "example.com", "example.com/section") or mobile-app ids; a leading http(s):// is stripped for you. Microsoft sites (e.g. MSN.com) can't be excluded and there's a ~2500-site cap per campaign -- such rejections come back in partial_errors. View with get_website_exclusions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlsYesWebsites / app ids to block (referrer domains).
campaign_idYesThe campaign id to block sites on.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
idsNo
messageYes
partial_errorsNo
Behavior5/5

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

Beyond the readOnlyHint: false annotation, the description provides rich behavioral details: read-modify-write semantics, URL stripping, exclusion of Microsoft sites, cap of ~2500 sites, and partial error returns. No contradictions with annotations.

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?

Four sentences, each adding distinct information. Front-loaded with purpose, then additive behavior, then formatting details, then constraints/error handling. No fluff.

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?

Given 2 simple parameters and an output schema (present but not shown), the description covers behavior, constraints, error handling, and sibling tool for reading. It is self-contained and leaves no major gaps for a typical use case.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with basic descriptions, but the description adds significant value by specifying formats (bare domains, paths, mobile-app ids) and that leading http(s):// is stripped. This helps the agent format inputs correctly.

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?

Clearly states the verb 'block' and the resource 'websites/mobile-app ids on a campaign'. Distinguishes from sibling tools by mentioning additive nature and referencing get_website_exclusions for viewing.

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?

Explicitly states the additive behavior (never clobbers), constraints (Microsoft sites cannot be excluded, 2500-site cap), and error handling (partial_errors). Mentions viewing with get_website_exclusions but does not explicitly compare to remove_website_exclusions or state when not to use.

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

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