Skip to main content
Glama

Clear Data

clear_data

Delete all database records and reset the dashboard to a clean state for a fresh data load.

Instructions

Clear all data from the database and reset the dashboard.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "clear_data"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations at all, the description carries the full disclosure burden, and it does at least state the blast radius: all data is removed and the dashboard is reset. However it is silent on irreversibility, whether a backup or confirmation step exists, permission requirements, and whether the reset affects only the current dashboard or all of them — critical omissions for a no-annotation destructive tool.

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 sentence with zero filler, and the destructive action is front-loaded. It could be argued to be slightly too terse given the risk profile, but nothing in it is wasted.

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?

An output schema exists so return values need not be described, but this is a zero-parameter, zero-annotation, irreversible-sounding mutation and the description gives no warning, no confirmation or irreversibility note, and no scoping of "the dashboard" (current vs. all). For a tool of this risk level the definition is materially incomplete.

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?

The tool takes zero parameters and additionalProperties is false, so there is no parameter semantics to explain; the baseline for a parameterless tool applies. The description does not misleadingly imply any inputs.

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?

"Clear all data from the database and reset the dashboard" pairs a specific verb (clear) with a specific resource and states the two effects, so an agent knows this is a full data wipe plus dashboard reset. It is distinguishable from config-oriented siblings like update_config or load_config, but it does not explicitly contrast itself with any named sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use or when-not-to-use guidance appears anywhere in the description, and no alternative tool (e.g. update_config for partial changes) is named. The destructive nature implies caution, but the agent is left to infer that this should only be called for a full reset.

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