Skip to main content
Glama

analyze_account_ads

Perform comprehensive AI analysis of all ads in an advertising account to evaluate performance and generate insights for campaign optimization.

Instructions

Re-run a full AI analysis of ALL ads in the account. WARNING: This is expensive and takes 30-60 seconds. Individual ads must have been analyzed in the same date range first. Use get_account_analysis to fetch existing results instead. Only call with confirmed=True after the user explicitly requests a fresh re-analysis.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
account_idYes
start_dateYes
end_dateYes
confirmedNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description carries full burden and discloses key behavioral traits: expensive operation, 30-60 second duration, and confirmation requirement. It doesn't cover error handling or output format, but provides substantial operational context beyond basic function.

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?

Four sentences with zero waste: first states purpose, second warns of cost/time, third gives prerequisites/alternative, fourth specifies invocation condition. Each sentence adds critical information, and warning is appropriately front-loaded.

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 complex, expensive operation with no annotations but an output schema, the description covers purpose, costs, prerequisites, alternatives, and invocation conditions well. It doesn't explain what 'full AI analysis' entails or potential errors, but given output schema exists, this is reasonably complete.

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 description coverage is 0%, so description must compensate. It explains the confirmed parameter's purpose (user explicit request) and implies date range usage, though doesn't detail account_id, start_date, or end_date formats. Adds meaningful context for one parameter and overall usage.

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?

The description clearly states the specific action ('Re-run a full AI analysis') and resource ('ALL ads in the account'), distinguishing it from siblings like analyze_campaign_ads, analyze_single_ad, and get_account_analysis by emphasizing comprehensive scope and re-analysis nature.

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?

Explicit guidance is provided: use get_account_analysis for existing results, only call after user explicitly requests fresh re-analysis, and prerequisites (individual ads analyzed first). Clear alternatives and when-not-to-use scenarios are specified.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Agent-Prod/muze-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server