Skip to main content
Glama

Plan a batch of posts for approval

plan_batch
Destructive

Send a batch of finished posts (up to 50, e.g. drafted in this chat) to Metravane AI in one call (free). Creates the campaign when campaign_id is not given, fills every post without schedule_at with the next open weekly posting slot (in the order given, spaced from posts already scheduled), and files ONE approval. Nothing is scheduled yet: the owner approves in the Studio (Pataje → Apwobasyon), then call schedule_campaign with the approval_id. Returns campaign_id, approval_id and each post's time.

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": {
      "posts": "<posts>"
    },
    "name": "plan_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
postsYes1 to 50 posts; the server refuses more.
titleNoTitle of the new campaign when campaign_id is not given.
summaryNoWhat the owner sees on the approval; default: post count and title.
base_langNo
objectiveNo
campaign_idNoExisting campaign; otherwise give title.
start_afterNoISO datetime; slots are filled after it. Default now + 5 min.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: it creates the campaign when campaign_id is absent, auto-fills unscheduled posts into weekly slots ordered by position, and files exactly one approval, plus it names the return values. It does not address the destructiveHint=true profile (what is created, whether a retry duplicates campaigns/approvals, or that slot occupancy is a side effect), which is the main remaining gap.

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?

Front-loaded with the core action, then side effects, then next step and return values — every clause carries information. It is one dense run-on sentence, which makes scanning slightly harder than short separated sentences would.

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 50-item batch mutation with nested post objects and no output schema, the description covers the workflow, side effects, defaults and return values well. Retry/idempotency behavior and the practical consequence of the destructive hint are the notable omissions an agent would still want.

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?

Adds meaning beyond the 71%-covered schema for the key optional parameters: campaign_id vs title creates vs reuses a campaign, summary's default content, schedule_at omission triggering next-open-slot behavior, and start_after's default of now + 5 min. base_lang and objective are left to the schema, which is acceptable given their enums.

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?

States a specific verb and resource with scope: 'Send a batch of finished posts (up to 50) ... in one call'. It clearly separates itself from schedule_campaign (the later scheduling step) and from building campaign structure, so an agent can distinguish it from siblings without opening schemas.

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 the trigger ('posts ... drafted in this chat'), the explicit exclusion ('Nothing is scheduled yet: the owner approves in the Studio'), and the named next step ('then call schedule_campaign with the approval_id'). This is a complete when/when-next/alternative routing.

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.

Resources