Skip to main content
Glama

Clear a CLI cooldown

clear_provider_cooldown
Idempotent

Clear a CLI, account, or model cooldown only when explicitly requested, such as after signing in again or adding credits.

Instructions

Clear CLI, account and model cooldown only when the user explicitly requests it in this conversation, for example after signing in again or adding credits. Each account cools down on its own: without account only the default account is cleared.

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": {
      "provider": "<provider>"
    },
    "name": "clear_provider_cooldown"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoModel to clear; omit to clear all records of the account for this CLI.
accountNoNamed account id whose cooldown to clear; omit for the default account only.
providerYesCLI whose cooldown should be cleared.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.17.0
    • addedInput schema / properties / account
      Added value: +{
      +  "anyOf": [
      +    {
      +      "pattern": "^[a-z0-9][a-z0-9-]{0,31}$",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Named account id whose cooldown to clear; omit for the default account only.",
      +  "title": "Account"
      +}
    • changedInput schema / properties / model / description
      Previous value: -"Model to clear; omit to clear all records for this CLI."New value: +"Model to clear; omit to clear all records of the account for this CLI."
  2. Addedv1.9.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the mutation/idempotency profile is already covered. The description adds genuinely new behavior: cooldowns are tracked per account, and omitting the account argument clears only the default account rather than everything — a non-obvious default that an agent could easily get wrong. It stops short of saying what state is lost or whether in-flight work is affected, keeping it at 4.

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?

Two short sentences with the safety-critical gating condition front-loaded, followed by the account-scoping caveat. No filler. The awkward mid-sentence line break and the slightly run-on first sentence cost it a point, but nothing is redundant enough to remove.

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?

An output schema exists, so return values need not be explained, and the annotations cover mutation semantics. The description supplies the two things structured data cannot: the permission-style precondition and the default-account scoping. It is close to complete for a 3-parameter state-clearing tool, with only the practical effect of clearing left implicit.

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 100%, so each parameter is already documented, establishing a baseline of 3. The description restates the account default rule ('without account only the default account is cleared') which is already in the schema, and says nothing about the 'model' parameter or its role. Net value added over structured data is minimal.

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?

Uses a specific verb ('Clear') with a precisely scoped resource: CLI, account and model cooldowns. The scope is unambiguous and the per-account granularity is stated. It does not distinguish itself from any named alternative, but the action is self-evidently distinct from the listed siblings (run_round, wait, list, etc.), so a 4 rather than 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 Guidelines5/5

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

Gives an explicit gating condition — 'only when the user explicitly requests it in this conversation' — which functions as both a when-to-use and a when-not-to-use rule, pre-empting any proactive invocation. It reinforces the trigger with concrete examples ('after signing in again or adding credits'), so no inference is required to decide whether to call it.

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