Skip to main content
Glama

Set DataLens licence limit

datalens_licensing_limit_set
Idempotent

Sets the maximum number of DataLens licences an instance may hold and returns the resulting limits. Use it to control billable seat counts after confirming the intended value.

Instructions

Set how many licences the instance may hold and return the limits.

The limit is the number of seats DataLens bills for: ask the person before calling. Written from the DataLens document and never called: not measured.

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": {
      "value": "<value>"
    },
    "name": "datalens_licensing_limit_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYesThe most licences the instance may hold.
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).

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.5/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 mutability and safety are covered upstream. The description genuinely adds beyond them by disclosing the billing consequence and the required human confirmation, but the closing sentence ("Written from the DataLens document and never called: not measured.") is opaque and discloses nothing usable about behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core two sentences are tight and the confirmation warning is well placed, but the third sentence is a non sequitur that reads as an internal note accidentally left in the description. It consumes space without adding actionable meaning and slightly undermines trust in the rest.

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

Completeness3/5

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

For a simple two-parameter mutation with full schema coverage and no output schema, the description covers the essential what, the cost implication, and the confirmation gate. It leaves open what happens to already-assigned licences if the limit is lowered, and what permissions the call requires — meaningful gaps for a billing-adjacent setting.

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%, so both `value` and `dry_run` are already documented, including the precise dry-run response shape. The description's only semantic contribution is characterizing the limit as billed seats, which is useful framing but not parameter-level detail; baseline 3 applies.

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 opens with a specific verb and resource: "Set how many licences the instance may hold," and adds that it "return[s] the limits," so an agent knows this is a write that also yields the resulting caps. The paired sibling datalens_licensing_limit_get makes the set/get split self-evident from the name, though the description never names it explicitly.

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?

It gives a concrete precondition that most definitions omit: "ask the person before calling," plus the rationale (billing exposure, since the limit is the number of seats billed). It stops short of naming the read-only alternative or stating when-not to use it, so it is clear context without full alternative routing.

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