Skip to main content
Glama

Set traffic meter

set_traffic_meter
DestructiveIdempotent

Enable or disable the router's traffic meter to control bandwidth usage tracking. Preview the change first, then apply it by confirming.

Instructions

Enable/disable the traffic meter. Arg: enable (boolean). Call with confirm=false first to preview; it only changes the router with confirm=true.

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

Input Schema

NameRequiredDescriptionDefault
argsNo
confirmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered. The description adds genuinely new behavior beyond that: the two-phase dry-run pattern and the precise condition under which the router is mutated (confirm=true). It does not describe what the preview returns, which keeps it from a 5.

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?

Three short clauses, front-loaded with purpose followed by the argument and the confirm workflow; nothing is padded. The terse 'Arg: enable (boolean)' phrasing is slightly cryptic but earns its place by flagging the payload key.

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?

For a destructive, annotation-rich tool with no output schema, the description supplies the essential safety workflow and effect condition. It is still incomplete on the enable-vs-args structure and gives no hint of what a preview response contains, so it is adequate rather than thorough.

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 description coverage is 0%, so the description must carry the parameter burden, and it does explain 'enable (boolean)' and the confirm-gating semantics. But the schema's actual top-level property is 'args' (an object), not 'enable', leaving real ambiguity about whether 'enable' is a top-level key or nested inside args — a mismatch an agent could trip over.

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 opens with a specific verb pair and resource ('Enable/disable the traffic meter'), which is enough for an agent to distinguish it from the read-only siblings like traffic_meter_settings and traffic_usage. It stops short of naming an alternative explicitly, so it lands at a clear-but-undifferentiated 4.

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?

It prescribes a procedural workflow ('Call with confirm=false first to preview; it only changes the router with confirm=true'), which is real when-to-use guidance for invocation sequencing. However, it never says when this tool is the right choice versus traffic_meter_settings or traffic_usage, and offers no exclusions or prerequisites.

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