Skip to main content
Glama

ADS MCP

List Keywords

list_keywords
Read-only

List POSITIVE (bidding) keywords. Only returns keywords from ENABLED campaigns and ENABLED ad groups — paused campaigns are excluded. Returns criterion_id, text, match_type, status, and type=POSITIVE for each keyword. Use criterion_id + ad_group_id with pause_items (type='keyword') to pause a keyword. Negative keywords are managed separately via add_negative_keywords. For large accounts (500+ keywords) use campaign_id to filter by campaign and avoid the 2000-keyword limit.

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": {
      "user_intent": "<user_intent>"
    },
    "name": "list_keywords"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusNoENABLED, PAUSED, or ALL. Default ENABLED.
ad_group_idNoOptional. Filter to one ad group. Omit to list across the whole account (capped at 2000).
campaign_idNoOptional. Filter to one campaign. Recommended for large accounts to stay within the 2000-keyword limit.
customer_idNo
user_intentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already establish a safe read operation, and the description adds substantial context on top: the paused-campaign exclusion rule, the exact fields returned (criterion_id, text, match_type, status, type=POSITIVE), and the 2000-keyword cap with a mitigation. That is exactly the behavior-beyond-annotations an agent needs before calling.

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?

Five short sentences, each carrying distinct information, with the scope constraint front-loaded before return fields, sibling routing, and the scale caveat. No filler or restated title text.

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 read-only list tool with no output schema, the description covers result fields, filtering behavior, the result cap, and the natural follow-up action. The one missing piece is how the status parameter interacts with the stated ENABLED-only filtering, which is the only ambiguity an agent could trip on.

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 60% schema coverage, the schema already documents status, ad_group_id, and campaign_id, and the description largely restates the campaign_id guidance while adding a useful 500+ threshold. It says nothing about the semantics of status=PAUSED/ALL (which appears to conflict with the 'ENABLED campaigns only' claim) and nothing about customer_id or user_intent, so it does not fully compensate for the coverage gap.

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?

"List POSITIVE (bidding) keywords" states a specific verb, resource, and a scoping qualifier that immediately separates it from negative-keyword tools. The definition also pins down that only keywords from ENABLED campaigns and ad groups are returned, so an agent knows the exact result set without opening the 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?

It routes explicitly to siblings: pause_items (type='keyword') with criterion_id + ad_group_id for pausing, and add_negative_keywords for negatives, plus a concrete large-account rule (500+ keywords → use campaign_id). The only gap is that it never explains when to choose status=PAUSED or ALL versus the default ENABLED, leaving the primary filter's use case implicit.

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.