Skip to main content
Glama

Performance period

performance_period
Read-onlyIdempotent

Reads one ad account's provider figures for an exact date range, Meta or Google Ads, at the account, campaign, ad set (ad group or asset group on Google) or ad level: spend, results, revenue, ROAS, CPA, impressions, clicks, CTR, CPC, CPM, and reach and frequency on Meta. With compareSince and compareUntil it reads a second range and gives each entity's change. Use it for any question about a period other than the synced window, a trend, or a before and after. Dates are YYYY-MM-DD, in the account's time zone, 400 days at most. campaignIds narrows the read; entityIds keeps only those rows. Choose metricSet=additive for spend, conversions, revenue and efficiency questions so complete fresh campaign daily data can be reused. Choose standard for reach, frequency or fatigue questions; unique metrics require an exact period read. MCP: use the input object for tool arguments. UI reports and questions are returned as structured content. Free: MCP tool calls use no Adrails credits.

Input Schema

NameRequiredDescriptionDefault
inputYes
accountIdsNoOptional account selection; can only narrow this workspace's access.
userStatementNoRequired for launch_brief: the latest verbatim user request or free-text answer. Otherwise optional user-provided context, treated as an unverified user statement, never permission or verified platform evidence.
idempotencyKeyNoRequired for mutations. Reuse the same key only when retrying the exact same call; a completed outcome is applied once.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so the safety profile is covered. The description still contributes real operational context beyond that: the 400-day cap, the account-time-zone date semantics, and the caveat that additive metric sets may not return reach and frequency. It does not describe pagination or how multiple accounts/entities appear in the response, so it sits mid-range rather than at the top.

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?

Dense but front-loaded: the verb, scope and date constraint come first, followed by metric-set routing. Every sentence carries information except the trailing credits/'free' note and the MCP input-object reminder, which are boilerplate rather than tool semantics.

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?

No output schema exists, so the description must carry the return semantics, and it does: it enumerates the metric classes returned and states that comparisons yield each entity's change. Combined with level, date-range and filter semantics, an agent has everything needed to call it correctly.

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?

Adds meaning well past the 75% schema coverage: dates are YYYY-MM-DD in the account's time zone, campaignIds narrows the read while entityIds only filters returned rows, and metricSet is given a decision rule rather than just an enum label. compareSince/compareUntil are explained as producing per-entity change. Minor gap: no guidance on whether compare pair must be equal-length or within the 400-day window.

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 concrete verb and resource ('Reads one ad account's provider figures for an exact date range'), names both supported platforms, all four levels, and enumerates the returned metrics. It also anchors itself against the alternative ('any question about a period other than the synced window'), which separates it from metrics_daily-style siblings.

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 selection rules: use it for periods outside the synced window, trends, or before/after; use compareSince/compareUntil for a second range; choose metricSet=additive for spend/conversion/efficiency and standard for reach/frequency/fatigue. The agent has a decision procedure with no inference required.

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.