Skip to main content
Glama

claim_issue

Leases an issue so parallel agents skip it, lets you take over a foreign claim when needed, and sets a configurable lease length.

Instructions

Lease an issue so parallel agents skip it. start_work with claimAs claims and picks up in one call

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": {
      "workspace": "<workspace>",
      "identifier": "<identifier>"
    },
    "name": "claim_issue"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentNoDefault: HULY_AGENT_NAME or claude
forceNoTake over a foreign claim
minutesNoLease length
workspaceYes
identifierYesIssue id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.5.1

TDQS

B3.4/5.0
Behavior3/5

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

With only destructiveHint=false and a title as annotations, the description carries most of the burden. It does convey that this is a mutating claim/lease with an expiry (reinforced by the minutes and force params), but it never says what happens when the issue is already claimed (error vs. block), whether a lease can be stolen, or how to release it.

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 short sentences, with the purpose front-loaded ahead of the alternative-route hint; nothing is redundant. The second sentence is ambiguous enough that its brevity costs clarity.

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?

There is no output schema, so the description should say what a successful claim yields (a lease/token, an expiry) and what a failure looks like. For a concurrency-control tool those are exactly the details an agent needs, and they are absent.

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 80% and the schema already documents agent, force, and minutes, so baseline is 3. The description adds the useful mental model of a timed lease and the relationship to start_work's claimAs, but contributes no detail on force or agent defaults.

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 gives a specific verb and resource ('Lease an issue') plus the reason it exists ('so parallel agents skip it'), which explains the coordination semantics that distinguish it from plain readers like get_issue. It falls short of 5 only because 'lease' is never defined in tool terms (lock? token? expiry?) and no sibling is explicitly contrasted.

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 implies the use case (multiple agents competing for the same issue) and gestures at an alternative: start_work with claimAs claims and starts in one call. But that sentence is grammatically garbled and never states when NOT to use this tool, nor points to release_issue for giving the lease back.

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

Deploy Server

Other Tools