Skip to main content
Glama

create_sitelink

Create and link Google Ads sitelinks at account, campaign, or ad group level; use this to replace outdated assets by removing old links.

Instructions

Create and link a sitelink at account, campaign, or ad group level.

Google Ads asset content cannot be edited in place. Create the replacement first, then remove the old link with remove_extension.

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": {
      "link_text": "<link_text>",
      "final_url": "<final_url>"
    },
    "name": "create_sitelink"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoMust be true to execute.
final_urlYesLanding page URL for the sitelink
link_textYesSitelink display text (max 25 characters)
ad_group_idNoAd group ID to link to. Provide either this or campaign_id.
campaign_idNoCampaign ID to link to. Provide either this or ad_group_id.
customer_idNoGoogle Ads customer ID (no dashes). Uses active account if not provided.
description1NoFirst description line (max 35 characters)
description2NoSecond description line (max 35 characters)
account_levelNoLink across the account. Cannot be combined with campaign_id or ad_group_id.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.1

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations at all, the description carries the full behavioral burden, and it does disclose one non-obvious trait: Google Ads asset content cannot be edited in place, so the tool is create-then-replace. However, it says nothing about permissions, whether duplicate sitelinks are deduplicated, side effects on existing links, or that the call is gated by a confirm flag (only the schema reveals that). Useful but incomplete for an unannotated mutation tool.

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?

Two short sentences, purpose first, workflow caveat second. Nothing is wasted and the key constraint is front-loaded.

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 9-parameter mutation tool with a full schema and an output schema, the description covers purpose and the replace-not-edit workflow adequately. The remaining gaps (confirm gating, permission prerequisites, duplicate handling) are behavioral rather than structural, so it is nearly but not fully complete.

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 every parameter including the account_level/campaign_id/ad_group_id exclusivity rule is already documented. The description adds no syntax, format, or constraint detail beyond the schema, which matches the baseline 3.

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 (create and link) plus the resource (sitelink) and the three possible levels (account, campaign, ad group). It also names the counterpart sibling remove_extension, so an agent can infer this is the additive half of the asset workflow. It does not distinguish itself from other create_* asset tools (callout, structured snippet, image extension), which is why 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?

Gives a concrete workflow rule: create the replacement first, then delete the old link via remove_extension. That is genuine when/how guidance rather than restating the name. It gives no explicit guidance on choosing account_level versus campaign_id/ad_group_id beyond what the schema says, and no when-not-to-use conditions.

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

Deploy Server

Other Tools