Skip to main content
Glama

download_control

Pause, resume, or cancel an active download by GID; cancel keeps partial files and resume continues with the same GID and data.

Instructions

Pause, resume or cancel a download by GID. Cancel retains partial files and does not delete them. Resume continues the same GID and partial data; query download_status afterward to verify the resulting state.

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": {
      "gid": "<gid>",
      "action": "<action>"
    },
    "name": "download_control"
  }
}

Input Schema

NameRequiredDescriptionDefault
gidYes
actionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does disclose meaningful side effects: cancel retains partial files rather than deleting them, and resume reuses the same GID and partial data. It omits edge behavior such as what happens when an action is invalid for the download's current state, or whether the call is synchronous and what it returns.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the verb and resource, then side-effect notes, then the verification pointer. Nothing is redundant and each sentence adds distinct 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 two-parameter control tool with no output schema and no annotations, the definition covers action semantics, side effects, and a follow-up verification path. The only gap is silence on the immediate response or error conditions, which would matter since no output schema exists.

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

Parameters4/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 supply meaning, and it does: gid identifies the transfer, and each enum value is given semantics (pause, resume-from-partial, cancel-keeping-files). It still leaves the GID format/where to obtain it unstated, so coverage is good but not complete.

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?

"Pause, resume or cancel a download by GID" names the resource and the three concrete operations, which align with the action enum. It also distinguishes itself from download_status by pointing to that sibling for verification, though it does not explicitly contrast with download_wait.

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?

The description implies when to pick each action (resume continues the same GID and partial data; cancel keeps partial files) and tells the agent to query download_status afterward. There are no explicit when-not conditions or comparisons against siblings like download_wait, so guidance is present but inferred rather than stated.

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