Skip to main content
Glama

Audit ad spend

get_spend_audit
Read-only

A spend check over the window: campaigns to stop (spend that did not turn into purchases or installs at a cost the workspace can afford), campaigns worth more budget, campaigns with spend but no purchase yet, and ones without enough results to judge. Uses the same verdicts as the Campaigns page and changes nothing.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_spend_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
windowNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the read-only and non-destructive annotations, it adds useful behavioral context by explaining the classification logic and stating that verdicts match the Campaigns page. Saying it "changes nothing" mostly repeats the annotations, and the criteria for affordability or sufficient results remain unspecified.

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 front-loaded and compact, with the verdict list doing most of the explanatory work. Its long opening sentence and nested parenthetical are somewhat dense, but there is little genuinely unnecessary wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple one-parameter read-only tool, the description adequately conveys the analysis and its consistency with the UI. Because there is no output schema, the vague affordability and data-sufficiency criteria and missing window default or units leave meaningful gaps in predicting and controlling the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, "over the window" only confirms that the parameter controls the audit period. It does not explain that the values represent days, what happens when the optional parameter is omitted, or how the window boundaries are determined.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly defines an ad-spend audit and enumerates its four campaign verdicts: stop, increase budget, spent without a purchase, and insufficient results. It is specific about the resource and decision-making purpose, though it does not explicitly distinguish the tool from siblings such as get_overview or list_campaigns.

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 verdict categories make it clear to use this tool when assessing budget and spending decisions rather than merely retrieving campaign records. However, it provides no explicit when-not guidance or routing to a sibling for raw campaign details, listings, or broader overview metrics.

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