Skip to main content
Glama

AI SENSE Free Public Tools

Enqueue agent queue job

enqueue_agent_queue_job
Idempotent

Add a JSON job using the write token and a stable job_key. The same key and payload return the original job. Changing the payload for that key is a conflict. Payloads are limited to 16 KiB encoded JSON and must contain no secrets or personal data. The 100-job lifetime limit includes completed and failed jobs.

Input Schema

NameRequiredDescriptionDefault
job_keyYesYour own stable key for the job, 1 to 64 characters. A repeat with the same key and payload returns the original job.
payloadYesRequired JSON value, including null. Maximum encoded size: 16384 bytes.
queue_idYesThe queue_id from create_agent_queue, or from create_agent_run for a run with delegated steps.
write_tokenYesThe write_token from create_agent_queue, shown once. It adds jobs.

Output Schema

NameRequiredDescriptionDefault
okYes
jobYes
queue_idYes
deduplicatedYes
expire_timestampYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / job_key / description
      Added value: +"Your own stable key for the job, 1 to 64 characters. A repeat with the same key and payload returns the original job."
    • addedInput schema / properties / queue_id / description
      Added value: +"The queue_id from create_agent_queue, or from create_agent_run for a run with delegated steps."
    • addedInput schema / properties / write_token / description
      Added value: +"The write_token from create_agent_queue, shown once. It adds jobs."
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

With idempotentHint=true already declared, the description goes well beyond it by spelling out the exact idempotency contract: same key plus same payload returns the original job, while a changed payload for that key is a conflict. It also discloses the 16 KiB encoded-size cap, the 100-job lifetime quota that counts completed and failed jobs, and a no-secrets/no-PII constraint - all operational facts the annotations cannot express.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with the action and credential, then the idempotency rule, then limits. Dense and mostly waste-free, though the opening clause overlaps with what the schema already says about write_token and job_key.

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?

An output schema exists, so return values need no explanation, and the description covers the failure modes an agent actually needs: conflict on changed payload, size cap, and lifetime quota. The remaining gap is minor - nothing about what a conflict error surfaces or whether enqueueing is allowed once the 100-job limit is hit.

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 coverage is 100%, so all four parameters are already documented with patterns and meanings, making 3 the baseline. The description restates the write-token role and the stable job_key concept and adds the encoded-size framing, but contributes little meaning the schema does not already carry.

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 gives a specific verb and resource ('Add a JSON job') plus the required credentials, which is clearly distinct from the claim/ack/read siblings in this queue family. It stops short of naming a sibling tool by name, but the enqueue-vs-process distinction is unmistakable from the verb.

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?

Usage is implied by the idempotency and quota rules, which tell an agent this is the write path for creating jobs. However, there is no explicit 'use this before claim_agent_queue_job' framing, no statement that the queue must already exist (that hint lives only in the queue_id schema description), and no when-not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.