Skip to main content
Glama

ADS MCP

List Campaign Sitelinks

list_sitelinks
Read-only

List all sitelink assets linked to a campaign (Search or Performance Max). Returns asset resource names needed for remove_sitelinks. Call this before removing or updating sitelinks.

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

Input Schema

NameRequiredDescriptionDefault
campaign_idYesSearch or Performance Max campaign ID to list sitelinks for.
customer_idNo
user_intentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds value beyond them by disclosing what the call returns ('asset resource names') and why that matters (they are the inputs to remove_sitelinks), which is real behavioral context. Pagination and auth requirements remain undisclosed, keeping it short of a 5.

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 with the resource and scope front-loaded, followed by the return value and then the prerequisite call ordering. No filler wording and nothing redundant.

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 read-only listing tool with no output schema, the definition covers scope, return content, and call ordering. The remaining gap is the unexplained customer_id and user_intent parameters, which an agent must infer from naming alone.

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 coverage is only 33%: campaign_id is documented, but customer_id and user_intent have no schema descriptions. The description reiterates the campaign-type constraint on campaign_id ('Search or Performance Max') but does not explain the two undocumented parameters, so it only partially compensates for the coverage gap.

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?

The description uses a specific verb plus resource ('List all sitelink assets linked to a campaign') and constrains scope to Search or Performance Max campaigns. It also names the downstream consumer (remove_sitelinks), making it distinguishable from the add/remove sitelink siblings 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 Guidelines4/5

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

It gives explicit sequencing guidance: 'Call this before removing or updating sitelinks,' which tells the agent this is the discovery step preceding a mutation. What is missing is a when-not condition, e.g. that it should not be called on other campaign types or when sitelinks are already known.

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.