Skip to main content
Glama

spraay_cron_create

Schedule recurring payments, DCA strategies, or gateway actions with a standard cron expression. Data persists in Supabase for $0.005 USDC per job.

Instructions

Create a scheduled job for recurring payments, DCA strategies, reminders, or any gateway action. Supports standard 5-part cron expressions. Data persists in Supabase. Costs $0.005 USDC.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesGateway action to schedule (e.g. 'batch.execute', 'swap.execute', 'notify.email', 'payroll.execute', 'xmtp.send')
maxRunsNoMax executions before auto-cancel (omit for unlimited)
payloadYesPayload for the scheduled action (same format as the action's direct API call)
scheduleYesCron expression (e.g. '0 9 * * 1' for every Monday at 9am)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYesTrue when the gateway call succeeded; false when it returned an error.
dataNoThe gateway response payload on success. The exact shape depends on the tool (see the tool description and the JSON in the text content block).
errorNoHuman-readable error message, present only when ok is false.
Behavior4/5

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

The description adds behavioral context beyond annotations: it states 'Data persists in Supabase' and 'Costs $0.005 USDC.' Annotations indicate readOnlyHint=false (write), idempotentHint=false, and destructiveHint=false. The description aligns with these and provides useful cost and persistence information. No contradiction.

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?

Four sentences, all substantive. Front-loaded with purpose, then cron support, persistence, and cost. Every sentence earns its place with relevant information. No fluff or repetition.

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 4 parameters with nested objects and the presence of an output schema (indicated true), the description covers key aspects: purpose, cron standard, persistence, and cost. It doesn't detail error conditions or how to retrieve the cron ID for cancellation, but these are secondary. Overall, complete enough for effective use.

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% (all parameters have descriptions). The description adds value by noting 'Supports standard 5-part cron expressions' and clarifying that the payload format matches the action's direct API call. This provides meaning beyond the schema, but the schema already adequately describes each parameter.

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 tool's purpose: 'Create a scheduled job for recurring payments, DCA strategies, reminders, or any gateway action.' It specifies the resource (scheduled job) and provides concrete examples. It also mentions support for standard 5-part cron expressions. This distinguishes it from sibling tools like spraay_cron_cancel and spraay_cron_list.

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

Usage Guidelines2/5

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

The description does not provide explicit guidance on when to use this tool versus alternatives. It lacks information about prerequisites, when not to use, or context for choosing this over other cron-related tools. The existence of siblings like spraay_cron_cancel and spraay_cron_list is implied but not addressed.

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/plagtech/spraay-x402-mcp'

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