Skip to main content
Glama
RecurPost MCP Server
by dinwal

label_assign_add

Add labels to one scheduled post or library post by sending label_ids with either post_id or content_id, so content can be organized and filtered by label.

Instructions

Add labels to one scheduled post (post_id from post_content, the queue or history) or one library post (content_id); send exactly one of the two. label_ids come from label_list.

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": {
      "label_ids": "<label_ids>"
    },
    "name": "label_assign_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
post_idNoEncrypted id of a scheduled post, as returned by /api/post_content and the queue and history endpoints. Required when content_id is not sent; never send both.
label_idsYesEncrypted label ids from /api/label_list, up to 50: an array, a JSON array string or a comma-separated string. At least one.
content_idNoEncrypted id of a library post, as returned by the library content endpoints. Required when post_id is not sent; never send both.
workspace_idNoWorkspace to act in (ws_id from workspace_list). Omit to use your default workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=true, so the mutation/safety profile is known. The description adds the mutually exclusive targeting constraint, but says nothing about idempotency of repeated adds, whether existing labels are replaced or appended, or failure modes — and the exclusivity rule is already stated in the schema. Consistent with annotations; no contradiction.

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 short clauses with zero filler; the two target types and the exactly-one rule are front-loaded before the label source hint.

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 4-parameter, fully documented, non-destructive mutation tool with no output schema, the description covers what an agent must know before calling: which id to send, exclusivity, and where label ids come from. Only behavioral details of the add operation (append vs replace, duplicate handling) are absent, a minor gap.

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 all four parameters are already documented, including the post_id/content_id exclusivity and the label_id formats. The description only restates the source of label_ids ('from label_list'), adding little beyond the schema; the baseline of 3 applies.

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?

The description names a specific verb ('Add labels') and precise resources (one scheduled post via post_id, or one library post via content_id), and distinguishes itself from label_list (source) and label_create (creation) by implication. An agent can identify the operation 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?

It states the selection rule clearly: send exactly one of post_id or content_id, and obtain label_ids from label_list. It does not explicitly say when not to use it (e.g., to remove labels or set labels via library_content_update), but the targeting condition is unambiguous.

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