Skip to main content
Glama
Google Ads MCP Server

Google Ads MCP Server

set_guardrails

Configure safety rules to control Google Ads operations: mark accounts read-only, set daily budget limits, or restrict writes to allowlisted accounts for audits.

Instructions

Променя предпазните правила. Подавай само полетата, които искаш да смениш. Пример: маркирай клиентски акаунт като read-only, докато трае одитът.

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

Input Schema

NameRequiredDescriptionDefault
maxDailyBudgetNo
writeAllowlistNoАко не е празен, писане е позволено САМО в тези акаунти.
blockedAccountsNo
readOnlyAccountsNo
maxBudgetIncreasePctNonull = без лимит.
maxOperationsPerCallNo
requireConfirmForRemoveNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses merge semantics (only submitted fields change) and one example, but says nothing about permissions required, whether changes take effect immediately for in-flight operations, whether they are auditable/reversible, or what happens when nullable fields like maxDailyBudget are cleared.

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?

Three short sentences, front-loaded with the action, then the partial-update rule, then an example — no filler. It is efficient, though the example sentence could have been spent documenting an undocumented parameter instead.

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

Completeness2/5

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

This is a seven-parameter mutation of system safety constraints with zero annotations, no output schema, and low schema coverage — the highest-burden case. The description covers purpose and merge behavior but omits field-level meaning and the effect/consequences of relaxing guardrails, which an agent needs before calling it.

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 only 29% schema description coverage, the description should compensate, and it partially does by illustrating readOnlyAccounts usage and confirming partial submission. However, it leaves the majority of the seven parameters (budget caps, blocked accounts, per-call operation limits, confirmation flag) with no meaning beyond their bare names.

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 uses a specific mutation verb plus resource ('Променя предпазните правила' = changes the guardrails/safety rules), which clearly distinguishes a write from the read-only sibling get_guardrails. It stops short of explicitly naming that sibling, but the verb alone makes the read/write split inferable.

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?

It gives actionable partial-update guidance ('Подавай само полетата, които искаш да смениш') and a concrete scenario (marking a client account read-only during an audit). What is missing is any exclusion or routing advice — nothing says when to prefer get_guardrails for inspection, or what prerequisites must hold before mutating safety rules.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.