Skip to main content
Glama

Create an upload link for a DataLens bucket object

datalens_cloudenvironmentstorage_bucket_upload_url_create

Generate a signed upload URL to put one object into a DataLens cloud environment storage bucket. Returns a time-limited link to hand to the uploader, with optional dry run to preview the request.

Instructions

A signed link to put one object into the bucket.

The link works for whoever holds it, for a time, and it comes in this tool's result: hand it to the person and do not repeat it. Experimental in the DataLens API and written from its document: 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": {
      "cloud_environment_id": "<cloud_environment_id>",
      "path": "<path>",
      "size": "<size>",
      "content_md5": "<content_md5>"
    },
    "name": "datalens_cloudenvironmentstorage_bucket_upload_url_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesThe path of the object in the bucket.
sizeYesThe size of the object in bytes, as a string.
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
content_md5YesThe MD5 digest of the content: 16 bytes, base64-encoded.
cloud_environment_idYesId of the cloud environment the bucket belongs 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

A3.7/5.0
Behavior4/5

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

Annotations declare it is a non-read-only, non-destructive, open-world, non-idempotent write. The description adds genuinely new behavioral context: the link is bearer-authority ('works for whoever holds it'), it is time-limited, it is delivered in the tool's result, and it must not be echoed back. The 'experimental, written from documentation, not measured' note is an honest reliability signal absent from the annotations. It still omits link lifetime and whether an existing object at the path is replaced.

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?

Short and front-loaded: what the tool produces, then how to treat the result, then a caveat about its experimental status. Each sentence carries information, though the handling sentence is slightly run-on.

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 five-parameter tool with no output schema, the definition covers what the caller receives (the link, in the result) and how to treat it, plus a trust caveat. Remaining gaps are the link's expiry duration and overwrite behavior for an existing path, which an agent would want before calling.

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 path, size, content_md5, dry_run, and cloud_environment_id are already fully documented in the schema. The description adds no semantics about parameters, so the baseline of 3 is appropriate.

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 concrete verb and resource: a signed link that puts a single object into the bucket. That distinguishes it in spirit from the download-link sibling, though the description never names an alternative tool explicitly.

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 gives handling guidance ('hand it to the person and do not repeat it'), which implies the tool's role in a hand-off flow, but there is no statement of when to prefer this over the download-link or direct upload paths, and no prerequisites are mentioned.

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