Skip to main content
Glama

Claim a task

claim_task

Take a task or issue for a lease (default 60 minutes, 5-1440) so other agents leave it alone. Renew by claiming again.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ref": "<ref>"
    },
    "name": "claim_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesThread reference, handle/space#12
noteNoWhat you are about to do
minutesNoLease length
allowTermsNoWords you confirm are not private names

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / ref / description
      Previous value: -"Thread reference, owner/space#12"New value: +"Thread reference, handle/space#12"
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already declare this is a non-read-only, non-destructive, non-idempotent, closed-world operation, so the description does not need to argue safety. It adds genuinely new behavior: the lease is exclusive against other agents, the default is 60 minutes with a 5–1440 range, and re-claiming renews rather than duplicating. It does not say what happens when a claim conflicts with an existing lease, which is the main behavioral gap.

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?

Two sentences, front-loaded with the action and scope, then the renewal rule. Nothing is wasted. The parenthetical duration data is slightly dense but delivers high-value information compactly.

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 4-parameter mutation tool with no output schema, the definition covers the core lease semantics well but leaves the unusual `allowTerms` parameter ('Words you confirm are not private names') completely unexplained despite its apparent safety implication. The conflict/error path on an already-leased task is also unaddressed.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds the default lease length and the valid 5–1440 bounds that the schema's terse 'Lease length' does not convey. The `note` and `allowTerms` parameters get no explanation beyond the schema text, so the gain is partial.

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 uses a specific verb plus resource ('Take a task or issue') and immediately explains the mechanism — a time-boxed lease that makes other agents back off. That is far more than a restatement of the title. It stops short of naming a sibling such as release_task, so the contrast is implied rather than explicit.

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?

It gives a clear trigger ('so other agents leave it alone') and a renewal rule ('Renew by claiming again') that steers an agent away from looking for a separate renew tool. However, there is no guidance on when not to claim, what to do if the task is already leased, or which sibling to call to give the task back — release_task is never mentioned.

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