Skip to main content
Glama
Bing Ads MCP Server

Bing Ads MCP Server

by mharnett

bing_ads_get_campaign_performance

Retrieve Bing Ads campaign performance metrics—impressions, clicks, CTR, CPC, spend, conversions, and revenue—for a date range, and detect truncated results.

Instructions

Get campaign performance metrics (impressions, clicks, CTR, CPC, spend, conversions, revenue) for a date range. Returns an array of rows. If the report is too large for one response it is cut and returned as { rows, truncated: true, original_count, returned_count } instead: that result is PARTIAL, so totals summed from it are understated. Narrow the date range or filter by campaign and re-run until truncated is absent.

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": {
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "bing_ads_get_campaign_performance"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateYesEnd date YYYY-MM-DD
account_idNo
start_dateYesStart date YYYY-MM-DD

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.3

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations at all, the description carries the full behavioral burden and does a solid job: it discloses the normal return shape (array of rows) and, more importantly, the truncation envelope { rows, truncated, original_count, returned_count } plus the downstream consequence that summed totals from a partial result are understated. It does not cover account scoping defaults, rate limits, or any date-range maxima, which keeps it below 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?

Front-loaded with the purpose and metrics, then immediately the important caveat; every sentence is doing work and the truncation payload is presented in a compact inline shape. Slight density and the unactionable campaign-filter clause keep it from flawless, but there is no 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 3-parameter read tool with no annotations and no output schema, the description supplies the two things an agent most needs: what comes back and how to detect an unreliable partial result. Remaining gaps are account_id semantics and any limits on date-range width, both of which matter but are secondary to the truncation disclosure.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema documents start_date and end_date (67% coverage) but leaves account_id entirely undescribed, and the description does not fill that gap — it never explains what account_id scopes or what happens if it is omitted. Worse, the recommended 'filter by campaign' is not expressible with any of the three parameters, so the description points agents toward an argument that does not exist.

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 (get campaign performance metrics) and enumerates the exact measures returned (impressions, clicks, CTR, CPC, spend, conversions, revenue) over a date range. An agent can distinguish it from bing_ads_keyword_performance by scope, though the description never explicitly says so, leaving the sibling differentiation to inference from the name.

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?

Offers real operational guidance for the truncation case: narrow the date range or filter, then re-run until truncated is absent. However, it gives no guidance on when to prefer this over bing_ads_keyword_performance or bing_ads_search_term_report, and the suggested 'filter by campaign' remedy has no corresponding parameter in the schema, so the advice is partly unactionable.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.