Skip to main content
Glama
Firenook

Firenook

Official

tasks_run

Destructive

Dispatch a waiting Cloud Tasks task immediately instead of at its scheduled time, so its function runs on the next tick.

Instructions

Dispatch one waiting Cloud Tasks task now instead of at its schedule time (it is sent on the next tick), so its function runs; tasks_list gives the queue and task ids.

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

Input Schema

NameRequiredDescriptionDefault
idYesTask id from tasks_list
queueYesQueue id, key or its function name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A4.1/5.0
Behavior4/5

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

With annotations declaring destructiveHint=true and idempotentHint=false, the description supplies the crucial context: the task is sent 'on the next tick' and this replaces its scheduled delivery time, which explains why the action is non-reversible and alters pending state. It does not warn about duplicate execution on repeat calls or queue-paused behavior, so the non-idempotency is implied rather than stated.

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?

A single dense sentence with the action front-loaded and the timing caveat attached directly to it. Every clause contributes, though 'so its function runs' is mild restatement of what dispatching a task does.

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 action with no output schema and full annotation coverage, the description covers what it does, the async timing, and where the ids come from. It leaves return/error behavior and repeat-invocation semantics unstated, which is a minor gap rather than a blocker.

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%, so both parameters are already documented, and the description merely reinforces that ids come from tasks_list. It adds no format, key-vs-name distinction, or validation detail beyond the schema. Baseline 3 is appropriate when the schema carries the parameter burden.

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 ('Dispatch one waiting Cloud Tasks task'), plus the key behavioral twist ('now instead of at its schedule time'). The trailing clause naming tasks_list as the source of queue/task ids lets an agent separate this from the listing tool without opening either 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?

The usage condition is clear: call this to run a waiting task early rather than waiting for its schedule. It also routes the agent to tasks_list to obtain the required ids. It does not state when not to use it (e.g. paused queues, tasks already dispatched, or schedules_run as a neighboring concept), so it stops short of explicit exclusions.

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