Skip to main content
Glama
ultralytics-mcp
by amanharshx

auto_annotate_stop

Destructive

Stops an active auto-annotation run for a specified dataset, checking status first and refusing when no run is active so you don't send an unnecessary stop request.

Instructions

Stop a dataset's active auto-annotation run by slug, owner/slug, or a ul://owner/datasets/slug URI. Reads status first and refuses without calling the endpoint when no run is active, including when the last run has already finished, since there is nothing to stop. When a run is active it sends the request and surfaces the server's own action verbatim rather than inferring it, for example cancelled for a run stopped mid-flight. Ships ungated, consistent with training_cancel and export_cancel: an off-switch is never gated. A finished run left in place does not block the next start, so this never strands anything.

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": {
      "dataset": "<dataset>"
    },
    "name": "auto_annotate_stop"
  }
}

Input Schema

NameRequiredDescriptionDefault
datasetYesDataset ref by slug, owner/slug, or a ul://owner/datasets/slug URI.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.15
    • addedInput schema / additionalProperties
      Added value: +false
  2. Changed1 schema field changedv0.1.13
    • changedInput schema / properties / dataset / description
      Previous value: -"Dataset ref by slug, owner/slug, or ul:// URI."New value: +"Dataset ref by slug, owner/slug, or a ul://owner/datasets/slug URI."
  3. Addedv0.1.12

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare that this is destructive, non-idempotent and open-world; the description adds real behavior on top: a pre-flight status read, a refusal path that never touches the endpoint, and returning the server's own action verbatim rather than inferring a result. The ungated/off-switch rationale and the 'never strands anything' note explain consequences an agent could not get from structured fields.

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?

Front-loaded with the verb and resource, then layered with preconditions and edge cases in a sensible order. It runs long and includes one or two explanatory tails ('since there is nothing to stop') that could be trimmed without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description compensates by stating what is returned (the server's action verbatim, e.g. 'cancelled'). Combined with the refusal path and the refusal's non-blocking consequence, an agent has everything needed to call this correctly and to interpret the result.

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% and the single parameter's ref formats are already documented in the schema, so the description's repetition of 'slug, owner/slug, or a ul://owner/datasets/slug URI' adds no new meaning. Baseline 3 applies since the schema carries the load.

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?

The opening states a specific verb and resource ('Stop a dataset's active auto-annotation run') plus the accepted reference formats, which immediately distinguishes it from auto_annotate_start and auto_annotate_status. The scope word 'active' matters and is stated up front.

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 gives an explicit precondition and a when-not: it refuses without calling the endpoint when no run is active, including when the last run already finished. The analogy to training_cancel and export_cancel clarifies its gating posture. It does not, however, name auto_annotate_status as the sibling to use for a pure status read, which is the obvious competing choice.

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