Skip to main content
Glama

Assign DataLens licences

datalens_licensing_licenses_assign

Give specified users DataLens licenses and return the licenses granted. Confirm with each user before calling; use dry_run to preview without writing.

Instructions

Give each of these users a licence and return the licences given.

A licence is a seat DataLens bills for: ask the person before calling. Written from the DataLens document and never called: not measured.

Grants access: a client that honours the mark asks a person on every call.

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": {
      "user_ids": "<user_ids>"
    },
    "name": "datalens_licensing_licenses_assign"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
user_idsYesThe users to give a licence to.

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

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=true, so the safety profile is known. The description genuinely adds context beyond that — the operation is billable ('a seat DataLens bills for') and requires per-person consent, and it states the return value ('return the licences given'). The middle sentence ('Written from the DataLens document and never called: not measured') is opaque and reads like boilerplate rather than usable behaviour, which keeps this at a 3.

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 definition is short and front-loads the action, which is good. But one of its three sentences is unintelligible and contributes no actionable meaning, and the remaining content is spread across line breaks in a way that obscures the key warning (ask the person first) rather than emphasising it.

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 two-parameter mutation with no output schema, the description covers the essentials: what it does, that it costs money, that consent is needed, and roughly what comes back. It omits what happens on repeat assignment (relevant given idempotentHint=false) and any permission requirement, which are meaningful gaps for a billing-affecting write.

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 parameters are already documented, including dry_run's exact response shape. The description adds nothing parameter-level beyond the schema — it never mentions dry_run or how to preview the assignment, which would have been the highest-value addition for a billable write.

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 first sentence gives a specific verb and resource ('Give each of these users a licence and return the licences given'), which is enough to tell this apart from the read-only sibling datalens_licensing_licenses_list. It stops short of naming that sibling explicitly as the alternative, so the differentiation is implied 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?

'ask the person before calling' is a real usage constraint tied to the billing consequence, which is more than most mutation tools offer. However, it gives no guidance on when to prefer this over listing existing licences first, no prerequisites about admin rights, and no note on what happens for users who already hold a licence.

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