Skip to main content
Glama

List connected ad platforms

list_ad_platforms
Read-onlyIdempotent

List the ad platforms TrendsAGI supports (Google Ads, Meta, TikTok, LinkedIn, Microsoft Advertising, Snapchat, Pinterest) and which ones this account has connected, with whether each needs reconnecting and whether a campaign is selected for targeting. Use before preview_ad_targeting, or when the user asks where a trend could be targeted. Returns connection state only, never account or campaign details.

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": "list_ad_platforms"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint=false), so the bar is lower. The description still adds meaningful behavioral scope beyond them: it discloses the return contents and explicitly bounds them ('Returns connection state only, never account or campaign details'), which prevents an agent from expecting IDs or campaign data.

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?

It is a single dense sentence that front-loads the core action and keeps the platform parenthetical compact, with the usage conditions and return scope after it. Nothing is redundant, though the triple-clause structure makes it heavier than it needs to be for a no-parameter list tool.

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?

With no output schema, the description carries the burden of describing results, and it does: connection state, reconnect flag, campaign-selection flag, plus an explicit exclusion of account and campaign details. Only minor gaps remain, such as ordering or empty-account behavior for a simple read tool.

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?

The tool takes zero parameters, so there is no parameter meaning to add and the baseline of 4 applies. The description correctly implies a no-argument, account-scoped call without inventing inputs.

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 ad platforms') and then enumerates exactly what is returned: support status, connection state, reconnect need, and campaign selection. It also names the sibling preview_ad_targeting, so an agent can distinguish it from the targeting-preview tool without inspecting either 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?

Gives two concrete call conditions ('before preview_ad_targeting' and 'when the user asks where a trend could be targeted'), which is real routing guidance rather than implied usage. It stops short of a full when-not statement or a named alternative for non-connection queries, so it is clear context rather than complete selection logic.

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.