Skip to main content
Glama

Release the lock of a DataLens entry

datalens_entrylocks_delete
Destructive

Release an entry lock by token, or use force to clear another editor's lock when it blocks access or editing.

Instructions

Release a lock; with force it releases a lock another editor holds.

An entry that is not locked answers 404.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "entry_id": "<entry_id>",
      "params": "<params>"
    },
    "name": "datalens_entrylocks_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsYesThe token of the lock, or `force` for another's lock.
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
entry_idYesEntry id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.142.2
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "default": false,
      +  "description": "Send nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).",
      +  "type": "boolean"
      +}
  2. Addedv0.122.1

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true, non-read-only, non-idempotent, openWorld, so the safety profile is covered structurally. The description adds real value beyond that by disclosing that force destroys another editor's lock and that a 404 is returned for an unlocked entry. It does not, however, say what happens on a stale or mismatched lockToken, or whether the caller must be the lock holder without force.

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?

Two tight sentences, front-loaded with the action, with the force exception following. The literal double-backtick markup around ``force`` is slightly noisy and the 404 sentence would read better attached to the force clause, but there is no filler.

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 three-parameter destructive mutation with no output schema, the definition covers the destructive scope, the error case, and the force path; dry_run's return shape lives in the schema. A note on required permissions or on what releasing a lock unblocks would close the remaining 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 coverage is 100%, so baseline is 3; the description earns one above that by explaining the actual effect of force (releasing a lock another editor holds), which the schema only labels as 'Whether to force lock deletion.' The lockToken parameter and the dry_run preview mode are not elaborated in prose, but the schema already spells both out.

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 uses a specific verb and resource: release a lock on a DataLens entry, and it names the actor whose lock can be removed (another editor's). It never names the sibling lock operations (entrylocks_create, entrylocks_extend), so differentiation from them is left to inference rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It does give one concrete usage condition: use force to break a lock held by another editor, and an unlocked entry answers 404. What is missing is guidance on when to call this versus entrylocks_extend or entrylocks_create, and no preconditions (e.g. holding the lock token vs. having permission) are stated.

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

Deploy Server

Other Tools