Skip to main content
Glama

claim_clink

Reserve a clink for processing to prevent duplicate work by other agents, with an optional timeout for automatic release.

Instructions

Claim a clink to indicate you are processing it. This prevents other workers/agents from processing the same clink. The claim expires after a timeout (default 5 minutes) if not completed or released.

    Args:
        clink_id: The clink ID to claim
        timeout_seconds: How long to hold the claim in seconds (default: 300 = 5 minutes)
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clink_idYes
timeout_secondsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the full burden and does well by disclosing key behavioral traits: it's a mutating operation (claiming), includes concurrency control (prevents other workers), and details timeout behavior (default 5 minutes, expiration if not completed/released). It could add more on permissions or error cases, but covers essential aspects.

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 appropriately sized and front-loaded: the first sentence states the core purpose, followed by key behavioral details and parameter explanations in a clear, bullet-like format. Every sentence adds value without redundancy, making it efficient and easy to parse.

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?

Given the tool's moderate complexity (2 parameters, mutating operation), no annotations, and the presence of an output schema (which handles return values), the description is largely complete. It covers purpose, behavior, and parameters well, but could benefit from mentioning prerequisites (e.g., clink existence) or linking to sibling tools like 'release_clink' for full context.

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%, so the description must compensate. It adds meaningful semantics for both parameters: 'clink_id' is explained as 'The clink ID to claim', and 'timeout_seconds' as 'How long to hold the claim in seconds' with a default value. This goes beyond the schema's basic types, though it could detail format constraints or units more explicitly.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('claim a clink') and its purpose ('to indicate you are processing it' and 'prevents other workers/agents from processing the same clink'), which is specific and actionable. However, it doesn't explicitly differentiate from sibling tools like 'release_clink' or 'complete_clink' in the description text, though the purpose is distinct.

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 when to use this tool: to claim a clink for processing and prevent concurrent access. It implies usage by stating the claim expires if not completed or released, but doesn't explicitly name alternatives like 'release_clink' or specify when not to use it (e.g., if already claimed).

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/Voxos-ai-Inc/clink-mcp-server-python'

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