Skip to main content
Glama
google-ads-audit-mcp

google-ads-audit-mcp

clean_google_ads_csv

Read-onlyIdempotent

Parse a local Google Ads UI CSV export from a file path or raw text, remove banner and Total summary rows, and return accurate detail row counts and cost totals.

Instructions

Parse a local Google Ads UI CSV export (from a file path or raw CSV text), strip banner and Total summary rows, and return accurate detail row counts and cost totals.

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

Input Schema

NameRequiredDescriptionDefault
pathNoPath to a local Google Ads UI CSV export file.
csv_textNoRaw CSV text content if not passing a file path.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description contributes real extra context by disclosing the cleanup behavior (banner and Total summary rows removed) and what the output reports (detail row counts, cost totals). It does not cover error behavior when neither input is supplied.

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?

A single tight sentence that front-loads the verb and resource before listing the processing steps and outputs. Every clause carries information; nothing is redundant.

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?

For a simple two-parameter tool with full annotation coverage, the description explains input modes, processing, and output contents adequately. The one notable gap is that no parameters are required, yet the description does not say what happens if both path and csv_text are omitted.

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 both parameters are already documented in the schema. The description restates the path-vs-raw-text distinction without adding format or precedence guidance, so the baseline of 3 is appropriate.

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?

States a specific verb and resource — 'Parse a local Google Ads UI CSV export' — plus two concrete transformations: stripping banner/Total rows and computing detail row counts and cost totals. It does not reference the sibling tools (budget pacing, keyword collision), but the purpose is distinct enough on its own.

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?

The phrase 'local Google Ads UI CSV export' implicitly scopes usage to that specific export format, and 'from a file path or raw CSV text' indicates the two input modes. However, it never states when to use this instead of an API-based fetch or what input formats are unsupported.

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