Skip to main content
Glama

clear_client_stats

Resets statistics for a specified client on a Solace PubSub+ broker and VPN, defaulting to a dry run until confirmation.

Instructions

Reset client statistics. dry_run by default.

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": {
      "broker": "<broker>",
      "vpn": "<vpn>",
      "client_name": "<client_name>"
    },
    "name": "clear_client_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
vpnYes
brokerYes
confirmNo
client_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/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 burden, and 'dry_run by default' is a genuinely useful disclosure: an agent learns the call is non-mutating unless it opts in. But it stops there — it never says that reset is irreversible, whether statistics history is destroyed, what permissions are needed, or how dry_run relates to the schema's `confirm` flag.

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?

Two short sentences with the destructive action front-loaded and the default behavior second, so nothing is wasted. But the brevity crosses into under-specification rather than economy, leaving required context unstated.

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 a three-required-parameter mutation tool with zero annotation coverage, no output schema, and no parameter documentation, the description is far too thin. It gives no indication of what a reset affects, whether it is reversible, or how to actually perform a non-dry-run reset.

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 0% across four parameters (broker, vpn, client_name, confirm), so the description must compensate and does not. It names no parameter, does not explain that broker/vpn/client_name scope which client is affected, and introduces the term 'dry_run' that does not appear in the schema (the actual control is `confirm`), which risks confusing the caller.

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?

States a specific verb and resource ('Reset client statistics'), which is clearly a destructive-sounding counterpart to the stats readers among the siblings (get_broker_stats, get_queue_stats, get_vpn_stats). It does not, however, name or differentiate itself from any particular sibling, so it stops short of a 5.

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?

There is no when-to-use or when-not-to-use guidance, no mention of prerequisites or permissions, and no pointer to alternatives if the agent merely wants to read stats. The one usage-relevant hint, that the tool defaults to a dry run, is stated as a behavior rather than as guidance about when to invoke it.

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