Skip to main content
Glama

Microsoft Advertising campaign performance

msads_performance
Read-only

Campaign performance report of one ad account over the last N days (today included): impressions, clicks, CTR, average CPC, spend, conversions and revenue per campaign, in the account currency; daily adds one row per day. The report is generated by Microsoft and waited for up to about 40 seconds (MSADS_REPORT_TIMEOUT beyond). At most 500 rows. 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_performance"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoWindow in days, ending today. Default 7.
dailyNoOne row per campaign and day.
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.9/5.0
Behavior4/5

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

Annotations already declare readOnly and non-destructive, but the description adds genuinely non-obvious behavior: the report is generated server-side and waited on for roughly 40 seconds (overridable via MSADS_REPORT_TIMEOUT), results are capped at 500 rows, and values are in account currency. What happens if the wait expires is not stated, keeping it short of a 5.

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 sentences, front-loaded with the resource and metric list, then the operational caveats. Dense and mostly waste-free, though the metrics enumeration and the 'today included' / row-per-day phrasing partly duplicate the schema.

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?

With no output schema, the description carries the return-value burden and does list the metrics, currency, row shape, and 500-row cap, which is what an agent needs to plan a call. The missing piece is failure behavior when the ~40 second wait is exceeded.

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 four parameters are already documented. The description restates the window ('last N days, today included') and the daily flag ('one row per campaign and day') but adds no format, constraint, or lookup semantics 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?

Names a specific verb and resource ('campaign performance report of one ad account over the last N days') and enumerates the metrics returned, so an agent knows exactly what it gets. Scope (single ad account, last N days, today included) separates it cleanly from the Microsoft Advertising campaign-management siblings and from a Google Ads equivalent.

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?

Usage is only implied: the description says what the report covers and that 'daily adds one row per day', but never states when to prefer it over msads_campaigns or a Google Ads performance counterpart, nor any precondition (e.g. accounts must be connected). The agent must infer the selection conditions.

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