Skip to main content
Glama

Schedule a page

set_page_schedule
Destructive

Make one page of the live site show only between two times: a promo (raya.html at /raya, an 11.11 sale) that appears on its start date and disappears after its end date, with no one having to remember to take it down. Outside the window the live site answers "page not found" (or, with after: "home", sends visitors to the home page once it has ended), and the page is left out of the sitemap and llms.txt. Previews always show it. Applies to the live site at once, no publish needed, but the page itself must be published (publish_site, now or with at). Works for React routes too. Fields left out keep their value; null removes one; clear: true removes the schedule. get_site lists all page schedules.

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": {
      "site": "<site>",
      "path": "<path>"
    },
    "name": "set_page_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesThe page, e.g. "raya", "raya.html" or "/promo"
siteYesSite slug (e.g. "kopitiam-muar") or id
afterNoAfter live_until: "not_found" (default) or "home" to send visitors to the home page
clearNotrue removes the page's schedule, so it always shows again
live_fromNoWhen the page appears: ISO 8601, e.g. "2026-03-28T00:00" (read in the site's time zone when no zone is given). Leave out to show it from now.
live_untilNoWhen the page disappears, e.g. "2026-04-05T23:59". In the future, at most 90 days ahead.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing what visitors actually see outside the window ("page not found", or a home redirect with after:"home"), that the page is dropped from sitemap and llms.txt, that previews always show it, and that it works for React routes. The field-lifecycle rules — omitted keeps value, null removes, clear:true removes the schedule — are exactly the kind of mutation semantics annotations cannot express, and they are consistent with destructiveHint=true.

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-loads the core behavior and example, then layers effects, prerequisites, and field rules in a compact run of sentences. Slightly overstuffed in one paragraph — the "no one having to remember to take it down" aside is flavor rather than instruction — but nearly every clause carries operational information.

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

Completeness5/5

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

For a destructive, open-world mutation tool with no output schema, the description covers purpose, prerequisites, immediate side effects on the live site, sitemap/llms.txt consequences, fallback behavior, and field-level update rules. There is little an agent would need to know before calling this that is missing.

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 100%, so baseline is 3, but the description adds real meaning the schema does not: the patch semantics distinguishing an omitted field (keep), null (remove), and clear:true (drop the whole schedule). It also explains the behavioral consequence of after:"home" rather than just its enum values.

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?

Opens with a specific verb and resource ("Make one page of the live site show only between two times") and grounds it in a concrete example (raya.html at /raya, an 11.11 sale). It also names the related siblings that bracket it — publish_site as a prerequisite and get_site for listing schedules — so an agent can place it precisely.

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?

States prerequisites clearly (the page itself must be published, via publish_site now or with at) and the timing condition (applies to the live site at once, no publish needed). It also points to get_site for the inventory view. It stops short of explicit when-not-to-use guidance or naming a sibling that competes with this behavior.

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