Skip to main content
Glama

claim

Reserve a work unit and check overlaps with peer agents' claims. Blocks conflicting changes unless force is set, enabling safe collaboration on the same repo.

Instructions

Stake a claim on a unit of work.

touches : files/modules you will modify requires : files/modules you depend on (omit if none) branch : the branch your work will live on force : claim even if an overlap with an active peer claim is detected

Refuses (status="blocked") if your plan collides with a peer's active claim, returning exactly what overlaps and with whom, unless force=True. The overlap is evaluated against freshly fetched state immediately before the push, so a peer who claimed first will be seen here.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskYes
forceNo
branchNo
touchesYes
requiresNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations provided, the description fully shoulders the transparency burden. It discloses the refusal behavior with status='blocked', the overlap evaluation against freshly fetched state, the force flag semantics, and that it returns exact overlap details. This goes well beyond the minimum.

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?

The description is tightly organized: a one-line purpose, a bullet-style parameter list, and a focused explanation of collision handling. Every sentence contributes value, and the formatting enhances readability without redundancy.

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?

The description thoroughly covers the claim's conflict behavior, force semantics, and state freshness, which are the tool's complex aspects. Missing pieces include the 'task' parameter definition and any explicit usage guidance, though the output schema may handle return value details. Overall, it is quite complete but has notable gaps.

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?

The description explains the meaning of touches, requires, branch, and force in plain language, which is essential given the schema has 0% description coverage. However, it completely omits the required 'task' parameter, leaving its purpose ambiguous and reducing the overall semantic coverage.

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?

The description opens with a clear verb+resource statement ('Stake a claim on a unit of work') and elaborates with parameter meanings and collision behavior. This distinguishes it from sibling tools like check_conflicts and release by describing a claim creation action with exclusive overlap detection.

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?

The description clearly implies this tool is for claiming work and explains the force option, but it does not explicitly state when to use it versus alternatives such as check_conflicts or release. There is no mention of exclusions or alternative tool recommendations, so usage guidance is left to inference.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jarmstrong158/agentsync'

If you have feedback or need assistance with the MCP directory API, please join our Discord server