Skip to main content
Glama
mcp-rest-api-server

mcp-rest-api-server

List tasks

list_tasks
Read-onlyIdempotent

Fetch tasks filtered by projectId, status, or assigneeId, and paginate with cursor and limit to browse results page by page.

Instructions

List tasks. Filter by projectId, status, or assigneeId. Pages use cursor and limit.

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

Input Schema

NameRequiredDescriptionDefault
limitNoPage size from 1 to 100. Defaults to 20.
cursorNoOpaque nextCursor from the previous page. Omit it to start at the first page.
statusNotodo, in_progress, blocked, or done.
projectIdNoOnly tasks on this project.
assigneeIdNoOnly tasks assigned to this contact id.

Output Schema

NameRequiredDescriptionDefault
limitYes
tasksYes
hasMoreYes
nextCursorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is fully covered structurally. The description adds only pagination behavior ("Pages use cursor and limit"), which is largely restated from the schema and omits meaningful behavior such as sort order or pagination termination. Credit is modest because annotations carry most of the burden.

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?

Three short sentences, purpose front-loaded before filters and pagination, with no filler. The pagination sentence is slightly redundant against the schema's cursor/limit descriptions, costing a perfect score.

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?

An output schema exists, so return values need not be described, and all five parameters are fully documented in the schema. The description covers purpose, filters, and pagination adequately; only the interaction between filters and result ordering is left unstated.

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 every parameter is already documented with enums, bounds, and defaults. The description merely repeats the filterable parameter names without adding semantics such as AND-combination rules or what happens when no filter is supplied – the baseline 3 applies.

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 opens with a specific verb+resource ("List tasks") and enumerates the filterable fields. It is clearly distinct from get_task by the "List" framing, though it never explicitly contrasts with siblings like list_projects or get_task.

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?

Usage is implied by "Filter by projectId, status, or assigneeId" – an agent can infer this is the enumeration tool and that get_task is for single retrieval. However, there is no explicit when-to-use/when-not guidance, no statement about whether filters combine, and no mention of when to prefer a sibling tool.

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