Skip to main content
Glama

Budget Analysis & Optimization

budget_analyze
Read-onlyIdempotent

Analyze ad budget distribution by platform and campaign to produce reallocation recommendations based on optimization goal (e.g., maximize ROAS). Input goal and optional platform filter; output current allocation, suggested budget changes with rationale, expected impact, and projected lift.

Instructions

Analyze how the current ad budget is distributed and produce actionable reallocation recommendations. Input: optimization_goal ("maximize_roas"|"maximize_conversions"|"minimize_cpa") and optional platform filter. Returns {goal, current_allocation (by platform + campaign), recommendations[] (each with campaign_id, current_budget, suggested_budget, rationale, expected_impact), projected_lift}. Pair with budget_reallocate to execute the recommendations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
platformNoFilter by platform
optimization_goalNomaximize_roas
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint false, and idempotentHint true, so the read-only nature is clear. The description adds value by detailing the output structure (goal, current_allocation, recommendations, projected_lift) and hints at the tool's analytical capability beyond simple aggregation.

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?

A single, information-dense paragraph with no fluff. Each sentence adds value: input, output structure, and sibling pairing. Front-loaded with the core action.

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?

Given the moderate complexity (2 optional params, no output schema), the description covers inputs and outputs thoroughly. The only minor gap is lack of examples for the recommendation structure, but the description enumerates fields adequately.

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 50% but both parameters are documented in the schema with enums. The description adds context for optimization_goal values and mentions the platform filter's optionality, though the schema already provides the list. For a 2-param tool, this is sufficient.

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 verb 'Analyze' and the resource 'current ad budget', producing 'actionable reallocation recommendations'. It distinguishes itself from sibling 'budget_reallocate' by pairing them together, making the purpose unmistakable.

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 mentions input parameters (optimization_goal, platform filter) and provides a direct pointer to sibling tool 'budget_reallocate' for execution. This gives clear when-to-use and when-to-next guidance.

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/enzoemir1/adops-mcp'

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