Skip to main content
Glama
shinypebble

microsoft-ads-mcp

by shinypebble

get_ad_extensions

Read-only

Retrieve ad extensions (call, callout, sitelink, etc.) from your account. Optionally filter by extension type or scope (Account, Campaign, AdGroup).

Instructions

List ad extensions in the account (call, callout, sitelink, etc.).

By default this enumerates all association scopes (Account, Campaign, AdGroup) and merges them, so extensions attached at the campaign or ad-group level are included — most extensions are associated to a campaign, not the account, so scoping to Account alone often looks empty. Pass an explicit association_type to narrow to one scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
extension_typesNoOptional filter, e.g. ["Call", "Sitelink"]; defaults to all types.
association_typeNoScope to enumerate ids from: "Account", "Campaign", or "AdGroup". Omit (default) to search all three scopes and de-dupe.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations declare readOnlyHint=true, consistent with a listing operation. The description adds transparency about merging scopes, deduplication, and default behavior, which is beyond what annotations provide. It does not contradict 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?

The description is concise with two well-structured paragraphs. The first paragraph states the core purpose, and the second provides necessary behavioral details. Every sentence adds value without repetition.

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 the output schema exists, annotations are present, and parameters are fully described, the description covers all needed context: default behavior, filtering options, and a practical tip about scoping. It is complete for a listing tool.

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 100%, but the description adds valuable context beyond the schema: it explains why the default association_type merges all scopes and why Account alone may look empty. This enriches understanding beyond parameter descriptions.

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 tool lists ad extensions with examples of types (call, callout, sitelink) and explains the default merging behavior, making the purpose specific and distinguishable from sibling tools like get_campaigns.

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 explains when to use the default (all scopes merged) and when to narrow with association_type, and warns that scoping to Account alone often looks empty. It does not explicitly mention alternative tools but provides clear context for effective usage.

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