Skip to main content
Glama

List Microsoft Advertising keywords

msads_get_keywords
Read-only

List an ad group's keywords: id, text, match type, status and the keyword's own bid (null = inherits the ad group's). Quality score is NOT part of the keyword record in Microsoft's API - use msads_get_keyword_performance, which reports quality score and its three components.

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": {
      "adGroupId": "<adGroupId>"
    },
    "name": "msads_get_keywords"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.
adGroupIdYesAd group id, from msads_get_ad_groups.

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

A3.9/5.0
Behavior3/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 two useful behavioral facts: that a null bid means inheritance from the ad group, and that quality score is absent from the API record. It says nothing about pagination or the size/shape of the result set.

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 tight sentences with the capability front-loaded and the disambiguation placed after it, which matches how an agent scans. Nothing is redundant, though the second sentence carries two distinct ideas (missing field plus redirect) that could be split for faster parsing.

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, enumerating returned fields is the right compensation, and the tool also warns about the one commonly expected field that is not returned and where to get it instead. Remaining gaps (pagination, ordering, whether zero-keyword ad groups return empty) are modest for a simple read-only list.

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% and both parameters are fully documented in-schema including provenance (adGroupId from msads_get_ad_groups, accountId conditional on multi-account sign-in). The description adds no parameter-level meaning beyond that, so the 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?

States a specific verb and resource ('List an ad group's keywords') and enumerates the returned fields (id, text, match type, status, bid), which lets an agent distinguish it from msads_get_keyword_performance without opening either schema.

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?

Explicitly routes the agent away from this tool for quality score, naming msads_get_keyword_performance and the reason (quality score is not in the keyword record). It lacks guidance on when to prefer msads_get_negative_keywords, but the positive/negative split is implied by the sibling naming and the tool's own framing.

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