Skip to main content
Glama

Onsa

List campaigns

list_campaigns
Read-onlyIdempotent

Lists the campaigns (past lead searches) in this workspace that the user takes part in, newest first. Returns the newest limit of them, default 50; returned against total shows whether older campaigns were omitted. Each entry has id, title, leadsTotal, hasIcp, tags, createdAt and updatedAt. An id is accepted by get_campaign for its ICP, get_campaign_leads for its people, get_campaign_stats for its outreach funnel, list_replies for what prospects wrote back, and list_next_steps for what the campaign still needs a human to do. Searches started over MCP often share a generic title, so the ICP and the dates distinguish cohorts more reliably than the title alone. A campaign row exists from the moment a search starts, so the newest entry is frequently still empty, with leadsTotal 0.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoHow many campaigns to return, newest first (default 50)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
totalYes
returnedYes
campaignsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already mark readOnly/idempotent/non-destructive, and the description adds substantial behavior beyond that: newest-first ordering, default limit and returned/total omission signal, field list, and the caveat that a campaign row exists as soon as a search starts and is often empty with leadsTotal 0. No contradiction.

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?

The main action is front-loaded in the first sentence, and each subsequent sentence adds useful operational detail (limit behavior, fields, follow-up routing, cohort identification, empty newest rows) without fluff. Length is justified for a central list tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter list tool with an output schema and strong annotations, the description covers scope, ordering, limit semantics, return fields, caveats, and downstream tool usage. Nothing an agent needs to select or invoke it correctly is missing.

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 100% and the schema already explains limit and its default. The description adds the returned/total consequence of limiting, but this is primarily output behavior, so it only marginally enriches the parameter semantics beyond the schema.

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 first sentence states a specific verb ('Lists'), resource ('campaigns (past lead searches)'), and scope ('in this workspace that the user takes part in'), plus ordering ('newest first'). It clearly separates this from sibling detail tools by naming what an id can be used for next.

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?

The description explicitly maps follow-up tools to their purposes ('get_campaign for its ICP, get_campaign_leads for its people...') and warns that generic MCP titles make title unreliable, telling the agent how to interpret results. This is more than clear context; it routes to alternatives by need.

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.

Resources