Skip to main content
Glama

Metadata MCP Connector

Get Budget Group Performance

budget_group_performance
Read-only

Performance statistics for a specific budget group by name. IMPORTANT: Accepts budget group NAME directly - no need to look up ID first. Do NOT call get_budget_group before this tool.

USE FOR: Budget group CPL/ROI/Pipeline/MQL analysis, spending and conversion metrics, experiment performance within budget group, efficiency analysis. NOT FOR: Comparing ALL budget groups (use list_budget_groups), individual experiments without budget group context (use experiment_performance_stats), account-level aggregates (use account_level_stats), budget group config WITHOUT performance (use get_budget_group).

HOW IT WORKS: Takes name → looks up ID → fetches experiments tagged with budget group → returns detailed performance.

METRICS RETURNED: spent, impressions, clicks | leads, mqls, conversions | ctr, cpl, cpc, cpm, conversionRate, mqlRate | oppsAmount, triggeredAmount, totalOpps, totalTriggered | name, status, channel, dates

DATE HANDLING: No dates = all-time data. Supports ISO 8601 date ranges.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for pagination (0-based). Use for paginating through large result sets.
sizeNoNumber of experiments per page. Default is 10. Use larger values (up to 10000) for comprehensive analysis — pull the whole set rather than a sample.
sortNoSort criteria for experiments. Format: field,field,direction. Examples: 'experimentId,name,asc', 'spent,desc', 'cpl,asc'experimentId,name,asc
endDateNoEnd date for analysis in ISO 8601 format (YYYY-MM-DDTHH:mm:ss.SSSZ, e.g., '2025-12-15T23:59:59.999Z'). Optional - if not provided, no end date filter is applied.
startDateNoStart date for analysis in ISO 8601 format (YYYY-MM-DDTHH:mm:ss.SSSZ, e.g., '2025-01-01T00:00:00.000Z'). Optional - if not provided, no start date filter is applied.
budget_group_nameYesName of the budget group to analyze (required). The tool will automatically look up the budget group ID. Example: 'Brand Awareness', 'ToFu', 'Lead Gen Q4'
excludeExperimentNameNoExperiment name to exclude from results. Useful for filtering out specific experiments from the analysis.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false. The description adds meaningful behavior beyond that: the internal flow 'Takes name → looks up ID → fetches experiments tagged with budget group', the date semantics ('No dates = all-time data'), and the full list of returned metrics. It does not discuss error cases like unknown group names, but the added context is substantial.

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?

The description is longer than average but highly structured with clear sections: purpose, IMPORTANT, USE FOR, NOT FOR, HOW IT WORKS, METRICS RETURNED, and DATE HANDLING. It front-loads the core purpose and routing guidance. There is minor redundancy in repeating the 'name directly / no ID lookup' point, but overall each section earns its place.

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 tool has 7 parameters and no output schema, the description compensates well by listing the exact metrics returned, explaining the internal lookup flow, and covering date behavior. It does not define every metric name or explain pagination, but the schema handles those details. The definition is sufficiently complete for confident invocation.

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?

Schema description coverage is 100%, so the baseline is 3. The description adds some helpful emphasis around budget_group_name (accepts name directly, no ID lookup required) and date handling, but most of that is already present in the schema property descriptions, which also cover pagination, sorting, and exclusion semantics. The description reinforces rather than meaningfully extends the schema.

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 opens with a precise specification: 'Performance statistics for a specific budget group by name.' It then enumerates the exact metric categories returned and explicitly distinguishes itself from get_budget_group, list_budget_groups, experiment_performance_stats, and account_level_stats, so an agent can tell it apart from its nearest siblings without opening schemas.

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?

The description provides explicit USE FOR and NOT FOR sections, names the exact alternatives for excluded cases, and adds a direct workflow instruction: 'Do NOT call get_budget_group before this tool.' This leaves no ambiguity about when to select this tool versus its siblings.

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.

Resources