Skip to main content
Glama

datasets_clear

Delete all datapoints from a specified dataset using its dataset ID to clear the dataset for reuse or reset.

Instructions

Delete all datapoints in a dataset

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": {
      "dataset_id": "<dataset_id>"
    },
    "name": "datasets_clear"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataset_idYesDataset ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavior-disclosure burden. It says what is removed but not that the operation is irreversible, whether confirmation is required, what permissions are needed, or whether the parent dataset record is preserved — all critical for a bulk destructive call.

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?

A single front-loaded sentence with no filler, and the scope qualifier 'all' is placed where it matters. It is efficient but so terse that it borders on under-specification rather than crisp completeness.

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?

For an irreversible bulk deletion with no annotations and no output schema, the definition should say what is destroyed, whether the dataset survives, and any confirmation or permission expectations. It communicates the target but none of the risk-relevant context.

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?

Only one parameter ('dataset_id') exists and the schema describes it at 100% coverage, so the baseline is 3. The description adds no format, sourcing, or lookup guidance beyond what the schema already states.

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 states a specific verb and resource: "Delete all datapoints in a dataset." The words "all" and "datapoints" implicitly separate it from deleting a single datapoint or deleting the dataset itself, but it never names those siblings or explicitly says the dataset record survives.

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?

There is no explicit when-to-use or when-not-to-use guidance, and no mention of alternatives such as 'datasets_delete_datapoint' for targeted removal or 'datasets_delete' for the whole dataset. The scope word "all" hints at the use case, so the guidance is only inferred.

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