Skip to main content
Glama

get_campaign

Read-only

Read a campaign and its durable creation summary, including partial failures and gaps, plus observed bidding/learning status. Learning days remaining are null because Google Ads does not expose its UI countdown. serving holds what Google Ads will serve: currency_code, daily budget in that currency, current locations with their location setting, and networks (Google Search, Search Partners, Display Network, AI Max; null for Performance Max). content lists each ad or asset group with its first headlines, and approval counts for its ads or assets. Echo serving and content before set_campaign_status ENABLED.

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": {
      "account": "<account>",
      "campaign_id": "<campaign_id>"
    },
    "name": "get_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountYes
campaign_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds genuine context beyond that: the creation summary may contain partial failures and gaps, and learning-days-remaining is deliberately null because Google Ads does not expose the UI countdown. That null-semantics disclosure is exactly the kind of trait an agent would otherwise misread as missing data.

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?

Purpose and the key caveat (null learning days) are front-loaded, and each sentence about `serving` and `content` earns its place by describing distinct return sections. The final sentence about echoing before set_campaign_status is a workflow note that sits slightly awkwardly at the end but still carries operational value.

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

Completeness5/5

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

There is no output schema, so the description must carry the return-shape burden, and it does: it names the fields inside `serving` (currency_code, budget, locations with setting, networks including the Performance Max null case) and inside `content` (headlines, approval counts per ad/asset group). Combined with the annotation coverage of safety, nothing material is missing for correct 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 0% and the description never explains `account` (a nested AccountRef with credential_version) or `campaign_id` (uuid) beyond what their names imply. The parameter names are largely self-evident for a single-campaign read, which keeps this at minimum viable, but the description adds no meaning the schema does not already carry.

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 specific verb and resource ('Read a campaign') and then enumerates exactly what is returned: durable creation summary with partial failures and gaps, bidding/learning status, `serving`, and `content`. An agent can distinguish this from get_campaign_performance or list_campaigns purely from the text, since it scopes itself to a single campaign's configuration and creation record.

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?

It states a concrete workflow precondition: echo serving and content before calling set_campaign_status ENABLED, which tells the agent when this tool must be used. It does not, however, give explicit exclusions (e.g., when to prefer get_campaign_performance for metrics), so it stops short of full when/when-not 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