Skip to main content
Glama

MindThread

Set cloud patrol

set_cloud_patrol
DestructiveIdempotent

Creates or updates an account's cloud patrol: keywords (1 to 10; a "#tag" entry searches a topic tag), reply persona, daily_cap (1 to 50 on free and trial, up to 80 on paid plans, up to 150 with a haixun add-on), enabled, and review_before_reply. When patrol is on, the account replies to relevant fresh Threads posts through the official API every 15 minutes, one patrol point per delivered reply; with review_before_reply:true every drafted reply waits in list_pending_replies instead of going out. Turning patrol on, or changing a patrol that is already on, needs the patrol permission, which is not granted to directory connections: the owner does it in MindThread. Applies when the user wants to stop patrol or tune its keywords, persona and cap while it is off.

Input Schema

NameRequiredDescriptionDefault
modeNo"reply" (default): AI drafts and posts replies. "discover": only list matching posts for you to read; no AI, nothing posted
enabledNoStart / stop
personaNoReply persona
keywordsNo1-10 entries; "#tag" = topic-tag search
daily_capNoreply: 1-50 free/trial, up to 80 paid, up to 150 with add-on; discover: 1 to plan daily haixun points (default)
account_idYesAccount id
review_before_replyNoHold drafts for approval

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the destructive/idempotent/openWorld annotations: 15-minute polling of fresh Threads posts via the official API, one patrol point consumed per delivered reply, the review_before_reply hold-in-list_pending_replies behavior, and the permission gating. That is exactly the operational context an agent needs before mutating this resource.

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?

Dense but organized: configurable fields first, then runtime behavior, then permission constraint, then the user-intent trigger. It is a single long block and some tier detail repeats the schema, but no sentence is padding.

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?

Covers purpose, behavior, permission prereqs and the review loop, with no output schema to explain. The remaining gap is update semantics (partial merge vs full replace) and what the call returns, which an agent would reasonably want for a destructive upsert.

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%, so baseline is 3; the description still adds value by tying review_before_reply to list_pending_replies and explaining what daily_cap consumes and what the plan tiers mean in practice. It does not clarify whether omitted fields are preserved or reset, which matters for a set-style upsert.

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?

Specific verb pair ('creates or updates') plus resource ('an account's cloud patrol') and an enumeration of the configurable surface (keywords, persona, daily_cap, enabled, review_before_reply). It does not explicitly name get_cloud_patrol as its read counterpart, so sibling differentiation is implied rather than stated.

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?

Gives an explicit when-to-use clause ('stop patrol or tune its keywords, persona and cap while it is off') and a hard when-not: turning patrol on or editing an enabled patrol requires the patrol permission, which directory connections lack, so the owner must do it in MindThread. It also routes review-mode drafts to list_pending_replies.

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.