Skip to main content
Glama

get_cron_log

Fetch the execution log for a cron task by its ID to inspect run output and identify issues.

Instructions

Get the latest execution log of a cron task by id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesCron task id (required)
Behavior3/5

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

No annotations are provided, so the description carries the full transparency burden. It accurately implies a read-only operation ('Get') and identifies the resource, but it does not disclose behaviors such as what happens if no log exists, potential errors, or response format. For a simple getter, this is adequate but leaves gaps.

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 a single, direct sentence that effectively communicates the tool's function without any fluff. It is front-loaded by starting with the verb 'Get' and includes the key qualifiers 'latest' and 'by id', making it highly efficient.

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?

Given the low complexity (one parameter, no output schema), the description is mostly sufficient. It clearly explains what the tool does and how it identifies the target. The main missing piece is a statement about return values or error behavior, but for a simple fetch operation this is a minor gap.

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% as the single parameter 'id' is described as 'Cron task id (required)'. The tool description adds no new information beyond 'by id', so it relies on the schema. This meets the baseline for high coverage but adds no extra semantic 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 clearly states the specific verb 'Get', the resource 'latest execution log of a cron task', and the lookup key 'by id'. This distinguishes it from sibling tools like list_logs (list) and get_subscription_log (different resource), making the tool's unique purpose immediately apparent.

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 provides clear context: this tool retrieves the latest execution log for a specific cron task identified by id. It does not explicitly name alternatives or exclusions, but the context is strong enough to infer when to use it, especially compared to the related get_log or list_logs tools.

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

Install Server

Other Tools

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/YSJohnson/qinglong-mcp'

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