Skip to main content
Glama

mkt_action

Runs or previews a single gated channel action (publish, reply, message, engage) on X, Reddit, LinkedIn, GitHub, or Hacker News with dry-run and approval safeguards.

Instructions

单条写动作(与队列同一套门禁/暂停/审批/账本)。channel ∈ x|reddit|linkedin|github|hn;action ∈ publish|reply|message|engage。默认 live;dry_run=true 预览;go=true 需已人审 plan 或有效 routine policy 且 routine=true;UNVERIFIED 渠道实跑首跑校准仅限人工 CLI 通道,MCP 不提供绕过。email 只支持队列。

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": {
      "channel": "<channel>",
      "action": "<action>"
    },
    "name": "mkt_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
goNo可选;省略时默认 live,仍需通过执行门
urlNo
textNo
extraNo
titleNo
actionYes
numberNo
targetNo
accountNoroutine policy 精确匹配的执行账号
channelYes
dry_runNotrue 时只预览,不执行外部写动作
routineNo仅在工作区已有有效日常营销授权时使用;不能自我授权
campaignNo
subredditNo

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

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the shared gating/pause/approval/ledger pipeline, that execution passes through a mandatory gate even when go is omitted, that routine cannot self-authorize, and that UNVERIFIED-channel first-run calibration is CLI-only with no MCP bypass. It omits irreversibility of a live write and any rate-limit/return-shape information, 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?

Information is front-loaded and telegraphic, with the most decision-relevant facts (scope, domains, default-live, dry_run, go preconditions, email exclusion) packed into a short block. The heavy abbreviation and symbol notation slightly hurt first-pass readability but nothing is redundant.

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

Completeness3/5

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

For a 14-parameter live write tool with zero annotations and no output schema, the description covers the safety and authorization story well but leaves a large parameter surface and any result/return expectation undocumented. An agent could invoke it correctly in the common path, but would have to guess at several fields.

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 only 29%, so the description must compensate; it does explain the critical control parameters (channel, action, dry_run, go, routine) and their exact enum domains. However, eight or more parameters (url, text, title, extra, target, number, account, campaign, subreddit) receive no meaning from either the description or the schema, and the action values publish/reply/message/engage are listed but never defined.

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 description opens with a concrete verb and resource ("单条写动作" – a single write action) and enumerates the exact channel and action domains, so an agent immediately knows what the tool does. It does not name a specific sibling as the queue-handling alternative, only referring to "the queue" abstractly, so sibling differentiation is left implicit.

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?

It gives real routing and mode guidance: default is live, dry_run=true previews, go=true requires a human-reviewed plan or a valid routine policy plus routine=true, and email must go through the queue instead. It stops short of naming which sibling tool to call for the queue/email path, leaving that one hop to inference.

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