Skip to main content
Glama
BlZvi
by BlZvi

Get Subtasks

asana_get_subtasks
Read-onlyIdempotent

List direct subtasks of any Asana task by providing its GID. Returns one level deep; use recursion for nested subtasks and set opt_fields to include more details.

Instructions

List all direct subtasks of a task. Returns only one level deep — call recursively for nested subtasks. Returns minimal fields by default, use opt_fields for more.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoResults per page (1-100).
offsetNoPagination offset token from a previous response's next_page.offset.
task_gidYesThe GID of the parent task (numeric string, e.g. `'19234567890123'`).
opt_fieldsNoComma-separated fields to include. Useful: `gid,name,completed,due_on,assignee.name`. Default fields: gid, name.
Behavior4/5

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

Annotations already cover read-only, idempotent, and non-destructive behavior. The description adds meaningful behavioral context beyond annotations: results are limited to direct subtasks and return minimal fields by default. This is useful, though it doesn't detail pagination or error behaviors.

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?

The description is two sentences, front-loaded with the action, then states key constraints and usage tips. Every word earns its place; no redundancy 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 read-only listing tool with rich annotations and fully described schema parameters, the description covers the essential behavioral nuances: depth, nested recursion, and default vs. extended fields. No output schema exists, but the return type (list of subtasks) is clear from the description.

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 parameters are fully documented. The description adds little beyond the schema—'minimal fields by default' and 'use opt_fields' are already reflected in the opt_fields parameter description. It gives no additional parameter-level insight.

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?

The description uses a specific verb ('List') and resource ('direct subtasks of a task'), clearly distinguishing it from related tools like get_tasks_for_project or get_tasks_for_section. The phrase 'direct subtasks' and 'one level deep' precisely defines scope.

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 description provides clear usage guidance by explaining the one-level-depth limitation and instructing to call recursively for nested subtasks. It also advises using opt_fields for more fields. However, it does not explicitly name alternative sibling tools or state when not to use this tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/BlZvi/asana-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server