Skip to main content
Glama

work_claim

Atomically claim an open work item for an agent. Claims fail if another agent already owns the item.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workIdYes
agentIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose two important traits: the operation is atomic and it fails when the item is already owned. It does not say how failure is signaled (error vs. return value), whether a claim can be released or expires, or whether repeat calls by the same agent are idempotent.

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?

Two sentences, no filler, with the atomic-claim behavior front-loaded and the failure condition immediately after. Every clause earns its place.

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 simple two-parameter tool with no output schema and no annotations, the description covers purpose, atomicity, and the contention failure mode. It omits what a successful claim returns (ownership token, lease, etc.) and the error shape, which matters because no output schema exists to fill that gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for both parameters, yet it only implies that workId is a work item and agentId is an agent. No format, identifier source, or constraint meaning (minLength/maxLength) is clarified, leaving an agent to infer everything from parameter names.

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?

States a specific verb and resource ('Atomically claim an open work item') with a clear actor ('for an agent'), which separates it from work_create, work_list, and work_update. It stops short of explicitly naming which sibling to use when a claim is inappropriate (e.g., resolve or work_update).

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 gives a selection condition in the negative ('Claims fail if another agent already owns the item'), which implies when this tool is applicable. It offers no positive guidance on when to claim versus work_update, resolve, or submit_mandate, and no prerequisites such as agent registration.

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.

Resources