Skip to main content
Glama

List Microsoft Advertising ad extensions

msads_get_ad_extensions
Read-only

List ad extensions (sitelinks, callouts, structured snippets, calls, prices, promotions). With no campaignId or adGroupId this is the account's whole extension library; with one, only the extensions attached to it (ad group attachments override campaign ones). Each extension is shown in one flat shape: id, type, status and its text. An extension in the library that is attached to nothing does not serve.

Input Schema

NameRequiredDescriptionDefault
limitNoMost rows to return (default 100, max 500).
typesNoOnly these extension types. Default: all six.
accountIdNoMicrosoft Advertising account id or account number (e.g. 'F123ABCD'), as listed by msads_list_accounts. Only needed when the sign-in can reach more than one account.
adGroupIdNoOnly extensions attached to this ad group (wins over campaignId).
campaignIdNoOnly extensions attached to this campaign.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish that this is a safe read-only operation, and the description adds useful behavioral context about library versus attachment scope, flat return shape, and the fact that unattached extensions do not serve. It does not discuss rate limits or ordering, but it goes meaningfully beyond the 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 four tight sentences, front-loaded with the core action and then adding scope and return-shape context. Every sentence earns its place without repetition or filler.

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 read-only list tool with full schema coverage and no output schema, the description provides enough context: what is listed, how scoping works, what fields are returned, and that unattached extensions do not serve. Only minor operational details such as result ordering or pagination behavior are left implicit.

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?

Schema coverage is 100%, so each parameter is already documented in the schema, including the adGroupId-over-campaignId precedence. The description reinforces the no-ID versus ID-based scoping model, but most parameter meaning is already carried by the schema, making the baseline 3 appropriate.

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?

The description uses a specific verb and resource ('List ad extensions') and enumerates the extension types, so the tool's purpose is immediately clear. It does not explicitly name sibling tools such as msads_add_ad_extensions or msads_set_ad_extension_attachment, but the list/read nature is 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?

It clearly explains the key usage branches: no campaignId/adGroupId returns the account-wide extension library, while supplying either filters to attached extensions. It also notes that ad group attachments override campaign ones, which helps an agent choose parameters, though it stops short of naming alternative tools or explicit when-not scenarios.

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