Skip to main content
Glama

Confirm several previewed actions

confirm_batch
Destructive

Approve up to 10 previewed LinkedIn actions at once—scheduled posts, comments, replies, and reactions—after the user has reviewed and approved every item.

Instructions

Approve up to 10 previewed actions in one go: scheduled posts (a planned week), comments, replies to comments and reactions. Each item must already have its own preview and confirmation_token from schedule_post, comment_on_post, reply_to_comment or react_to_post. Only call this after the user has seen every preview in full and approved each one; never include an item they haven't seen. If the AI client supports dialogs, the user ticks each item to send and unticked items are discarded. Items run one at a time in the background; call batch_status for results. Messages and connection requests can't be batched.

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": {
      "confirmation_tokens": "<confirmation_tokens>"
    },
    "name": "confirm_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmation_tokensYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare this as mutating, destructive, non-idempotent, and open-world. The description adds valuable context beyond those: items run one at a time in the background, results are retrieved via batch_status, and dialog behavior discards unticked items. It does not explain failure handling or partial success, but the added behavioral detail is meaningful.

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 description is a single dense paragraph but is front-loaded with the core action and scope. Every sentence adds useful information: preconditions, dialog behavior, background execution, and exclusions. It could be slightly more structured with bullets, but there is no wasted wording.

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 destructive batch-confirmation tool with no output schema, the description covers the essential points: what it does, the required token provenance, user-approval precondition, dialog behavior, background execution, and how to retrieve results via batch_status. It omits error or partial-failure handling, but otherwise provides sufficient context for an agent to call it correctly.

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 description coverage is 0%, so the description must carry the parameter meaning. It explains that confirmation_tokens come from specific preview tools (schedule_post, comment_on_post, reply_to_comment, react_to_post) and that there can be up to 10 items. It does not mention the minimum of 2 items required by the schema, but the core semantics of what the tokens are and where to obtain them are well covered.

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 states a specific verb (Approve) and resource (previewed actions), enumerates the action types (scheduled posts, comments, replies, reactions), and gives the batch scope (up to 10 in one go). It does not explicitly contrast with the single-action sibling confirm_action, 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear preconditions: each item must already have a preview and confirmation_token from the named preview tools, and the user must have seen every preview in full and approved each one. It also provides a when-not case (messages and connection requests can't be batched) and points to batch_status for results. It does not name confirm_action as the alternative for a single action, leaving that inference to the reader.

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