Skip to main content
Glama

List campaigns

list_campaigns
Read-only

Lists a brand's campaigns with their id, short name, objective, angle, channels, status, when they were created, and how many posts are working / waiting on the owner / approved. Use this to find a campaignId for an existing campaign — none of the other campaign/post tools can look one up by name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
brandIdYesThe brand's id, from list_brands.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds meaningful context about the returned data (field list including post-status counts), though it omits pagination, ordering, or rate-limit behavior.

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?

Two tight sentences, front-loaded with what the tool returns followed by the precise use case. Every phrase carries information and nothing is 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?

With no output schema, the description compensates well by listing returned fields and the lookup purpose. Minimal gaps remain around pagination or default result limits, but the core information needed to invoke and interpret the tool is present.

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 description coverage is 100% and the single parameter (brandId) is fully documented in the schema as coming from list_brands. The description does not add any parameter-level detail, so the baseline of 3 applies.

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 ('Lists a brand's campaigns'), enumerates the returned fields, and explicitly distinguishes itself from other campaign/post tools by noting none can look up a campaign by name.

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?

Provides an explicit use case ('find a campaignId for an existing campaign') and rules out alternatives by stating that no other campaign/post tool can perform a name lookup, leaving no ambiguity about when to choose this tool.

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.