Skip to main content
Glama
news-monitor-mcp

news-monitor-mcp

by malkreide

news_cache_clear

DestructiveIdempotent

Clears cached news results — all entries or a specific type like search, headlines, sentiment or briefing — and returns the number of deleted cache entries.

Instructions

Leert den Cache (vollstaendig oder fuer einen spezifischen Tool-Typ).

Fragt ein Client mit Formular-Elicitation im Protokoll 2026-07-28 an, bestaetigt die Person selbst (input_required); sonst gilt confirm.

Args: params (CacheClearInput): tool_type (leer = alles leeren)

Returns: str: Anzahl geloeschter Cache-Eintraege.

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": {
      "params": "<params>"
    },
    "name": "news_cache_clear"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.4

TDQS

B3.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=true, so the safety profile is covered. The description adds valuable context beyond that: it explains the confirmation flow (form elicitation requires input_required, otherwise confirm applies) and states that the return value is the number of deleted cache entries.

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

Conciseness3/5

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

The description is front-loaded with the purpose and includes structured Args/Returns sections. However, the second sentence about form elicitation and protocol version is awkwardly phrased and likely confusing, mixing German and English terms without clear benefit.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 explained, though the description does mention them. The description covers scope and confirmation behaviour and annotations carry the destructive nature. Missing are any permission requirements or explicit mention that the operation is irreversible beyond the destructive hint, and the confirm parameter remains underspecified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is reported as 0% for the top-level params object, so the description must compensate. It clarifies that an empty tool_type means 'alles leeren', but the confirm parameter is only cryptically referenced ('sonst gilt confirm') and its required True-first-call behaviour is not explained in the description.

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 states a specific verb and resource: 'Leert den Cache' with the scope 'vollstaendig oder fuer einen spezifischen Tool-Typ'. This lets an agent distinguish it from sibling tools like news_cache_stats, but it does not name or contrast with any alternative explicitly.

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?

The description gives no guidance on when to clear the cache versus checking stats, searching, or other cache-related operations. It describes a confirmation protocol but does not tell the agent under what circumstances this tool should be selected over alternatives.

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