Skip to main content
Glama
tommypj

mcp-job-queue

by tommypj

Submit a job

submit_job

Enqueue a job for asynchronous execution in an isolated process, with configurable timeout and automatic retries. Returns the job with status 'queued'.

Instructions

Enqueue a job for asynchronous execution by the worker. Returns the created job (status 'queued'). Valid type values are the registered handlers: echo, wait, hash, fibonacci, fail. The job runs in an isolated process under a timeout, with automatic retries.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYesJob type; must be a registered handler name.
payloadNoArbitrary JSON object passed to the handler.
priorityNoHigher runs first (default 0).
maxAttemptsNoTotal attempts incl. the first (default 3).
timeoutMsNoPer-job wall-clock timeout in ms (default 30000).
Behavior4/5

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

With no annotations, the description carries full burden. It discloses key behaviors: asynchronous, isolated process, timeout, automatic retries, and return value. However, it does not mention error handling or rate limits.

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?

Three sentences, front-loaded with main action, then return, then details. No extraneous words or repetition. Highly efficient.

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?

Given no output schema and 5 parameters, the description covers essential aspects: async behavior, timeout, retries. Paired with full schema coverage, it is complete for an agent to use correctly.

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%, baseline 3. The description adds value by listing valid 'type' values explicitly and explaining 'payload' as arbitrary JSON. For other params, it provides minimal extra context beyond schema.

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 uses clear verb 'enqueue' and resource 'job', and distinguishes from siblings by specifying asynchronous execution and return of created job with status 'queued'. It also lists valid handler types, making the tool's scope unambiguous.

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 implies usage for async execution with valid types, but lacks explicit guidance on when to use this tool versus alternatives (e.g., cancel_job, list_jobs) and does not mention when not to use it.

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/tommypj/mcp-job-queue'

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