Skip to main content
Glama

Google Ads & Meta Ads

Google Ads: List Sitelinks

gads_list_sitelinks
Read-onlyIdempotent

List the sitelinks of a Google Ads account — the extra links shown under a Search ad — with their link text, the two description lines, the page each one sends people to, and whether they are attached to the whole account, to one campaign or to one ad group. Use this to find campaigns running without sitelinks, sitelinks pointing at dead or generic pages, and sitelinks that just repeat the ad's own headlines. Set include_metrics to also get each sitelink's clicks, impressions, cost and conversions for the range; the clicks are split into clicks on the sitelink itself and clicks elsewhere in the ad while it was showing, because Google reports the two together and only the first belongs to the sitelink. For the ads themselves use gads_list_ads, and for Performance Max asset groups use gads_list_asset_groups.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "gads_list_sitelinks"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelNoWhich link level to read. Default all: the account's own sitelinks, the ones on campaigns and the ones on ad groups.
limitNoMax rows per level. Default 100, max 1000.
sinceNoCustom range start, YYYY-MM-DD.
untilNoCustom range end, YYYY-MM-DD.
ad_group_idNoOnly sitelinks linked to this ad group.
campaign_idNoOnly sitelinks linked to this campaign.
customer_idNoGoogle Ads account to read: customer id or account name (from gads_list_ad_accounts). Pass it whenever the conversation is about a particular account; omitted, the only account or the stored default is used.
date_presetNoPreset range for the metrics. Default LAST_30_DAYS. Ignored when since/until are set, and irrelevant without include_metrics.
include_metricsNoAlso return each sitelink's clicks, impressions, cost and conversions. Default false — it costs a second query per level.

Output Schema

NameRequiredDescriptionDefault
currencyNoISO currency code that every money field in this result is denominated in, e.g. UAH or USD. Null when it could not be resolved — do not assume a currency then.
dateRangeYesRange the metrics cover, or none when they were not asked for.
sitelinksYesOne row per sitelink link.
truncatedYesTrue when a level hit the row cap, so more sitelinks exist than were returned.
customerIdYesCustomer account the sitelinks belong to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare this a safe, idempotent read; the description adds the non-obvious reporting quirk that Google merges clicks on the sitelink with clicks elsewhere in the ad, and that only the first belongs to the sitelink. It also discloses that include_metrics triggers an extra query per level, which is real operational cost the annotations do not convey.

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?

Front-loaded with the object of the call and then the fields, followed by use cases and alternatives — a sensible order. It runs long as a single dense block, but essentially every clause carries information an agent needs; no filler or restatement of the name.

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?

An output schema exists, so return-value explanation is not required, and the description still describes the row shape. With 9 optional parameters, zero required, full schema coverage, and explicit sibling routing, an agent has everything needed to call this correctly.

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 coverage is already 100%, so the baseline is 3, but the description meaningfully extends include_metrics (what it adds), date_preset interplay (ignored when since/until set, irrelevant without metrics), and the attachment-level concept behind the level enum. It stops short of explaining limit/ad_group_id/campaign_id interplay, which the schema handles.

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 and resource ("List the sitelinks of a Google Ads account") and then enumerates what each row carries: link text, two description lines, destination page, and attachment level. It explicitly distinguishes itself from gads_list_ads and gads_list_asset_groups, so an agent can pick the right tool without opening a 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?

Gives concrete diagnostic use cases (campaigns running without sitelinks, links to dead or generic pages, links repeating ad headlines) rather than a generic "use this to list." It names the two sibling alternatives and their respective domains, and flags the include_metrics condition that changes cost.

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