Skip to main content
Glama

scratchpad_unlock

Release an active distributed mutex lock by owner ID to unblock queued agents without waiting for TTL expiration. Verifies ownership so third parties cannot release locks.

Instructions

    [Free / $0.0000 USDC] Releases an acquired distributed mutex lock immediately.
    Verifies owner_id identity so third-party agents cannot release active locks held by others.
    Releasing locks cleanly unblocks queued agents without waiting for TTL lease expiration.

    Args:
        lock_name: Resource identifier of the lock to release.
        owner_id: Identifier of the agent that currently holds the lock.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
owner_idYes
lock_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

A4.4/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 of behavioral disclosure. It explains that the lock is released immediately, that owner_id is verified, and that queued agents are unblocked without waiting for TTL expiration. This provides meaningful behavioral context beyond the bare action.

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 concise and front-loaded with the core action, then the identity verification detail, then the benefit of clean release. The Args section is minimal and each sentence earns its place 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?

For a simple two-parameter unlock operation, the description covers the action, the parameters, and the behavioral outcome. It does not describe the return value or failure modes, but the tool is simple enough that this is a minor omission rather than a blocking gap.

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%, and the description compensates by explaining both parameters: lock_name as the resource identifier and owner_id as the identifier of the current lock holder. This adds meaning beyond the schema's simple property names.

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 clearly states the tool's purpose: to release an acquired distributed mutex lock immediately. It adds crucial context by noting the owner_id verification, distinguishing it from the sibling scratchpad_lock and other scratchpad tools.

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 provides clear context for use: it is for releasing locks held by the calling agent, and it highlights that third-party agents cannot release others' locks. It does not explicitly name alternatives or state when not to use, but the purpose and ownership requirement make the appropriate usage evident.

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