Skip to main content
Glama

Google Ads: Set keyword status

ads_set_keyword_status
DestructiveIdempotent

Pause, enable or remove one keyword. Get ad_group_id and criterion_id from an ads_report query on the keyword_view resource. Previews unless confirm is true.

Input Schema

NameRequiredDescriptionDefault
statusYes
confirmNoLeave false to preview: nothing changes and the preview shows exactly what would happen. Set true only after the user has agreed to this exact change.
ad_group_idYes
customer_idYes
criterion_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / confirm / description
      Added value: +"Leave false to preview: nothing changes and the preview shows exactly what would happen. Set true only after the user has agreed to this exact change."
  2. 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 destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered. The description adds genuinely non-structured behavior: the call is a dry-run unless 'confirm' is true, which is the key fact an agent needs to avoid unintended changes.

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?

Three short sentences, front-loaded with the action, followed by the ID sourcing prerequisite and the preview condition. Every clause carries information; nothing is padding.

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 mutation tool with no output schema, the description covers the action, the identifier provenance, and the preview/confirm gate, which is most of what an agent needs. It stops short of describing what the preview returns or any permission requirements.

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 only 20% (only 'confirm' is documented in the schema), so the description must compensate, and it partially does by explaining where ad_group_id and criterion_id come from. However, customer_id is never explained and the description does not state the allowed status values, leaving gaps relative to the 5-parameter surface.

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?

Opens with a specific verb set and resource: 'Pause, enable or remove one keyword.' This clearly separates it from the sibling status tools ads_set_ad_status and ads_set_campaign_status, which operate on different resources, so an agent can select it 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 tells the agent where to obtain the two required identifiers ('Get ad_group_id and criterion_id from an ads_report query on the keyword_view resource') and states the preview-by-default condition. It does not name an explicit alternative or when-not-to-use this tool, which keeps it short of a 5.

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.