Skip to main content
Glama
nymrel
by nymrel

nymrel_swarm_claim

Claims directory locks for exclusive write access, coordinates agent leases with fencing tokens, and manages two-seat mission state.

Instructions

Claims directory locks, coordinates distributed agent leases with fencing tokens, and manages two-seat Command Studio mission state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
roleNoTwo-seat command studio rolemission_owner
actionNoLease management actionclaim
agentIdYesUnique agent identifier making the claim (e.g. "codex-cli", "claude-code", "cursor")
repoPathYesAbsolute or relative repository path to claim exclusive write access on
missionIdNoOptional mission tracking ID
ttlSecondsNoLease duration in seconds before expiration (default 300)
Behavior2/5

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

No annotations are provided, so the description must carry the behavioral burden. It only offers high-level phrases like 'fencing tokens' and 'two-seat Command Studio mission state' without explaining blocking semantics, failure modes, idempotency, or side effects of claim/release/renew/status.

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?

The description is a single compact sentence that front-loads the primary behavior ('Claims directory locks') before adding supporting details. It contains some unexplained jargon but no filler or redundancy.

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

Completeness2/5

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

For a 6-parameter distributed lease tool with no output schema and no annotations, this description is not complete. It does not explain what fencing tokens actually do, what claim/release/renew/status return, or what happens when a lock cannot be acquired.

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 description coverage is 100%, so all six parameters are already documented with meaningful descriptions. The tool description adds no per-parameter detail, so it stays at the baseline expected for fully covered schemas.

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 the specific action 'Claims directory locks' and identifies the resource clearly, then adds distributed lease coordination and fencing tokens. This distinguishes it from sibling tools like nymrel_swarm_bus even without opening the schema.

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?

The description gives clear context: an agent should use this tool when it needs to claim or manage a directory lock/lease. It does not explicitly name when-not-to-use conditions or alternative tools, but the purpose is specific enough that invocation context is inferable.

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/nymrel/nymrel-mcp-hub'

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