Skip to main content
Glama

Extend the lock of a DataLens entry

datalens_entrylocks_extend
Idempotent

Extend an entry lock's duration or force an extension, then get the lock's updated expiration time in the response.

Instructions

Hold a lock longer; the reply says when it expires now.

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>",
      "data": "<data>"
    },
    "name": "datalens_entrylocks_extend"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYesThe token of the lock and its new terms.
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

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is given. The description adds one useful behavioral fact beyond that - the response reports the new expiry time - but says nothing about what happens when the lock is stale/expired or what the token must match.

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 short clauses, zero padding, and the outcome statement is front-loaded. It is efficient, though the brevity borders on under-specification rather than being well-structured explanation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a stateful mutation on a lock with no output schema, and the description never covers token validity requirements, what happens if the lock expired, or how force interacts with extension. For a mutation whose correctness depends on the supplied lock token, that is a real gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the nested data object documents lockToken, duration, and force, plus dry_run at the top level. The description adds no meaning beyond that, so the baseline 3 applies; it does not help the agent understand the relationship between token and duration.

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

Purpose3/5

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

"Hold a lock longer" conveys the action on a lock, but it is essentially a restatement of the title and never names the resource (a DataLens entry) or the token-based mechanism. An agent gets the gist but not a precise statement of verb+resource.

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

Usage Guidelines2/5

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

There is no indication of when to extend versus when to create a new lock or release one, even though siblings like datalens_entrylocks_create and datalens_entrylocks_delete exist in the catalog. No prerequisites, no failure conditions, no exclusions.

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