Skip to main content
Glama

Microsoft Advertising location performance

msads_get_location_performance
Read-only

Performance by the geographic location of the searcher (country and city) for a date range, optionally one campaign: impressions, clicks, CTR, average CPC, cost and conversions, highest spend first.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "msads_get_location_performance"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMost rows to return, highest spend first (default 50, max 500).
endDateNoYYYY-MM-DD. Omit for yesterday.
accountIdNoMicrosoft Advertising account id or account number (e.g. 'F123ABCD'), as listed by msads_list_accounts. Only needed when the sign-in can reach more than one account.
startDateNoYYYY-MM-DD. Omit for the last 30 days.
campaignIdNoOnly this campaign (id from msads_get_campaigns).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / campaignId / pattern
      Added value: +"^\\d+$"
  2. Added

TDQS

A4/5.0
Behavior4/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 the safety profile is covered. The description adds real behavioral context beyond that: the geographic granularity returned (country and city), the implied default result ordering (highest spend first), and the metric set included in each row.

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 breakdown dimension and scope, followed by the metric list and ordering. Nothing is redundant or padded.

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?

All five parameters are optional and fully documented, annotations cover the safety profile, and no output schema exists so return values need not be explained — the description nonetheless lists the metrics returned. A minor gap is that it does not say whether rows are aggregated per city, per country, or both, or how the row cap interacts with the sort order.

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 every parameter is already documented, including the limit cap, the YYYY-MM-DD date formats, and the accountId/campaignId sourcing hints. The description only restates the date range, campaign filter and sort order, adding no new syntax or constraint detail beyond the schema.

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 names a specific verb+resource: performance broken down by the searcher's geographic location (country and city), over a date range, optionally scoped to one campaign. The enumerated metrics (impressions, clicks, CTR, average CPC, cost, conversions) and the sort order make it unmistakable versus the campaign/ad group/keyword performance siblings.

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 implied rather than stated: the phrase 'optionally one campaign' tells the agent how to narrow scope, and defaults are described in the schema. There is no explicit when-to-use or when-not-to-use guidance, and no sibling is named as the alternative for a non-geographic breakdown.

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