Skip to main content
Glama
x402-preflight-mcp

x402-preflight-mcp

by animus3d

cron_systemd_auditor

Parses crontabs and systemd units/timers to compute next UTC runs, detect flock overlap risks, and flag missing hardening directives.

Instructions

[x402 $0.02 USDC on Base/Solana] Parses crontabs and systemd unit/timer configs, computes next 5 UTC fire times, detects flock overlap risks, and flags missing hardening directives.

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": "cron_systemd_auditor"
  }
}

Input Schema

NameRequiredDescriptionDefault
crontabNoMulti-line crontab file content
systemdUnitNoSystemd .service unit text
systemdTimerNoSystemd .timer unit text
referenceTimeNoISO-8601 UTC timestamp for next-run calculation
cronExpressionNoSingle 5-field cron expression
_paymentSignatureNoOptional base64-encoded x402 v2 payment-signature header (overrides X402_PAYMENT_SIGNATURE env var).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose useful behavior beyond the schema: the exact analytic outputs (next 5 UTC fire times, flock overlap detection, hardening gaps) and the x402 payment cost of $0.02 USDC on Base/Solana. However, it omits that all six parameters are optional and therefore what happens when no input is supplied, whether the tool is purely stateless/read-only, and whether payment is charged on failure.

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 dense sentence with zero filler, and the analytical scope is front-loaded right after the payment tag. The bracketed pricing prefix occupies the most prominent position rather than the tool's purpose, which is a minor structural cost.

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 six-parameter analysis tool with no output schema and no annotations, the description should say more about the shape of the returned findings and what must be provided to get a meaningful result. It does enumerate the categories of output, which partially compensates, but key call-time behaviors remain undocumented.

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 description coverage is 100%, so each parameter is already documented in the schema; the description adds only a high-level summary that these artifacts are parsed. It adds no meaning about combining crontab with cronExpression, how referenceTime affects the computed window, or the payment-signature fallback behavior.

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?

The description names specific verbs and resources: parses crontabs and systemd unit/timer configs, computes the next 5 UTC fire times, detects flock overlap risks, and flags missing hardening directives. No sibling tool in the catalog touches cron or systemd semantics, and the described capability is unmistakable.

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 — an agent can infer it should supply crontab/systemd text for scheduling and hardening review, but there is no explicit when-to-use, when-not-to-use, or prerequisite guidance. Nothing tells the agent how the three input modes (crontab, cronExpression, systemdUnit/Timer) relate or which to prefer.

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