Skip to main content
Glama

Clear report channels

reports_clear
DestructiveIdempotent

Deletes a report channel and its stored values, or clears all report channels when no channel is specified. Use it to reset report data for one channel or the entire instance.

Instructions

Deletes a report channel and its values (all channels if channel is absent). Result: {cleared}.

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": "reports_clear"
  }
}

Input Schema

NameRequiredDescriptionDefault
channelNoChannel to clear (absent = all).
instanceNoOptional. Instance identifier (see instances_list). If present and different from the local instance, the call is relayed by the coordinator to that instance.

Output Schema

NameRequiredDescriptionDefault
nextNo
noteNo
clearedYes
warningNo
next_callNo
answered_byNo
truncated_noteNo
version_warningNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.7

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is carried. The description adds real context beyond that: it clarifies that channel *values* are removed alongside the channel, that omitting `channel` widens the blast radius to everything, and it sketches the response shape.

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?

One sentence plus a compact result annotation, with the destructive default front-loaded. There is no filler and nothing to trim.

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, zero-required-parameter destructive tool with an output schema, this covers what an agent needs: what is removed, the default scope, and the return key. Only the relay/instance nuance is left entirely to the schema, which is acceptable.

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 coverage is 100%, so the schema already documents both parameters including the instance-relay behavior. The description restates the `channel`-absent semantics but adds nothing new about `instance`, so the baseline of 3 applies.

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 names a specific verb and resource ('Deletes a report channel and its values') plus the default scope when no channel is given. That is enough to separate it from read-oriented siblings like reports_channels and reports_read, though no sibling is named 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?

The scope rule ('all channels if `channel` is absent') implicitly tells an agent how to use it for bulk vs. targeted clearing, but there is no explicit when-to-use framing, no stated preconditions, and no cue to prefer reports_read or reports_channels first to inspect before deleting.

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