Skip to main content
Glama

Plan a batch

plan_batch
Read-only

Plans a batch of on-brand social posts by assigning each date a topic and format from your rotation, returning recent history to avoid repeats plus validation rules.

Instructions

Works out each post's topic and format from the rotation, and returns the recent history the batch has to avoid repeating plus the rules check_batch_plan enforces.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "plan_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
startNoFirst post date, YYYY-MM-DD (default today)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.3

TDQS

B3.4/5.0
Behavior4/5

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

The readOnlyHint annotation already establishes this is a non-mutating computation, and the description adds real context on top: it discloses that the output includes recent history to avoid repeating and the rule set used downstream by check_batch_plan. That is meaningful behavioral information about the result, not a restatement of the annotation. It stops short of describing determinism, ordering, or output shape.

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?

A single sentence with no filler, and the core action is front-loaded before the return-content clause. The second half is somewhat convoluted ('the recent history the batch has to avoid repeating plus the rules check_batch_plan enforces') but every clause carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only planning tool with two optional parameters and no output schema, the description covers what is produced but not how much of it, in what structure, or how the 'days' and 'start' inputs shape the plan. The absence of an output schema raises the bar for describing returns, and the description only gestures at them.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 50% — 'start' is documented in the schema but 'days' is not — and the description mentions neither parameter. An agent gets no guidance on what the days window means for the plan (e.g., whether it bounds the number of posts produced or only the history lookback), which is exactly the gap the description should fill at this coverage level.

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 uses a concrete verb phrase ('works out each post's topic and format from the rotation') that names both the resource (posts in a batch) and the inputs it draws on (the rotation). It also distinguishes itself from the validator sibling by noting it returns the rules that check_batch_plan enforces, so an agent can tell the two apart. The term 'rotation' is left undefined, which keeps it just short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is only implied: by saying it returns the rules that check_batch_plan enforces, it suggests a plan-then-check workflow. There is no explicit 'use this when' statement, no exclusion of alternatives (e.g., query_history or log_post), and no statement of prerequisites.

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