Skip to main content
Glama

task_run

Destructive

Run a scheduled task immediately without changing its schedule, then return the run result or summary.

Instructions

Run a scheduled task immediately (does not change its schedule). Returns the run result/summary.

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": "task_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.2

TDQS

A3.5/5.0
Behavior3/5

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

Annotations only declare destructiveHint=true, so the description adds real value by disclosing that the schedule is untouched and that a run result/summary is returned. It says nothing about side effects the task itself may cause, failure behavior, or whether concurrent runs are allowed, which matters for a destructive-flagged tool.

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, front-loaded with the action and the key caveat, with no filler. Nothing is wasted.

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 one-parameter trigger tool with no output schema, the description covers the action, the schedule caveat, and the return value, which is nearly everything needed. Only the meaning of 'id' and the consequences of executing a destructive task are unaddressed.

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?

There is a single required parameter 'id' with 0% schema coverage, and the description only implies it identifies the scheduled task; it names neither the identifier type nor where to obtain it. That is a modest gap given the parameter is structurally unambiguous.

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?

The description states a specific verb and resource ('Run a scheduled task immediately') and adds a qualifying clause about the schedule, which clearly separates it from task_save/task_list/task_delete. It is clear without needing sibling names, though it doesn't explicitly contrast with run_agent.

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 parenthetical 'does not change its schedule' implies this is the on-demand trigger path rather than editing the schedule, so usage is implied. There is no explicit when-to-use/when-not guidance or named alternative for scheduling changes.

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