Skip to main content
Glama

get_task_hierarchy

Determine a task's role and explicit parent relationship in a project hierarchy by providing project and task IDs.

Instructions

Read-only. Returns the item role and its explicit parent relationship. Roles are exploration, goal, project, task, or unspecified.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskIdYes
projectIdYes
Behavior4/5

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

With no annotations present, the description carries the full burden. It explicitly declares a non-mutating behavior and states what data is returned: the item role and its explicit parent relationship. It does not detail error cases, but for a simple getter the core behavioral contract is disclosed.

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 text is two concise sentences with the read-only qualifier front-loaded. It includes useful role vocabulary without filler, making every sentence earn its place.

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

Completeness3/5

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

For a simple two-parameter read-only tool, the description covers the return value and non-mutating nature well. However, with no output schema and no parameter guidance, the description alone is not fully complete; an agent must infer parameter semantics from names.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description was expected to compensate for the parameters, but it does not explain projectId or taskId. The parameter names are somewhat self-explanatory, yet the description adds no additional semantic detail about how they are used.

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 starts with 'Read-only' and uses a specific verb 'Returns the item role and its explicit parent relationship,' making the tool's purpose concrete. It also enumerates the possible roles, further disambiguating it from sibling tools like set_task_hierarchy.

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?

The 'Read-only' qualifier signals this is for inspection rather than modification, but the description does not explicitly name alternatives such as set_task_hierarchy or evaluate_task_hierarchy. No when-to-use or when-not-to-use conditions are given.

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/renezander030/agentic-task-system'

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