Skip to main content
Glama

get_task_dependencies

Retrieve upstream and downstream dependencies for a task. Returns a dependency graph with each related task's status and dependency type.

Instructions

查询任务的上下游依赖关系。返回依赖图,包含每个关联任务的状态和依赖类型。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idYes要查询的任务 ID
Behavior3/5

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

No annotations are provided, so the description carries the burden. It states the return includes a dependency graph with status and type, but does not explicitly confirm it is read-only or disclose any side effects. For a query tool, this is acceptable but not fully transparent.

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 a single concise sentence in Chinese that states the tool's purpose and return. It is front-loaded with the core action and resource.

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?

Given the tool has one parameter, no output schema, and no annotations, the description adequately explains what it returns (dependency graph with status and type). It is complete enough for a simple query tool, though could mention upstream/downstream directionality.

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?

The schema covers 100% of parameters (one required task_id). The description adds the context that the task_id is used to query dependencies, but no additional parameter-level details beyond the schema. With high schema coverage, a score of 3 is appropriate.

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 clearly states it queries upstream/downstream dependencies of a task, with a specific verb (查询/query) and resource (依赖关系). This distinguishes it from sibling tools like add_dependency or remove_dependency.

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 implies usage for reading dependencies, while siblings like add_dependency and remove_dependency are for modifying. However, it lacks explicit when-to-use or when-not-to-use guidance.

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/liuboacean/agent-comm-hub'

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