Skip to main content
Glama

ADS MCP

Add Campaign Sitelinks

add_sitelinks

Add sitelink extensions to a Search or Performance Max campaign. Each sitelink needs link_text (max 25 chars) and final_url. Optional description1 + description2 (max 35 chars each). Max 10 sitelinks per call. For account-level sitelinks (apply to all eligible campaigns) use add_account_sitelinks instead.

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": {
      "user_intent": "<user_intent>",
      "campaign_id": "<campaign_id>",
      "sitelinks": "<sitelinks>"
    },
    "name": "add_sitelinks"
  }
}

Input Schema

NameRequiredDescriptionDefault
sitelinksYesArray of sitelink objects. Max 10.
campaign_idYesSearch or Performance Max campaign ID to attach sitelinks to.
customer_idNo
user_intentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations declare a non-read-only, non-destructive mutation, and the description adds real limits: max 10 sitelinks per call and per-field character caps. However, it never says whether added sitelinks append to or replace existing ones, how duplicates or over-limit campaigns are handled, or what comes back on failure — meaningful gaps for an 'add' mutation with no output schema.

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?

Four short sentences, front-loaded with the action and scope, then constraints, then the routing note. Minimal waste; the only redundancy is repeating character limits already present in the schema.

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

Completeness3/5

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

For a 4-parameter mutation with no output schema, the description covers the payload shape and the sibling split but omits append-vs-replace semantics, per-campaign sitelink ceilings, and the purpose of the required user_intent parameter. Adequate to start the call, incomplete for calling it correctly.

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

Parameters2/5

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

Schema coverage is only 50%, and the description restates the sitelink field constraints that the schema already documents rather than compensating. Two parameters — customer_id and especially the required, unlabeled user_intent — are documented in neither the schema nor the description, leaving half the call surface unexplained.

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?

States a specific verb ('Add') and resource ('sitelink extensions') plus the exact campaign types supported (Search or Performance Max). It also names the sibling it is not (add_account_sitelinks), so an agent can route without opening any schema.

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

Usage Guidelines5/5

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

Explicitly gives the alternative and the condition that selects it: 'For account-level sitelinks (apply to all eligible campaigns) use add_account_sitelinks instead.' The campaign-scoped vs account-scoped split is the single routing decision this tool faces, and the description resolves it directly.

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.