Skip to main content
Glama

lock_lock_try

Attempt to acquire a lock without blocking, returning immediate status on whether it was obtained and who currently holds it.

Instructions

[lock] Non-blocking lock attempt. Returns immediately with {acquired, held_by?}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
ownerNo
ttl_sNo
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/0-co/agent-friend'

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