Skip to main content
Glama

autoseo_set_approval_mode

Idempotent

One switch for blog auto-publishing: set approvalMode "auto" (articles that pass the automated checks publish on cadence, no approval, no dashboard) or "draft" (every article waits for approval) on one or more sites (siteIds) or on EVERY connected site of the active org (all: true). Only ever touches the org this credential is bound to (check whoami first). "auto" needs a publish-capable token. Returns per site the stored approvalMode and effectiveApprovalMode (what the runner will really do; a search-recovery clamp can keep a site on draft, with the reason). CAPABILITY: publish: this can reach a LIVE AUDIENCE. A draft-scoped token gets a 403 here; a human must approve at timetopost.co instead.

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": {
      "approvalMode": "<approvalMode>"
    },
    "name": "autoseo_set_approval_mode"
  }
}

Input Schema

NameRequiredDescriptionDefault
allNotrue = every connected site in the active org. Omit when siteIds is given.
siteIdsNoSite ids from autoseo_list_sites. Omit when all is true.
approvalModeYes"auto" = publish without approval; "draft" = approval queue

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare the generic profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false, openWorldHint=true); the description adds the material behavior: org-bound confinement, the publish capability and live-audience risk, the 403 outcome for draft-scoped tokens, and that a search-recovery clamp can override the stored value. It also discloses the per-site return fields and the reason string, which is far beyond what the annotations convey.

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 mode switch is front-loaded and every sentence carries operational weight (capability warning, scoping, return shape). It is denser than needed — the parenthetical definitions repeat portions of the schema and the quoted emphasis is heavy — but no sentence is filler.

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?

With no output schema, the description still explains exactly what comes back per site (stored approvalMode plus effectiveApprovalMode and the clamp reason), which is the key ambiguity for this tool. Prerequisites, scope, and failure mode (403) are all covered for a 3-parameter mutation.

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% (baseline 3), but the description adds meaning the schema lacks: that 'auto' requires a publish-capable token and that siteIds/all are mutually exclusive targeting strategies limited to the active org. The enum values themselves are largely restated from the schema, so it stops short of a 5.

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?

Names a specific verb+resource (set approvalMode on blog auto-publishing) and precisely explains the two states, including what each state means operationally ('publish on cadence, no approval' vs 'every article waits for approval'). Scoping is spelled out ('one or more sites (siteIds) or on EVERY connected site of the active org (all: true)'), so an agent can distinguish it from draft/resolve/approve siblings without opening the schema.

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 clear conditions for each mode value and a prerequisite ('check whoami first') plus a fallback path ('a human must approve at timetopost.co instead') when the token is draft-scoped. It does not explicitly name a sibling alternative for approval actions, but the when-to-use context is unambiguous.

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.