Skip to main content
Glama

Google Ads & Meta Ads

Meta Ads: Select Account

meta_select_account
Idempotent

Set the optional default Meta ad account that reads use when they pass no ad_account_id, by act_ id or by account name. Rarely needed: every tool takes ad_account_id (id or name), so switching accounts in a conversation is just passing the other one. The default belongs to the connection and is shared by every chat you have open, and changes never fall back to it when you have several ad accounts. Changes nothing in Meta Ads itself.

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": {
      "ad_account_id": "<ad_account_id>"
    },
    "name": "meta_select_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
ad_account_idYesAd account id (act_… or just the digits) or the exact account name, as shown by meta_list_ad_accounts.

Output Schema

NameRequiredDescriptionDefault
nameNoIts name.
currencyNoIts currency code.
adAccountIdYesAccount later calls now default to.
previousAdAccountIdNoWhat the default was before this call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotent=true, destructive=false), it discloses that the default is scoped to the connection and shared across every open chat, that write operations never fall back to it, and that nothing changes in Meta Ads itself. These are non-obvious side-effect and state facts an agent could not infer from the annotations.

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?

Four tight sentences, front-loaded with the purpose and immediately followed by the 'rarely needed' caveat, then scope and side effects. Minor redundancy with the schema on id-versus-name accepts, but nothing wasteful.

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 single-parameter setter with an output schema and full schema coverage, the description supplies everything else an agent needs: scope of the setting, sharing across chats, write-path behavior, and the guarantee that Meta Ads data is untouched.

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 100% and the schema already documents that ad_account_id accepts act_… or digits or an exact account name. The description restates the id/name duality without adding format or validation detail, so the baseline of 3 applies.

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 the optional default Meta ad account) plus the exact condition under which the default is used (reads that pass no ad_account_id). It is clearly distinguishable from siblings like gads_select_account and from read tools such as meta_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 says the tool is 'rarely needed' and names the alternative behavior: every tool takes ad_account_id, so switching accounts is just passing the other one. That is a clear when-not-to-use signal with the substitute action spelled out.

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