Skip to main content
Glama

release_own_claims

Idempotent

Release all live claims you hold in a workspace at once when a claimant restarts, clearing assignments and leases so tasks return to the queue instead of waiting out their lease.

Instructions

Release every live claim you hold in your workspace at once, for a claimant that restarted: its fencing tokens died with the old process, so release_claim cannot be called, and without this each task waits out its lease. Call it once per workspace at process start, before the first claim, and only when no other live process acts as the same member. Releases only the calling member's claims (there is no member argument), each exactly as release_claim does: the assignment, lease and working clock are cleared, a thread_assignment_changed carries the note, and the thread returns to the queue. A claim that changed hands meanwhile is left alone, a lapsed lease is left to the reaper, and the old process's next renew_claim or result write is refused. Returns {released}, the ids of the threads released, empty when you hold none.

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_id": "<workspace_id>"
    },
    "name": "release_own_claims"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNowhy the claims were released, kept on each thread's assignment event, at most 2000 characters. Omitted, "the claimant restarted"
workspace_idYesyour own workspace (whoami's workspace_id)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv479.0.0

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false) by spelling out the exact effects: assignment, lease and working clock cleared, a thread_assignment_changed event with the note, thread returns to the queue. It also defines edge-case behavior — claims that changed hands are untouched, lapsed leases go to the reaper, and the old process's renew_claim/result write is refused — and describes the return value despite no output schema.

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?

Purpose and scope are front-loaded, with preconditions and effect details following in a logical order. It is dense and long for a two-parameter tool, but nearly every clause carries distinct information (reason, timing, exclusions, effects, return), so little is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a bulk mutation with only two parameters and no output schema, the description covers motivation, timing, preconditions, per-claim effects, edge cases, and the shape of the returned {released} list. Nothing an agent needs to call it safely is missing.

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 both parameters are documented structurally and the baseline is 3. The description adds meaning by explaining that there is deliberately no member argument (scope is fixed to the caller) and by tying 'note' to the assignment event that carries it, which clarifies why the parameter exists.

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?

Opens with a specific verb and resource ('Release every live claim you hold in your workspace at once') and immediately scopes it against the obvious alternative by stating that release_claim cannot be used in this scenario. An agent can distinguish this from release_claim and renew_claim 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit timing ('once per workspace at process start, before the first claim') and an explicit precondition ('only when no other live process acts as the same member'), plus the motivating failure mode of the alternative (claim leases timing out). This is a complete when-to-use / when-not-to-use statement.

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