Skip to main content
Glama

Clear harness usage limit

clear_harness_limit

Clear a falsely recorded usage-limit window for an agent harness, or set a new end time, so the worker returns to its highest-priority harness without restarting. A real limit will be hit again.

Instructions

Clear a falsely recorded usage-limit window for one agent harness (or set one with until), so the worker switches back to its highest-priority harness without a restart. A real limit is simply hit again. Same as devintern worker harness clear-limit.

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": {
      "harness": "<harness>"
    },
    "name": "clear_harness_limit"
  }
}

Input Schema

NameRequiredDescriptionDefault
untilNoSet a window ending at this ISO-8601 time instead of clearing
harnessYesHarness name, as in get_usage_status

Output Schema

NameRequiredDescriptionDefault
clearedNo
harnessNo
messageNo
errorCodeNoSet on failure: stable error code
nextStepsNoSet on failure: steps to run next (`command` runs on the worker host)
workerRunningNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare the generic mutation profile (destructiveHint=false, idempotentHint=false), while the description adds real consequence detail: the worker switches back to its highest-priority harness and no restart is required. It also discloses that the action is non-permanent because a real limit will be re-hit, though it says nothing about permissions or what happens if the harness name is unknown.

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 compact sentences with the core action front-loaded, then the effect, then a caution. The trailing CLI-equivalence clause is the only low-value element, though it can help agents map to known command semantics.

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-value explanation is not needed, and the description covers action, effect, and safety caveat for a two-parameter mutation. It stops short of stating preconditions (harness must exist, required auth) that would matter when the call fails.

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 coverage is 100% and the schema already explains both `harness` (with a pointer to get_usage_status) and `until` ("Set a window ending at this ISO-8601 time instead of clearing"). The description's "or set one with until" restates the schema rather than adding format or edge-case guidance, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Clear a falsely recorded usage-limit window"), scopes it to "one agent harness", and explicitly covers the alternate mode ("or set one with until"). An agent can distinguish this from get_usage_status or worker-status siblings without opening any schema.

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?

Gives a clear trigger condition (the limit was falsely recorded) and an implicit when-not via "A real limit is simply hit again", warning that clearing a genuine limit is pointless. It also routes to get_usage_status for harness naming, but never states an explicit alternative tool to use instead when the limit is real.

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