Skip to main content
Glama

AdsAgent — Google Ads MCP

approval_plan_prepare

Combine 1–20 owned, unexpired, unconfirmed advertising drafts into one immutable approval. Supports mixed operation types within this platform through the existing validated prepare/confirm adapters. Stores a private approval; sends no advertising changes. The source drafts become members and cannot be confirmed separately. Present one approval for the complete requested change set within this platform. Show account and target names, operation, before/after values, warnings and expiry. Keep approval refs, draft IDs, digests, tokens and protocol JSON in tool traffic, not normal chat. Ask for one confirmation of the whole displayed plan. Report each completed, submitted, waiting, failed or uncertain item accurately. A submitted background task is not a verified provider change. Never replay an uncertain write or retry a host safety denial. A waiting_quota plan retains its confirmation only until its original expiry; resume the exact plan after retry_at without asking for another confirmation. Changed or expired plans require review. For video uploads supply the original source URL in source_urls keyed by draft ID; URLs are encrypted at rest and omitted from the review.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
draft_idsYes
source_urlsNo
connection_contextNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / connection_context
      Added value: +{
      +  "pattern": "^mctx_v1_[0-9a-f]{64}$",
      +  "type": "string"
      +}
  2. Added

TDQS

A4.1/5.0
Behavior5/5

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

With annotations only declaring readOnlyHint=false and destructiveHint=false, the description carries substantial extra load: it states a private approval is stored, no advertising changes are sent, the approval is immutable, source drafts are consumed as members and cannot be confirmed individually, and it defines the waiting_quota confirmation-retention semantics and the no-replay/no-retry rules for uncertain writes and safety denials. These are real behavioral traits not conveyed by the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in sentence one, but the body runs long as a single dense block mixing workflow policy, error semantics, and a trailing parameter note. Sentences like 'Report each completed, submitted, waiting, failed or uncertain item accurately' are generic and dilute the sharper content. Content mostly earns its place, but structure could be tighter and better grouped.

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?

With no output schema, the description does an adequate job covering return-relevant behavior: approval refs, draft IDs, digests, tokens, plan states, and expiry handling, plus where that data should be surfaced. Nested source_urls is addressed. Minor gaps remain, such as the unexplained connection_context parameter and no note on the shape of the prepared plan object.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate. It explains that draft_ids are owned/unexpired/unconfirmed and capped at 1–20, and that source_urls must be keyed by draft ID for video uploads with URLs encrypted at rest and omitted from review. The third parameter, connection_context, is never mentioned in the description or schema, leaving one gap.

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 first sentence gives a specific verb and resource with concrete scope: 'Combine 1–20 owned, unexpired, unconfirmed advertising drafts into one immutable approval.' It also clarifies that no advertising changes are sent, which separates it from the confirm step. It never names its siblings (approval_plan_confirm/deny/get) explicitly, so differentiation is inferred from the workflow rather than stated.

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 gives clear usage context: this is the prepare step of a prepare/confirm flow, drafts cannot be confirmed separately, and the agent must 'ask for one confirmation of the whole displayed plan.' It also handles the waiting_quota resume case and the changed/expired-plan re-review case. It does not state when to choose this over the sibling approval tools, but the implied workflow is unambiguous.

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