Skip to main content
Glama

plugin_task

Read a plugin task's status, progress, logs and result, optionally waiting up to 600 seconds for it to finish, or list the thread's recent tasks for that plugin.

Instructions

Read a plugin task (one a plugin method started with ctx.task and returned the id of): status running, done, failed, stopped or interrupted, progress, last log lines and result. wait (seconds, up to 600) holds until the task ends; call again if it is still running. stale: true means no progress for 5 minutes, but it may still finish. Without task, lists this thread's recent tasks for the plugin.

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": {
      "id": "<id>"
    },
    "name": "plugin_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPlugin id from plugin_list, or the id being authored.
taskNoTask id the plugin returned.
waitNoSeconds to wait for the task to end. Default 0: answer at once.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose real behavior: the five possible terminal/status states, that `wait` blocks up to 600 seconds and may need re-calling, and that `stale: true` means no progress for five minutes yet the task may still finish. These are non-obvious traits an agent could not infer from the schema. It doesn't cover whether the task result persists after completion or how the listing mode is ordered, which keeps it below a 5.

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?

The key identity and scope are front-loaded, and each sentence carries distinct information (what it reads, wait behavior, stale semantics, fallback mode). It reads as one dense run-on paragraph with parentheticals, which slightly hurts scannability but wastes no content.

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?

There is no output schema, so the description must convey the return shape, and it does — statuses, progress, last log lines, and result. It also explains the dual mode and the blocking/stale semantics. The only gap is post-completion retention of results, a minor omission for a read tool.

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 coverage is 100%, so baseline is 3, but the description adds meaning beyond the schema: `task` being optional switches the tool into a list mode, and `wait` is explained as holding until the task ends with a re-call pattern for still-running tasks. That semantic framing for the optional parameter is genuine added value.

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 ("Read a plugin task") and immediately scopes what a task is (one started with ctx.task that returned an id). It enumerates what the read yields (status values, progress, last log lines, result) and discloses a second mode: without `task`, it lists this thread's recent tasks. That distinguishes it from siblings like plugin_logs or plugin_state.

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 clear when-to-use context: call it with a task id a plugin method returned, and "call again if it is still running" when using `wait`. It also explains the alternate mode when `task` is omitted. It stops short of naming a sibling to use instead for a different need, so it is strong but not explicit about exclusions.

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