Skip to main content
Glama

generate_data_archive

Create a downloadable archive of a device’s data for a specified period in hours, returning an archive ID for download.

Instructions

Создать архив данных устройства за период (для скачивания).

Параметры: device_id: идентификатор устройства. hours: глубина архива в часах от текущего момента.

Возвращает идентификатор архива для download_data_archive.

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": {
      "device_id": "<device_id>",
      "hours": "<hours>"
    },
    "name": "generate_data_archive"
  }
}

Input Schema

NameRequiredDescriptionDefault
hoursYes
device_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.2

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It discloses that the call creates an archive and returns an identifier for a later download, but omits permissions, whether generation is synchronous, archive lifetime/retention, and other side effects.

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

Conciseness5/5

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

The description is three short lines: purpose, parameter list, and return handoff. It is front-loaded and contains 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 simple two-parameter archive-generation tool with an output schema, the description gives purpose, both required inputs, and the downstream download step. The main missing piece is operational behavior such as permissions or async generation, but invocation essentials are present.

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 0%, so the description must define parameters. It defines both required parameters, including that 'hours' is archive depth from the current moment; it does not add range/constraint details, but it covers the essential semantics.

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

Purpose5/5

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

The description states a concrete verb and resource ('Создать архив данных устройства') plus the period scope, and explicitly ties the result to the sibling download_data_archive. This makes the tool's role clear against that sibling.

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 implies the workflow: generate an archive, then use the returned identifier with download_data_archive. However, it does not state explicit when-not conditions or alternatives beyond that next step.

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