Skip to main content
Glama

List Cron Jobs

hestia_list_cron_jobs
Read-onlyIdempotent

List scheduled cron jobs for a specific HestiaCP user to review account-level tasks. Returns job data keyed by job ID for auditing or troubleshooting.

Instructions

List scheduled cron jobs for a HestiaCP user via v-list-cron-jobs. Use when reviewing user-level HestiaCP cron tasks; prefer hestia_host_cron_inspect (host) for system-wide /etc/cron.* metadata over SSH. Returns { ok, targetId, command, data (map keyed by job ID) }.

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": {
      "user": "<user>"
    },
    "name": "hestia_list_cron_jobs"
  }
}

Input Schema

NameRequiredDescriptionDefault
userYesHestiaCP account username.
targetIdNoConfigured target identifier (defaults to "default").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.3

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed world, so the safety profile is covered. The description adds value beyond them by naming the backing command and sketching the return envelope, which matters because there is no output schema. It does not cover failure behavior for an unknown user or result size, keeping it below 5.

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?

Three sentences, front-loaded with the action, then the routing guidance, then the return shape. Every sentence carries distinct information and there is 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?

For a two-parameter read tool with rich annotations and no output schema, the definition covers purpose, alternative, and return envelope, which is nearly everything an agent needs. The only gap is behavior on invalid input or empty results, which is a minor omission at this complexity level.

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% and both parameters (user, targetId) are documented in the schema itself, so the baseline of 3 applies. The description adds no meaning beyond the schema for either parameter — it does not, for example, clarify what happens when targetId is omitted beyond the schema's 'defaults to default' note.

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 ('List scheduled cron jobs for a HestiaCP user') and names the underlying command v-list-cron-jobs, so the agent knows exactly what will be executed. It also scopes the result to user-level cron tasks, which separates it from host-wide cron tooling.

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

Usage Guidelines5/5

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

Explicitly gives the use case ('reviewing user-level HestiaCP cron tasks') and names a concrete alternative (hestia_host_cron_inspect) with the condition that selects it ('system-wide /etc/cron.* metadata over SSH'). Nothing is left to inference about when this tool is the wrong choice.

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