Skip to main content
Glama

Ads MCP

Export your day-by-day history

export_history
Read-onlyIdempotent

Paid plans only. Returns your campaign metrics day by day as CSV, so you keep them yourself. Google keeps daily data for 37 months (from 1 June 2026), so this is how you own the part that will be deleted. Nothing is stored on this server.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "customer_id": "<customer_id>"
    },
    "name": "export_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNoDate rangeLAST_30_DAYS
customer_idYesGoogle Ads customer ID, 10 digits (dashes allowed)
login_customer_idNoManager account ID used to reach this customer (login-customer-id). Needed when access comes through a manager account.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (which only say read-only, idempotent, non-destructive), the description adds the plan gating requirement, the CSV response medium, a statelessness guarantee ('Nothing is stored on this server'), and the retention rationale behind the export. These are exactly the auth, output, and data-handling facts annotations cannot express.

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 gating constraint 'Paid plans only' is front-loaded, which is the right ordering. The retention sentence is slightly convoluted and reads partly as motivation rather than operational fact, but nothing is redundant enough to harm selection.

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 three-parameter read-only export with no output schema, the description supplies the missing return-format information (CSV) and the plan prerequisite. What remains unstated — pagination, size limits, or how the CSV is delivered — is minor for this tool's complexity.

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% and all three parameters are documented, including the enum for period and the manager-account semantics of login_customer_id. The description adds no parameter-level meaning beyond the schema, so the baseline 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?

States a specific verb and resource ('Returns your campaign metrics day by day as CSV') plus the output medium, so the agent knows this is an export rather than an on-screen report. It does not explicitly differentiate itself from reporting siblings such as client_report or client_dashboard, so it falls 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 Guidelines4/5

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

'Paid plans only' gives a hard prerequisite, and 'this is how you own the part that will be deleted' states the situation that selects this tool over live-query siblings. It never names an alternative tool or an explicit when-not-to-use condition, so it stops short of full routing guidance.

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