Skip to main content
Glama
OpenAds MCP
by yashwp

Get Campaigns

get_campaigns

List all advertising campaigns for a specified account, enabling quick review of campaign coverage for ad intelligence workflows.

Instructions

List all advertising campaigns for an account.

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

Input Schema

NameRequiredDescriptionDefault
account_idNoAccount identifier. Use "mock-us" or "mock-uk" until a real provider is configured.mock-us

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden: beyond implying a read operation, it says nothing about pagination, ordering, rate limits, or what happens when no real provider is configured. The 'mock-us'/'mock-uk' caveat lives only in the schema, not the description.

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?

A single front-loaded sentence with no filler; every word identifies subject and scope. Nothing could be removed without losing 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?

The tool is simple (one optional param, output schema present, so return values need not be described), and the schema covers the mock-account caveat. However, with zero annotations the description should at least state that this is a non-mutating read and hint at how it relates to sync_campaigns.

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?

The single account_id parameter is fully documented in the schema, including default and mock values, so the schema does the heavy lifting. The description adds no meaning about the parameter beyond the schema's own text, which matches the 3 baseline at 100% coverage.

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?

"List all advertising campaigns for an account" gives a specific verb (List), resource (advertising campaigns), and scope (per account), so an agent knows exactly what it returns. It does not distinguish itself from the sibling sync_campaigns, leaving the read-vs-sync split implicit.

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

Usage Guidelines2/5

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

There is no explicit when-to-use statement and no mention of the sibling sync_campaigns, which is the obvious alternative for refreshing campaign data. The only guidance is implicit in the verb "List".

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