Skip to main content
Glama

Run cron job

run_cron

Trigger a registered cron job by providing its job ID. Requires superuser permissions.

Instructions

Manually trigger a registered cron job by its id (as returned by list_crons). Superuser only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
jobIdYesThe cron job id to run.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations, the description carries the burden of behavioral disclosure. It does state the core action ('Manually trigger') and the superuser requirement, but it does not mention whether the job runs synchronously, is queued, or may have side effects. This leaves a meaningful gap.

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?

The description is two short sentences with no filler. The main action and id source come first, and the access restriction is clearly separated. Every word earns its place.

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 single-parameter tool the description covers purpose and id provenance well, but because there are no annotations and no output schema, it should also say something about expected outcomes or side effects of triggering a job. That context is missing, so it is not fully complete.

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?

The input schema already covers jobId fully, so the baseline is 3. The description adds useful meaning beyond the schema by telling the agent that the id is the one returned by list_crons, which helps the agent obtain a valid value.

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 is specific: 'Manually trigger a registered cron job by its id' names the exact verb and resource. The reference to list_crons as the source of the id further distinguishes it from the sibling listing tool, so there is no ambiguity about what this tool does.

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?

The description clearly states a prerequisite — the id comes from list_crons — and an access restriction ('Superuser only'). It gives enough context for when to use the tool, though it does not explicitly enumerate alternatives or exclusions.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nestebe/pocketbase-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server