Skip to main content
Glama

Workspace list campaigns

workspace_list_campaigns
Read-only

Google and Meta campaigns with performance stats from synced data. Dates are YYYY-MM-DD; range is a preset such as 7d, 30d, 90d, yesterday, last_week, last_month, last_quarter. client_id picks the brand (defaults to the active one); extra passes any other field the app accepts.

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

Input Schema

NameRequiredDescriptionDefault
extraNo
rangeNo
date_toNo
user_idNo
platformNo
client_idNo
date_fromNo
user_emailNo
include_statsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds real behavioral context by noting results come from synced data, implying freshness is bounded by the sync state, but it says nothing about pagination, result limits, or whether stats are included by default.

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?

Three compact sentences with no filler; the resource and data source are front-loaded. The last sentence packs three unrelated facts (client_id, default, extra) together, which is dense but still scannable.

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?

An output schema exists, so return values need not be described. However, for a 9-parameter, zero-coverage tool the description leaves the platform filter, the include_stats toggle, and both user scoping parameters undocumented, which is a real gap for correct invocation.

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 0%, and with 9 parameters the description carries the burden. It compensates well on the hardest parameters by enumerating the range presets (7d, 30d, 90d, yesterday, last_week, last_month, last_quarter) and the YYYY-MM-DD date format, plus client_id's default-to-active-brand behavior and the 'extra' passthrough. It leaves platform, include_stats, user_id, and user_email completely unexplained, and include_stats is arguably the parameter that governs the 'performance stats' promised in the first sentence.

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 names the resource (Google and Meta campaigns) and states what comes back (performance stats from synced data), which implicitly separates it from the single-platform siblings such as meta_list_campaigns and google_ads_list_account_campaigns. It never explicitly says 'list' or names a sibling, so the cross-platform scope must be inferred from the conjunction of the two platforms.

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?

Usage is implied rather than stated: 'from synced data' signals this reads cached sync results rather than hitting the ad platform APIs live, which is a meaningful cue given the refresh_* siblings. There is no explicit when-to-use versus when-not, and no named alternative to route to when the agent wants live or single-platform data.

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.