Skip to main content
Glama

remove_orphan_budgets

Detect and delete Google Ads budgets with no attached campaigns, preventing orphan spend records. Requires confirm=true to execute removal.

Instructions

Find and remove orphan budgets (reference_count = 0). Requires confirm=true.

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": "remove_orphan_budgets"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoMust be true to execute. Removes budgets not attached to any campaign.
customer_idNoGoogle Ads customer ID (no dashes). Uses active account if not provided.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.1

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the key traits: this is a destructive operation, it is scoped strictly to budgets with reference_count = 0, and a confirm=true gate must be supplied. It omits irreversibility, what happens when confirm is false or missing, and any permission requirements, leaving some behavioral gaps.

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?

Two short sentences with zero waste, and the operation and its selection criterion are front-loaded ahead of the precondition. Nothing is redundant or buried.

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?

The tool is simple (2 params, no nesting) and has an output schema, so return values need no explanation; the description covers scope and the safety gate adequately. What is missing is a note on reversibility or a recommended pre-check to list affected budgets before deleting.

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%, with both confirm and customer_id fully described in the schema itself. The description only restates the confirm=true requirement and adds no new syntax, defaults, or edge-case meaning beyond the schema, so the baseline of 3 applies.

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 names a specific verb ('Find and remove') and resource ('orphan budgets'), and even defines the qualifying criterion (reference_count = 0), which makes the target set unambiguous. It does not explicitly contrast itself with list_budgets or the other remove_* siblings, so it stops short of a 5.

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

Usage Guidelines3/5

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

Usage is only implied: 'Find and remove orphan budgets' tells an agent the situation it applies to, and 'Requires confirm=true' gives a precondition. There is no stated when-not-to-use guidance and no suggestion to inspect candidates via list_budgets first, so the agent must infer the workflow.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools