Skip to main content
Glama

Schedule Query

schedule_query

Book a query on a calendar day so autopilot writes and publishes it then, optionally with a writing brief for that article. By default the unpublished post already on that day goes back to the idea pool (returned as displaced); set replaceExisting false to add alongside it. (requires an agent API key)

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": {
      "siteId": "<siteId>",
      "query": "<query>",
      "date": "<date>"
    },
    "name": "schedule_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesYYYY-MM-DD
queryYesThe search query the article targets
siteIdYes
replaceExistingNo
articleInstructionsNoBrief for this article: angle, facts to use, things to avoid

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Adds substantial behavior beyond the annotations: the default displacement of the unpublished post on that day, the 'displaced' value being returned, and the agent-API-key auth requirement. It leaves some ambiguity — what happens if a published post already occupies that day, and whether re-scheduling the same query is idempotent — but the main side effect is disclosed.

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 tight sentences plus a short parenthetical, front-loaded with the action and consequence, then the default-vs-opt-out behavior, then the auth prerequisite. No filler.

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?

There is no output schema, and the description usefully signals the 'displaced' return field; it also covers auth and the mutation side effect. It stops short of describing conflict behavior on days holding a published article or validation constraints on date, leaving moderate gaps for a write tool.

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 60%, with replaceExisting undocumented in the schema; the description compensates by explaining its default (true) and exact effect, and it characterizes articleInstructions as a writing brief. siteId and query are only implied from context, so not fully covered.

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 ('Book a query on a calendar day') and immediately explains the consequence: autopilot writes and publishes the article then. This clearly separates it from read-only siblings like list_calendar and configuration siblings like set_autopilot or update_publishing.

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?

Usage context is explicit (schedule content for a future date to be produced by autopilot, optionally with a brief), and it names the key decision point: default replacement vs. replaceExisting=false to add alongside. It does not name sibling alternatives such as generate_article for immediate production, so it falls short of a 5.

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