Skip to main content
Glama

ADS MCP

Add Account-Level Sitelinks

add_account_sitelinks

Add sitelinks at the account level — they apply automatically to all eligible campaigns, including Search, Performance Max and Demand Gen. Each sitelink needs link_text (max 25 chars) and final_url. Optional description1 + description2 (max 35 chars each). Max 10 per call.

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>",
      "sitelinks": "<sitelinks>"
    },
    "name": "add_account_sitelinks"
  }
}

Input Schema

NameRequiredDescriptionDefault
sitelinksYesArray of sitelink objects. Max 10.
customer_idNo
user_intentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the write-safety profile is covered; the description adds real value beyond that by disclosing the propagation effect (sitelinks attach to all eligible campaigns automatically) and a per-call cap of 10. It does not say whether the operation is purely additive, what happens when 10 already exist, or what permissions/account access are required.

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?

Three short sentences, front-loaded with the scope-defining statement, then field constraints, then the batch limit. No filler, and each sentence carries distinct information.

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?

With no output schema and no annotations covering return shape, the description omits what a successful call returns and how partial failures (e.g., some sitelinks rejected) are reported. For a mutation that silently affects every eligible campaign, that plus the unexplained customer_id/user_intent leaves meaningful gaps.

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 only 33%, so the description must compensate, and it partly does: it restates link_text (max 25 chars), final_url, the two optional description fields (max 35 chars each), and the max-10 array bound. However, customer_id and user_intent — two of the three top-level parameters, including a required one — get no explanation in either the schema or the description.

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 description uses a specific verb ('Add') plus resource ('sitelinks') and adds a precise scope modifier ('at the account level'), which is the key differentiator from the sibling add_sitelinks. It also names the campaign types affected (Search, Performance Max, Demand Gen), so an agent can tell what this writes. It stops short of explicitly naming the sibling it contrasts with.

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

Usage Guidelines3/5

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

The scope phrase 'at the account level — they apply automatically to all eligible campaigns' implies when this is the right choice versus a campaign-scoped alternative, but the description never states an explicit condition or names the alternative. There is no guidance on when not to use it (e.g., if a sitelink should only apply to one campaign).

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.