Skip to main content
Glama

ADS MCP

Audit All Keywords

audit_keywords
Read-only

Fetch ALL positive (bidding) keywords across the entire account — only from ENABLED campaigns and ENABLED ad groups. Paginates automatically so no keywords are missed even in large accounts. Returns a grouped summary: campaign → ad group → keyword list. Use this BEFORE adding new keywords to check what already exists. For targeted work (pause/edit a specific keyword) use list_keywords instead.

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": "audit_keywords"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaign_idNoOptional. Limit audit to one campaign.
customer_idNo
user_intentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description does not contradict them. It adds genuinely non-obvious behavior: automatic pagination, silent exclusion of paused campaigns/ad groups, and the grouped campaign → ad group → keyword return shape. It stops short of noting scale limits or how the grouping orders results.

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?

Front-loads the scope and enabled-only constraint, then pagination, then return shape, then usage guidance. Four sentences, each carrying distinct information with no repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Return-shape and filtering behavior are well covered despite there being no output schema, but with only 33% schema coverage the description leaves two of three parameters (including the required user_intent) unexplained, which is a real gap for a tool the agent must call correctly on first try.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 33%, and the description explains no parameters at all. The required user_intent and the customer_id parameters get no mention, and the phrase 'across the entire account' is in mild tension with the optional campaign_id narrowing filter the schema documents.

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 (fetch all positive/bidding keywords) plus explicit scope: entire account, ENABLED campaigns and ENABLED ad groups only. It also names the sibling it is not (list_keywords), so an agent can distinguish it without opening schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit pre-condition use case ('Use this BEFORE adding new keywords to check what already exists') and an explicit alternative with the condition that selects it ('For targeted work ... use list_keywords instead'). Nothing is left to inference.

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.