Skip to main content
Glama

claim

Reserve files, folders, or tasks before working to prevent duplicate effort; all items are granted together or none, and reservations expire so you can renew.

Instructions

Claim files, folders (a folder covers everything in it) or tasks ("task:") before working on them, so nobody else works on the same thing. Either all items are granted or none. Claims run out after minutes (max 480); claim again to renew. note: what you're doing with them. A conflict names who holds it: talk to them.

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": {
      "items": "<items>"
    },
    "name": "claim"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNo
itemsYes
minutesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses atomicity ('either all items are granted or none'), a hard expiry ceiling (max 480 minutes), renewal semantics, and that conflicts return the holder's identity. It omits what a successful claim returns and whether the claim must be explicitly released later.

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?

Roughly sixty words that are densely informative, front-loaded with the verb and resources, with no filler sentences. Sentence structure is somewhat run-on with inline backticked fragments, which slightly hurts scannability.

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?

For a locking primitive with no annotations and no output schema, the description covers purpose, atomicity, expiry, renewal, conflict behavior, and all parameter meanings. The main remaining gap is return-value expectations on success, which nothing else in the structured data supplies.

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 description coverage is 0%, yet the description explains all three parameters: `minutes` with its max of 480, `note` as the purpose statement, and `items` with the 'task:<name>' addressing convention and folder-covers-contents scope. It does not mention the default value of minutes (30) or that items may be a single string or an array.

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 ('claim') and enumerates the exact resource types affected (files, folders, tasks) plus the scope rule that a folder covers everything in it. It never names a sibling such as release or wait, so the differentiation is implied by semantics rather than stated.

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?

Gives a clear trigger ('before working on them, so nobody else works on the same thing'), an expiry/renewal rule ('claim again to renew'), and conflict handling ('talk to them'). It stops short of naming the inverse tool (release) or stating when not to claim.

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