Skip to main content
Glama
shinypebble

microsoft-ads-mcp

by shinypebble

run_performance_report

Read-only

Submit a performance report, poll until ready, then download and parse the CSV to return rows inline.

Instructions

Run a performance report end-to-end and return the parsed rows.

Unlike a raw submit, this submits the report, polls until it is ready, downloads the CSV, and parses it — so the rows come back inline.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
columnsNoOptional explicit column list; a sensible default is used per report type.
end_dateNoCustom range end "YYYY-MM-DD" (pair with start_date).
account_idNoReport on this account instead of the configured one.
date_rangeNoA predefined range, e.g. "LastWeek", "LastMonth", "LastThreeMonths", "ThisYear", "LastYear". Ignored when start_date/end_date are given.LastMonth
start_dateNoCustom range start "YYYY-MM-DD" (pair with end_date).
ad_group_idNoNarrow the report to a single ad group (keyword/search_query/geographic reports only). Requires campaign_id as well — the report scope needs the parent campaign to identify the ad group.
campaign_idNoNarrow the report to a single campaign.
report_typeNoOne of "campaign", "keyword", "search_query", "geographic".campaign

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
rowsYes
columnsYes
row_countYes
date_rangeYes
report_typeYes
Behavior4/5

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

Annotations already include readOnlyHint=true, and the description adds useful behavioral context by detailing the submission, polling, downloading, and parsing steps. It does not contradict annotations and provides insight into the end-to-end process.

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 extremely concise: two sentences front-load the purpose and then explain the difference from a raw submit. Every sentence adds value without waste.

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?

Given the tool's complexity (8 optional parameters, output schema exists), the description covers the core workflow but omits potential edge cases like timeouts or error handling. However, the output schema provides return type information, making the description reasonably complete.

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?

With 100% schema description coverage, the baseline is 3. The description does not mention any parameters or add meaning beyond the schema, so it neither improves nor degrades the semantic understanding.

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?

The description clearly states the tool runs a performance report end-to-end and returns parsed rows. It uses a specific verb (run) and resource (performance report), and distinguishes itself from a raw submit by explaining the workflow. This uniqueness is maintained among siblings.

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?

The description provides a clear contrast with a 'raw submit' (indicating when to use this tool for convenience), but does not explicitly list alternatives or when not to use it. However, the context is sufficient for the agent to understand its primary use case.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shinypebble/microsoft-ads-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server