Skip to main content
Glama

List Microsoft Advertising ad groups

msads_ad_groups
Read-only

Lists the ad groups of one campaign (Id, Name, Status, bids, network...), as the API returns them. Read-only.

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": {
      "adAccountId": "<adAccountId>",
      "campaignId": "<campaignId>"
    },
    "name": "msads_ad_groups"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountIdNoFezola accountId of the connected Microsoft account (type microsoft_ads in list_accounts). Optional: the adAccountId is looked up in every connected Microsoft account.
campaignIdYesCampaign Id, as returned by msads_campaigns.
adAccountIdYesMicrosoft Advertising ad account id (Id returned by msads_list_accounts).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so 'Read-only' in the description earns no additional credit. 'As the API returns them' does add real value by signaling a raw, unnormalized pass-through with no local filtering or reshaping, but the description says nothing about pagination, result caps, or ordering for a list that could be large.

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?

One sentence, front-loaded with the verb and resource, followed by the returned-field preview and a short safety tag. Nothing is redundant or buried.

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 simple read-only enumeration with a fully annotated safety profile and 100% schema coverage, the definition covers identity, scope and return shape. The only meaningful gap is result volume behavior (pagination or caps), which matters for an ad-group list under a campaign.

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 description coverage is 100%, so accountId, campaignId and adAccountId are already fully documented, including the fallback lookup behavior when accountId is omitted. The description only restates the campaign scoping; it adds no syntax or format meaning beyond the schema, so baseline 3 applies.

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?

States a specific verb ('Lists') and resource ('ad groups'), scopes it to 'one campaign', and previews the returned fields (Id, Name, Status, bids, network). That is enough for an agent to distinguish it from msads_campaigns or msads_ads purely on the resource being enumerated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'of one campaign' implies a campaignId is required to scope the call, and the field preview implies this is the discovery step before per-ad-group operations. However there is no explicit when-to-use, when-not-to-use, or named alternative (e.g. msads_campaigns) in the description itself; the sibling reference appears only in the schema.

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