Skip to main content
Glama

operate_accept_job

Claim a queued job by ID and acquire an execution lease so only one agent instance processes it.

Instructions

Claim a queued job and acquire an execution lease so no other agent instance processes it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
jobIdYesUUID of the queued job order to accept

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.7/5.0
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 burden. It usefully discloses the key behavioral trait that claiming acquires an execution lease and guarantees exclusive processing, but says nothing about idempotency, what happens if the job is already claimed, whether the lease expires, or the sibling operate_heartbeat's role in renewing it.

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?

One sentence, front-loaded with the core action and followed by the exclusivity rationale. No filler or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no annotations and no output schema, the description covers the exclusivity contract but omits failure modes (already-claimed job) and lease lifecycle details. It is adequate to attempt the call but not complete enough to predict behavior under contention.

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% and the single jobId parameter is fully documented there ('UUID of the queued job order to accept'). The description adds no format, constraint, or sourcing detail beyond the schema, so the baseline 3 for a well-covered schema applies.

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?

States a specific verb+resource (claim a job) plus the mechanism (execution lease), and the exclusivity clause clearly separates it from siblings like operate_check_queue, operate_list_gigs and operate_submit_fulfillment. An agent can tell what this does without opening the schema.

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 only implied: 'queued job' and 'no other agent instance processes it' suggest calling this after checking the queue and before submitting fulfillment, but no explicit when-to-use or when-not-to-use guidance or alternative tool is named. The sequencing logic is left to inference.

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