Skip to main content
Glama

mcp-easy-ai__wp_list_cron_events

Read-only

List scheduled WP-Cron events, soonest first. Optional: hook (case-insensitive substring filter on the hook name), limit (default 50, max 500), offset (default 0: skip that many matching events, to page through more than 500 — keep hook the same and add returned to offset until offset reaches total). Returns { events: [{ hook, key, next_run (ISO 8601 UTC), seconds_until_run (negative when past due), overdue (more than 1 hour past due), schedule: { name, interval_seconds (the registered schedule's interval, or the stored one when the schedule is not registered), stored_interval_seconds (the interval saved with this event; 0 when it saved none), display, registered } or null for a one-off event, args (secrets redacted) }], total, returned, offset, overdue_count, malformed_timestamps (cron keys that are not integer timestamps, which WP-CLI warns about and ignores; events under a non-numeric key are not listed), cron_disabled (DISABLE_WP_CRON), now }. key identifies one instance (core's md5 of … Through Royally: its server marks it read-only, so it runs straight away.

Input Schema

NameRequiredDescriptionDefault
hookNoOnly events whose hook name contains this text (case-insensitive).
limitNoMaximum events to return (1-500).
offsetNoSkip this many matching events first (soonest-first order), to read past `limit`. Default 0.
site_idNoSite to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare this a safe read (readOnlyHint=true, destructiveHint=false), and the description still goes well beyond them: it discloses that secrets in `args` are redacted, that events under non-integer cron keys are silently omitted, that `malformed_timestamps` and `cron_disabled` are surfaced as flags, and it defines `overdue` and negative `seconds_until_run`. That is substantive behavioral context an agent cannot get from the annotations.

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?

Purpose is correctly front-loaded, and most of the length is earned by the inline return-shape documentation (there is no output schema). However, the single dense run-on paragraph is hard to scan, and the final sentence is garbled/truncated ('core's md5 of … Through Royally: its server marks it read-only, so it runs straight away'), which is dead weight and confusing.

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?

With no output schema and no annotation coverage of results, the description supplies the full return contract -- every field of `events`, the envelope counters, and the edge-case flags -- plus how past-due events are represented. An agent could parse and act on this output without ever seeing a response.

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 the baseline is 3, but the description adds real meaning on top: it explains the paging contract between `offset`, `returned`, and `total`, which the schema does not express. It does omit `site_id` entirely, keeping it from a 5.

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 precise verb+resource+ordering: 'List scheduled WP-Cron events, soonest first.' No other tool in the mcp-easy-ai namespace lists cron events, so there is no sibling confusion, and the ordering guarantee is stated up front.

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?

The description gives one piece of procedural guidance -- how to page past the 500 cap by keeping `hook` fixed and advancing `offset` by `returned` -- but never says when to reach for this tool versus adjacent tooling or what to do when the list is empty or cron is disabled. Usage is implied rather than framed as when/when-not.

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