Skip to main content
Glama

Pin the user's MCC (manager) account

set_master_account
DestructiveIdempotent

Set which Google Ads account is the user's MCC (My Client Center / manager). This becomes the login-customer-id HTTP header for every subsequent Google Ads API call against a sub-account under the manager. Required for agency users with multiple client accounts under one MCC; single-account users normally don't need to call this.

Validates that the customerId is in the user's accessible-accounts list AND that Google Ads reports it as a manager account (isManager=true). Pass a sub-account ID and the call rejects.

After setting, the displayed names of sibling sub-accounts in list_ad_accounts will resolve correctly instead of falling back to 'Account 1234567890'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
customerIdYes10-digit Google Ads customerId of the MCC (with or without dashes).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare the mutation/safety profile; the description goes well beyond them by disclosing the validation rules (accessible-accounts check plus isManager=true), the rejection behavior for sub-accounts, the global side effect on every subsequent API call, and the downstream effect on sibling name resolution in list_ad_accounts.

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 tight paragraphs with the core action and its header side effect front-loaded, followed by validation rules and downstream impact. Every sentence carries information; only the parenthetical 'My Client Center' gloss is mildly expendable.

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

Completeness5/5

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

For a one-parameter configuration tool with no output schema, the description covers the precondition, the failure mode, and the observable consequences for other tools, leaving nothing an agent needs in order to call it correctly.

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

Parameters4/5

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

Schema coverage is 100% and the schema already documents the customerId format, so the baseline is 3. The description adds genuine semantic value by constraining the parameter to a manager account ID and explaining the failure mode if a sub-account ID is supplied.

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 ('Set which Google Ads account is the user's MCC') and immediately names the concrete effect (the login-customer-id header). It is clearly distinguishable from siblings like set_brand_ad_account and list_ad_accounts.

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?

Explicitly states when it is needed ('Required for agency users with multiple client accounts under one MCC') and when it is not ('single-account users normally don't need to call this'). It also gives a hard precondition: the ID must be a manager account, so passing a sub-account is rejected.

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.

Resources