Skip to main content
Glama

Check a schedule before writing it

check_schedule
Read-only

For setting something on a timetable, a cron job, or a script of the project that runs every hour, every day or every Monday (a schedule): checks a .schedule.md file, or a .build.md (which files a script builds from which), before it is written. Scheduled scripts require a configured runner. Reads a draft the way Alcoven will, and writes nothing: each line it can't read, with the line's number and what is allowed, or, when every line reads, when it runs next and what it does, or what a build makes, from what, and whether it is current. With no text, it returns the file's format.

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

Input Schema

NameRequiredDescriptionDefault
pathYesWhere the file goes, ending .schedule.md or .build.md, like ops/monday.schedule.md.
textNoThe whole file. Left out, the answer is the format.
projectNoThe project's slug, from open_project, like acme. Not needed when a § address names the project, or when the person is on one project.

Output Schema

NameRequiredDescriptionDefault
okYes
textYes
notesNo
problemsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / path / description
      Previous value: -"Where the schedule goes, ending .schedule.md, like ops/monday.schedule.md."New value: +"Where the file goes, ending .schedule.md or .build.md, like ops/monday.schedule.md."
  2. Changed1 schema field changed
    • removedOutput schema / properties / guide
      Removed value: -{
      -  "type": "string"
      -}
  3. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description reinforces this with 'writes nothing'. Beyond that it discloses the actual behavior on failure — every unreadable line with its line number and what is allowed — plus what a passing check reports (next run time and behavior, or build inputs and freshness), which is useful behavioral detail.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, but the opening clause is a long, comma-strung run-on ('a timetable, a cron job, or a script of the project that runs every hour, every day or every Monday (a schedule)') that takes effort to parse. The content earns its place, but the sentence structure could be tightened considerably.

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?

With a full output schema and read-only annotations carrying safety and return shape, the description supplies what structured fields cannot: the two file modes, the runner prerequisite, and the pass/fail behavior. An agent has enough to call it correctly; only the project/address interaction is left underexplained.

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

Parameters3/5

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

Schema coverage is 100%, so the baseline is 3; the schema already explains path suffixes and the project slug. The description adds one real semantic point — omitting text returns the file's format — but says nothing about the project parameter or the § address mentioned in the schema.

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 names a specific verb and resource: it 'checks a .schedule.md file, or a .build.md ... before it is written', which tells an agent this is a read-only validator for schedule/build manifests rather than a writer or runner. It is clearly distinct from a runner or generic reader, though it never names the sibling tools it is distinct from.

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 states the triggering scenario ('For setting something on a timetable, a cron job, or a script ... before it is written') and adds a prerequisite ('Scheduled scripts require a configured runner'), which is genuine when-to-use context. It does not explicitly say when to use this instead of running or reading the schedule, so the exclusion side is left implicit.

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