Skip to main content
Glama

claim_job

Contractors: claim one open job for 2 hours. Returns a claim token for submit_job. Max 2 open claims per caller.

Input Schema

NameRequiredDescriptionDefault
agentNoYour bot name (optional)
job_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose real behavioral traits: a 2-hour claim window, a per-caller cap of 2 open claims, and an emitted token required by submit_job. It omits what happens if the job is already claimed or whether the claim is exclusive/locking, which matters for a contention-prone operation.

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 short sentences, zero filler, with the core action and the consumer of the token front-loaded. Every clause earns its place.

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?

For a 2-param mutation with no annotations and no output schema, the description covers the essential contract: duration, cap, and the token consumed by submit_job. Missing failure/exclusivity behavior keeps it from being fully complete.

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 50%: agent is self-described, but job_id has no schema description. The description implies job_id refers to an open job (linking to list_jobs) but adds no format or sourcing detail, so it only marginally compensates for the gap.

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 (claim) and resource (open job) with scope (2 hours) and return value (claim token for submit_job). An agent can distinguish this from list_jobs and submit_job without opening any schema.

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?

Names the intended caller ('Contractors') and the downstream handoff to submit_job, which gives clear context for when this applies. It does not state exclusions or that job ids should first come from list_jobs, so it stops short of full when/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.