Release lock
lock.releaseRelease a lock with its fencing token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| fencing | Yes |
lock.releaseRelease a lock with its fencing token.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| fencing | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=false and destructiveHint=true, so the mutation risk is covered structurally. The phrase "with its fencing token" hints at a conditional/safety-checked release, which is useful, but the description never says what happens on a fencing mismatch, whether the lock must be held, or whether release is idempotent — the substantive behavior an agent needs for a destructive operation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single front-loaded sentence with no filler, but its brevity comes at the cost of the semantics the tool needs. It is concise without being informative.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a destructive two-parameter mutation with no output schema and zero parameter documentation, the description omits the return/outcome (does it report success or throw on stale token?), the fencing-token contract, and the required lock-holding precondition. Too much is missing relative to the operation's risk.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must carry the load, yet it only glosses `fencing` as a token and says nothing about `name` being the lock identifier. It never states that the fencing value must be the one returned by lock.acquire, or what an incorrect value does.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource ("Release a lock") and its counterpart lock.acquire in the sibling list makes the split obvious. It stops short of explicitly differentiating itself from siblings or describing what release does to the lock state, so a 4 rather than a 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to release versus letting a lock expire, no prerequisite that the caller must hold the lock, and no mention of the alternate outcome when the fencing token is stale. The agent is left to infer all invocation conditions from the name alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.