Skip to main content
Glama

superpos_claim_task

Claim a pending task atomically to prevent multiple agents from processing it. If the task is already claimed, the operation fails with a conflict.

Instructions

Atomically claim a pending task so no other agent processes it. Claim before starting work; fails with a conflict if already claimed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hive_idNo
task_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/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 discloses atomicity and conflict behavior. However, it does not mention the return value or any side effects beyond claiming, though the output schema may cover that.

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?

The description is concise, with two sentences that front-load the purpose and key behavior. No extraneous words.

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?

Given the tool's simplicity and the presence of an output schema, the description covers the essential purpose and behavior. It lacks parameter guidance but is otherwise complete for an atomic claim operation.

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?

With 0% schema description coverage, the description should compensate by explaining parameter roles. It does not mention either task_id or hive_id. The parameter names are somewhat self-explanatory, but the description adds no value beyond the 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 clearly states the tool's purpose: 'Atomically claim a pending task so no other agent processes it.' This distinguishes it from sibling tools like superpos_get_task (retrieve only) and superpos_poll_tasks (list pending).

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?

The description guides usage: 'Claim before starting work; fails with a conflict if already claimed.' This tells when to use it and what failure mode to expect, but does not explicitly state when not to use it or list alternatives.

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/Superpos-AI/superpos-mcp'

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