Skip to main content
Glama
Firenook

Firenook

Official

tasks_list

Read-onlyIdempotent

Lists Cloud Tasks queues with pending and running counts and their waiting tasks, optionally filtered by queue or task state, to inspect backlog and dispatching work.

Instructions

The Cloud Tasks queues (with their pending and running counts) and the tasks waiting in them; with queue, only that queue's tasks, optionally in one state.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "tasks_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoTasks per queue; default 20
queueNoQueue id, key (queue:<project>-<location>-<id>) or its function name
stateNoOnly tasks in this state

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile needs no restatement. The description adds genuine context beyond that by saying the response includes queue-level pending and running counts alongside the tasks themselves, which is not derivable from annotations. It does not disclose pagination behaviour or how limit interacts across multiple queues.

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 compact sentence with no wasted clauses, and the key scoping information about queue is placed after the main resource statement. The phrasing is telegraphic and slightly elliptical ("with queue, only that queue's tasks"), which costs a little immediate readability but keeps the definition tight.

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 three-parameter, all-optional, read-only list tool with no output schema, the description covers what is returned (queues with counts, and their tasks) and how parameters reshape that result. Remaining gaps — pagination, whether tasks are nested under queues, limit semantics across multiple queues — are modest for a tool whose annotations already establish it as a safe, idempotent read.

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 all three parameters are already documented in the schema, including the enum values and the 1–500 limit range. The description only restates the narrowing behaviour of queue and state without adding format or edge-case detail (e.g. whether limit applies per queue or overall). Baseline 3 is appropriate when the schema carries the load.

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 names the resource concretely — Cloud Tasks queues with their pending/running counts, plus the tasks inside them — and the parenthetical makes the returned shape recognizable. It stops short of an explicit verb ("list") and is elliptically phrased, but an agent can tell this apart from tasks_run and tasks_stats, which imply acting on or summarising tasks rather than enumerating them.

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?

It does give conditional usage guidance in the form of scope: supplying queue narrows results to a single queue's tasks, and state narrows further. What it lacks is any statement of when to prefer this over siblings like tasks_stats (aggregate view) or tasks_run (execution), so the agent must infer the boundary between listing and those alternatives.

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