Skip to main content
Glama

Microsoft Advertising keyword performance and quality score

msads_get_keyword_performance
Read-only

Keyword performance for a date range (optionally one campaign): match type, quality score (1-10) with its expected CTR, ad relevance and landing page experience ratings, current max CPC bid, and impressions, clicks, CTR, average CPC, cost and conversions, highest spend first. Quality score is null for keywords with too little traffic to score.

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_keyword_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

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, lowering the bar. The description contributes real behavioral context beyond them: results are ordered highest spend first and quality score is null for low-traffic keywords, which prevents an agent from misreading nulls as errors. It still omits things like rate limits or whether the data is cached/fresh, so the added value is moderate.

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?

The definition is two sentences and front-loads the scope before the field list; the metric enumeration earns its length because it defines the return shape for a tool with no output schema. The trailing null-semantics sentence is short and high-value, with 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?

With no output schema, the description carries the burden of describing return values, and it does so thoroughly (match type, quality score components, bid, and the standard metric set). Combined with 100%-covered parameters and read-only annotations, an agent has nearly everything needed; only aggregation/pagination behavior beyond the schema-documented limit is unstated.

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 coverage is 100%, so every parameter (limit, startDate, endDate, accountId, campaignId) is already documented in the schema, and the description only restates the optional-campaign scoping already covered there. It adds a modest clarification by tying 'highest spend first' to the result set, but supplies no new syntax or format meaning beyond the schema.

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?

The description opens with a specific verb+resource ('Keyword performance for a date range (optionally one campaign)') and then enumerates exactly which fields come back, so an agent knows this is a keyword-level metrics pull rather than a keyword list. It never explicitly names the neighboring tools (e.g. msads_get_keywords or msads_get_search_terms) to say how it differs from them, so differentiation is implied by the metric list rather than stated.

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?

Implicit usage guidance is present: the tool is scoped to keywords, optionally narrowed to one campaign, and defaults to the last 30 days, which tells an agent when it fits. However there is no explicit when-to-use or when-not-to-use statement, and no routing to alternatives such as a campaign- or ad-group-level performance tool for aggregate questions.

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