Skip to main content
Glama

List Microsoft Advertising campaigns

msads_campaigns
Read-only

Lists the campaigns of one Microsoft Advertising ad account as the API returns them (Id, Name, Status, CampaignType, DailyBudget, BudgetType, BiddingScheme...). By default every type is read (Search, Shopping, Audience, PerformanceMax); types narrows it. 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>"
    },
    "name": "msads_campaigns"
  }
}

Input Schema

NameRequiredDescriptionDefault
typesNoCampaign types to read. Default: all four.
accountIdNoFezola accountId of the connected Microsoft account (type microsoft_ads in list_accounts). Optional: the adAccountId is looked up in every connected Microsoft account.
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.5/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 safety is covered. The description adds useful context beyond that: results are returned 'as the API returns them', the default covers every campaign type, and the operation is read-only. A 4 is close, but it omits any note on result volume, pagination, or whether an empty account fails versus returns an empty list.

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?

Two tight sentences that lead with the action and resource, then the type filter. The trailing 'Read-only.' merely repeats readOnlyHint from the annotations, and the parenthetical field list is dense, but nothing else is wasteful.

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 no output schema, the description usefully sketches the returned fields, the default-all-types rule, and the narrowing parameter. What is missing is result-set behaviour (pagination, ordering, empty-result handling), which matters for an unbounded list call.

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 all three parameters are already documented in the schema, including the adAccountId lookup behaviour for accountId. The description only restates the 'types' default-and-filter behaviour, adding no syntax or format detail beyond structured data. Baseline 3 is 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?

States a specific verb and resource: 'Lists the campaigns of one Microsoft Advertising ad account', and enumerates the returned fields. This separates it from account-level siblings like msads_list_accounts, but it never names an alternative tool explicitly, so the differentiation is implicit rather than asserted.

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 description covers the default behaviour (all four campaign types read) and how 'types' narrows that, which implies when to use it. However, there is no guidance on choosing between this and the other campaign-listing siblings (msads_ad_groups, openai_ads_campaigns, google_ads_list_accounts) or on preconditions such as needing a resolved adAccountId first.

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