Skip to main content
Glama

DirectIQ

directiq_list_campaigns

Read-onlyIdempotent

List email campaigns and automation flows with ID, name, type (Regular or Flow), status, subject, sender, target lists, recipient count, and scheduled send time. Returns { campaigns, nextPageToken }; pass nextPageToken back to get the next page (null means no more). Use the IDs with directiq_campaign_stats for performance.

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

Input Schema

NameRequiredDescriptionDefault
nextPageTokenNoToken from the previous page; omit for the first page

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, so the safety profile is covered. The description adds genuinely non-redundant behavior: the { campaigns, nextPageToken } response shape, the null-means-no-more sentinel, and the intended handoff to campaign_stats.

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?

Three sentences: payload fields first, return/pagination contract second, next-step routing third. No throat-clearing and no repetition of the annotations.

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?

No output schema exists, and the description compensates by naming the returned keys and the enumerated fields. What is missing is minor: sort order or default page size is not mentioned, which slightly affects predictability of a paged list.

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?

Schema coverage is 100% and the single parameter is already documented, so the baseline is 3. The description goes beyond the schema by explaining the token's lifecycle (returned in the response, passed back, null terminates), which is meaningful semantics the schema field text does not give.

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 email campaigns and automation flows) and enumerates exactly what each record contains (ID, name, type, status, subject, sender, target lists, recipient count, scheduled time). This clearly separates it from the singular siblings directiq_get_campaign and directiq_campaign_stats.

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 explicit follow-on guidance: pass nextPageToken back for the next page, and use the returned IDs with directiq_campaign_stats. It does not state exclusions (e.g., how to filter to only flows or only a given send date), so it stops short of a full when/when-not framing.

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.