Skip to main content
Glama

add_dependency

Define task order by adding a dependency between tasks. Specify which task must wait for another to finish, ensuring prerequisites are completed first.

Instructions

Add a dependency between two tasks.

The task will depend on the specified task (must be completed first).

Args: task_id: ID of the task that will have the dependency depends_on_id: ID of the task it depends on

Returns: Confirmation with updated task info

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idYes
depends_on_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations, the description takes on the burden of behavioral disclosure. It explains the dependency relationship and that it returns confirmation with updated task info, but it does not mention edge cases like duplicate dependencies, invalid task IDs, or cyclic dependency checks.

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 compact and well-structured, with the purpose front-loaded in the first sentence and clear Args/Returns sections. Every sentence adds value without unnecessary fluff.

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?

For a simple two-parameter tool with an output schema, the description covers the essential behavior, parameter roles, and return value. It lacks details on error handling or duplicate dependency behavior, but the low complexity makes it reasonably complete.

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

Parameters4/5

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

The description provides clear meanings for both parameters beyond the schema titles: task_id is the dependent task, and depends_on_id is the prerequisite task. This compensates for the 0% schema description coverage and helps the agent understand which ID goes where.

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 the action with a specific verb and resource: 'Add a dependency between two tasks.' It further distinguishes the direction of the dependency by explaining 'must be completed first,' which sets it apart from sibling tools like 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 Guidelines3/5

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

The description explains the semantic meaning of the dependency (the task depends on another that must be completed first), which implies when to use it. However, it does not explicitly mention alternatives or exclusions, such as when to use remove_dependency instead.

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/Kohei-Wada/taskdog'

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