Skip to main content
Glama

Spend & Performance Forecast

forecast_spend
Read-onlyIdempotent

Project future ad spend and performance for Google or Meta campaigns using moving-average extrapolation of recent data. Get projections for spend, impressions, clicks, conversions, revenue, ROAS, CPC, CTR with confidence indicators.

Instructions

Project future ad spend and performance based on recent historical trends. Input: period_days ("7"|"14"|"30") and optional platform filter. Uses moving-average extrapolation of spend, impressions, clicks, conversions, and revenue across the last 14 days. Returns {period_days, platform, projected (spend, impressions, clicks, conversions, revenue, ROAS, CPC, CTR), confidence_level, warnings[]}. Confidence drops when recent data is volatile or campaigns were paused.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
period_daysNoForecast period14
platformNo
Behavior5/5

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

The description adds significant behavioral context beyond the annotations (readOnlyHint, idempotentHint). It discloses the methodology (moving-average extrapolation), output fields (projected metrics, confidence_level, warnings), and limitations (confidence drops with volatile data or paused campaigns). No contradiction with annotations.

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?

The description is concise (three sentences) and well-structured. It front-loads the purpose and input, then explains the methodology and output structure. Every sentence adds value with no redundancy.

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?

Given the absence of an output schema, the description provides a comprehensive summary of the return value structure (period_days, platform, projected metrics, confidence_level, warnings). It also covers confidence degradation conditions, making it complete for an agent to understand the tool's behavior.

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?

The description elaborates on the parameters by restating the period_days options and noting platform is optional. While the schema covers 50% of parameter descriptions, the description adds clarity by explicitly listing the platform filter. It does not fully compensate for undocumented parameters but adds meaningful context.

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 tool's purpose: projecting future ad spend and performance based on historical trends. It uses a specific verb ('Project') and resource ('ad spend and performance'), and distinguishes itself from siblings like budget_analyze by focusing on forecasting.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context for when to use the tool, including input parameters (period_days and platform). It implies usage for forecasting but does not explicitly state when not to use it or mention alternatives, though the context is adequate given sibling tools serve different purposes.

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