Skip to main content
Glama

DirectIQ

directiq_get_campaign

Read-onlyIdempotent

Get one campaign by ID: name, type, status, subject, sender, target lists and segments, template ID, recipient count, and scheduled send time. For opens, clicks, and other results, use directiq_campaign_stats.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "directiq_get_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesNumeric campaign ID (from directiq_list_campaigns)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, and closed-world behavior. The description adds useful context by enumerating the returned fields, which matters because there is no output schema. It does not mention error behavior for missing IDs or rate limits, but the annotations lower the bar.

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 tightly written sentences. The primary purpose and returned fields are front-loaded, and the final sentence efficiently routes the agent to the stats sibling without wasted words.

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?

For a simple one-parameter read tool with no output schema, the description is nearly complete: it lists the fields an agent can expect and points to the correct alternative for performance data. A minor gap is the absence of any note about what happens when the campaign ID does not exist.

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 one parameter is fully documented in the schema, including that it is a numeric campaign ID sourced from directiq_list_campaigns. The description only says 'by ID' and adds no format or validation detail beyond the schema, so the baseline 3 is appropriate.

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 ('Get one campaign by ID') and enumerates the exact fields returned, including name, type, status, subject, sender, target lists/segments, template ID, recipient count, and scheduled send time. It distinguishes itself from directiq_campaign_stats by explicitly routing performance metrics elsewhere.

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?

Explicitly says to use directiq_campaign_stats for opens, clicks, and other results, which is a clear alternative. However, it does not mention directiq_list_campaigns as the source of IDs in the description (that appears only in the schema), nor does it discuss when to use directiq_campaign_report.

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.