Skip to main content
Glama

claim

Reserve files before editing so teammates' agents don't edit them at the same time for 30 minutes; check holds or release files when done.

Instructions

Reserve files you are about to change so teammates' agents don't edit them at the same time (files you edit are claimed automatically for 30 minutes). check: see whether files are held by someone or sit in a teammate's task area. release: free files you are done with.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathsYesFile paths (relative to the repo or absolute).
actionYesWhat to do.
task_keyNoOptional task the claim belongs to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose two useful traits: edits auto-claim for 30 minutes and claims protect against concurrent teammate agents. It says nothing about what happens on a conflict, whether you can release someone else's claim, or what an error looks like, which are the risky unknowns for a locking tool.

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?

Three tight sentences, front-loaded with the core purpose, then the two secondary modes. Every clause earns its place and there is no filler.

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 three-parameter tool with no annotations and no output schema, the description covers purpose, all three modes, and the key TTL behavior well enough to invoke it correctly. It stops short of describing check's return meaning (held vs. task-area status is named but not how it is reported) or conflict handling.

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 paths and task_key are already documented, but the action enum is only labeled 'What to do' in the schema. The description compensates by explaining the semantics of each enum value (claim/check/release), which is genuine added meaning rather than repetition.

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 concrete verbs and a resource: reserving files so concurrent agents do not collide, plus a check and release mode. It is clear what the tool operates on (file paths in a repo), but it never contrasts itself with siblings like plan or task, leaving the agent to infer where claiming fits in the wider team workflow.

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?

Each action carries an explicit trigger: claim when you are about to change files, check to see whether files are held or sit in a teammate's task area, release when you are done. That is strong when-to-use coverage for all three modes, but no exclusions or alternatives are named (e.g., when not to bother claiming).

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