Skip to main content
Glama

set_active_account_tool

Sets the active Google Ads account for the session so all subsequent tool calls use it by default without passing a customer_id each time.

Instructions

Set the active Google Ads account for this session. Once set, all tools use this account by default — no need to pass customer_id on every call.

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": {
      "customer_id": "<customer_id>"
    },
    "name": "set_active_account_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
customer_idYesGoogle Ads customer ID to set as active (no dashes)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.1

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose the key behavioral trait: this mutates session-scoped state that changes the default for all subsequent tool calls. It does not say whether an existing selection is overwritten, whether the ID is validated against accessible accounts, or what failure looks like.

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?

Two short sentences, front-loaded with the action and followed by the consequence. No filler or restatement of the tool name.

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 one-parameter state-setting tool with an output schema, the description covers purpose, scope (session), and effect on other tools. Minor gaps remain around overwrite/validation behavior, but an agent has enough to invoke it correctly.

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 coverage is 100% and the single parameter already documents the expected format ('no dashes'), so the description adds little parameter-level meaning. Its added value ('no need to pass customer_id on every call') is about downstream behavior rather than the argument itself.

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?

States a specific verb and resource ('Set the active Google Ads account for this session'), which is clearly distinct from the read-side sibling get_active_account_tool. It does not explicitly name or contrast other tools, but the effect (session-wide default account) makes the purpose unambiguous.

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?

Explains the practical context for use: once set, all tools default to this account and customer_id need not be passed on every call, which tells the agent why and when to call it. It stops short of exclusions, e.g. when to re-set, or what happens if an account is already active.

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

Deploy Server

Other Tools