Skip to main content
Glama

List recent tasks

tasks_list
Read-onlyIdempotent

List task handles in descending update order with optional status filter to recover task IDs after a restart. Read-only operation that retrieves task identifiers without changing state.

Instructions

List task handles, newest updated first, optionally filtered by status. Use to recover ids after restart. Do not use to poll a known id (tasks_get) or to mutate state. Read-only and idempotent. Auth: tool policy gate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum handles to return. Default 20.
statusNoOptional status filter: pending, running, input_required, completed, failed, cancelled.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, which the description reinforces. The description adds valuable context beyond annotations: the ordering behavior ('newest updated first'), the auth requirement ('tool policy gate'), and the intended recovery use case. No contradiction with annotations.

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?

Every sentence earns its place: core behavior, usage intent, exclusions, safety characteristics, and auth. Information is front-loaded and there is no repetition or filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter list tool with full schema coverage, an output schema, and rich annotations, the description covers all necessary guidance: purpose, ordering, auth, safety profile, and when not to use it. Nothing essential is missing.

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 the schema fully documents both parameters. The description adds a mention of 'filtered by status' but does not add new semantic detail beyond what the schema provides. Baseline 3 is appropriate given full schema coverage.

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 ('List'), resource ('task handles'), ordering ('newest updated first'), and filtering ('by status'). It clearly distinguishes from the sibling tasks_get by naming it explicitly in the usage guidance.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit when-to-use context ('recover ids after restart') and explicit when-not-to-use exclusions ('Do not use to poll a known id (tasks_get) or to mutate state'). This is exactly the guidance an agent needs to select correctly among siblings.

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