Skip to main content
Glama

meta_set_active_ad_account

Select and verify a Meta ad account for the current request context so subsequent Meta tools target the correct account.

Instructions

Verify and select a Meta ad account for this request context and subsequent Meta tools.

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": {
      "account_id": "<account_id>"
    },
    "name": "meta_set_active_ad_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
account_idYesMeta ad account ID, with or without the act_ prefix

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.1

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations at all, the description carries the full behavioral burden. It hints that the selection persists into 'subsequent Meta tools' (a session-state side effect), which is useful, but it never says what 'Verify' entails, what happens on an invalid or unauthorized account_id, whether prior selection is overwritten, or whether the call is idempotent.

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?

One sentence, front-loaded with the action and resource, and nothing redundant. Every clause contributes: the verb pair, the resource, the context in which it applies, and the downstream effect.

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

Completeness3/5

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

An output schema exists and there is only one simple parameter, so the description need not explain return values. However, for a stateful context-setting tool with zero annotation coverage, the description is thin on side effects, failure modes, and sibling differentiation.

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?

There is a single required parameter and schema coverage is 100%; the schema already explains the account ID and the optional act_ prefix. The description adds no additional meaning about format, source of the ID, or validation behavior, so the baseline of 3 applies.

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 gives a concrete verb pair ('Verify and select') and a specific resource ('Meta ad account'), plus a scope ('for this request context and subsequent Meta tools'). It is clear what the tool does, but it never distinguishes itself from the similarly named sibling set_active_account_tool, which an agent could easily confuse it with.

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?

The phrase 'for this request context and subsequent Meta tools' implies the tool should be called early to establish account context before other Meta tools. There is no explicit when-not guidance, no mention of meta_list_ad_accounts as the way to discover an ID, and no clarification of how this differs from set_active_account_tool.

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