Skip to main content
Glama
Portward

Portward

by hamzaelsiesy

usage_counts

Check or control anonymous usage counting: see if it is on and exactly what would be sent, turn it off to delete stored counts, or re-enable it after consent.

Instructions

Anonymous usage counts: with no argument, say whether they're on and exactly what is counted and would be sent next. on=false turns them off (and deletes the counts kept so far); on=true turns them back on once the user has been asked (Portward asks them itself).

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

Input Schema

NameRequiredDescriptionDefault
onNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations supplied, the description does real work: it discloses that on=false is destructive ('deletes the counts kept so far') and that on=true carries a consent prerequisite. It does not state idempotency, whether reads have side effects, or how errors are surfaced, but the destructive and consent traits are the ones an agent most needs.

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?

One compact sentence group, front-loaded with the no-argument behavior before the parameter cases, so an agent scanning the first clause gets the primary use. The phrasing 'exactly what is counted and would be sent next' is slightly convoluted but carries real information.

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 single optional-parameter tool with no output schema, the description covers the input states, the destructive effect, and the shape of what the no-argument call returns. It does not describe the response structure in detail, but the 'on/off plus what is counted' summary is adequate for an agent to decide and act.

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

Parameters5/5

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

Schema coverage is 0% and the schema only offers boolean|null with no titles beyond 'On', so the description must carry the semantics. It fully enumerates all three states: omitted for status reporting, false for disable-and-delete, true for re-enable after consent, which is exactly the meaning the schema lacks.

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 states a concrete resource and action: it reports on anonymous usage counts and can turn them on or off. It is specific enough to distinguish a telemetry-consent control from data-listing siblings like usage_choice or usage_seen, though it never explicitly names or contrasts an alternative.

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

Usage Guidelines4/5

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

It clearly maps invocation modes: no argument = inspect current state, on=false = disable, on=true = re-enable. It even states the precondition for on=true (the user must already have been asked, and Portward handles asking). What is missing is guidance on when this tool is the right one versus adjacent usage/consent tools.

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