Skip to main content
Glama

cmmn-validate_timer_expression

cmmn-validate_timer_expression

Validates timer expressions (duration, date, or cron) and returns parsed details or errors to catch expression problems before creating timer event listeners.

Instructions

Validates a timer expression without creating anything. Returns parsed details (seconds for duration, datetime for date, next_trigger for cron) or an error message. Use before creating timer event listeners to catch expression errors early.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
expressionYesTimer expression to validate: ISO8601 duration (PT24H), datetime (2026-01-15T10:00:00Z), or cron (0 0 * * *)
timer_typeYesType of timer expression: duration, date, or cron
Behavior4/5

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

Since no annotations are provided, the description bears full responsibility. It explicitly states the tool does not create anything, implying a read-only behavior, and describes the return format for different timer types. This is transparent given the tool's simplicity.

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 sentences: the first defines the action and output, the second provides usage guidance. It is front-loaded, with no unnecessary words, and every sentence adds value.

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 tool's simplicity and lack of output schema, the description adequately covers purpose, usage, return format, and safety. It positions the tool within the CMMN domain, and the return details are sufficient for an agent to understand the outcome.

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?

The input schema covers 100% of parameters with descriptions. The description adds context by detailing what each timer type returns (seconds, datetime, next_trigger), but does not add significant meaning beyond the schema. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool validates a timer expression without creating anything, which distinguishes it from sibling tools that create or modify entities. It specifies the verb 'validates' and resource 'timer expression', and the return of parsed details or error message.

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 advises using the tool 'before creating timer event listeners to catch expression errors early', providing clear context for when to use it. It does not explicitly mention when not to use it, but the guidance is sufficient for an agent.

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/mstang/casemgr-mcp'

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