Skip to main content
Glama

mkt_run_queue

Execute queue-based multichannel campaigns with dry-run preview and safeguards requiring human-reviewed plans or matching routine policies before live writes.

Instructions

执行一个队列(全渠道:email/hn/github/reddit/linkedin/x-reply)。默认 live;dry_run=true 预览;go=true 实跑;UNVERIFIED 渠道首跑校准仅限人工 CLI 通道;实跑须已人审 plan,或显式 routine=true 且策略匹配(无 plan 的 adhoc 仅 CLI;授权管理不对 MCP 开放)。

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": {
      "queue_path": "<queue_path>"
    },
    "name": "mkt_run_queue"
  }
}

Input Schema

NameRequiredDescriptionDefault
goNo可选;省略时默认 live,仍需通过执行门
accountNo可选:覆盖队列顶层账号,供 routine policy 精确校验
dry_runNotrue 时只预览,不执行外部写动作
routineNo仅使用已存在的 routine policy;MCP 不能创建或撤销授权
queue_pathYesdata/queues/<campaign>.json

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.21.0
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "default": false,
      +  "description": "true 时只预览,不执行外部写动作",
      +  "type": "boolean"
      +}
    • removedInput schema / properties / go / default
      Removed value: -false
    • addedInput schema / properties / go / description
      Added value: +"可选;省略时默认 live,仍需通过执行门"
  2. First observedv0.13.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does so well: it discloses that the default is a live external-write execution, that gating requires human review or a matching routine policy, and that UNVERIFIED channels need first-run calibration via manual CLI. It does not cover failure/partial-run behavior, idempotency, or what a queue execution changes on disk, which keeps it from a 5.

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?

The purpose is front-loaded and every clause carries operational meaning; nothing is padding. The semicolon-chained structure and compressed jargon (UNVERIFIED, 执行门, routine policy) make it dense to parse, but the information density is appropriate for a gated write tool.

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 high-risk, multi-channel execution tool with no annotations and no output schema, the definition covers the critical decision surface: default behavior, preview path, authorization model, and per-channel calibration limits. What remains uncovered is operational outcome detail — partial failures, progress reporting, and mutation of the queue file — which matters for an external-write tool.

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%, so the schema already documents every parameter, including the defaults for go, dry_run, and routine and the note that MCP cannot create or revoke authorization. The description mostly restates that flag semantics in prose (go=实跑, dry_run=预览, routine=已有策略), adding connective context about the execution gate but little genuinely new meaning per parameter.

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 definition opens with a specific verb+resource ('执行一个队列') and enumerates the channels covered (email/hn/github/reddit/linkedin/x-reply), so an agent knows exactly what is being executed. It does not name or distinguish itself from siblings such as mkt_action or mkt_cadence, so it stops short of a 5.

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?

It states the default mode (live), how to preview (dry_run=true), how to actually run (go=true), and the preconditions for a live run: a human-reviewed plan, or explicit routine=true with a matching policy. It also names the exclusions — adhoc runs without a plan and authorization management are CLI-only and not exposed over MCP — which is exactly the when/when-not framing an agent needs.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.