Skip to main content
Glama

Link two tasks

tasks_add_dependency

Record that one task waits on, blocks, or is related to another. The database refuses a link that would close a cycle, a task depending on itself, a duplicate of an existing link, and any pair whose tasks are not in the same workspace - those refusals come back verbatim, so relay them rather than retrying. Use waiting_on for the ordinary case: the task named in task_id cannot start until depends_on_task_id is done. BOTH ARGUMENTS ARE TASKS, not links. There is no dependency_id here because the link does not exist yet - this call is what creates it, and the id it returns is the one tasks_remove_dependency would later need.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idYesThe task that has to wait, by title or id. A task, not a dependency id.
relationship_typeYeswaiting_on: this task cannot start until the other is done - the one that actually blocks work. blocking: the mirror, stated from the other end. related_to: connected but neither waits for the other.
depends_on_task_idYesThe task being waited on, by title or id. A task, not a dependency id.

TDQS

A4.6/5.0
Behavior5/5

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

Discloses four specific refusal conditions (cycle, self-dependency, duplicate, cross-workspace) and instructs the agent to relay refusals verbatim rather than retry — actionable failure-handling guidance. It also reveals the success behavior: the call creates the link and returns the id that tasks_remove_dependency will later need, which is essential given there is no output schema. This goes well beyond the annotations, which only signal a non-read, non-destructive write.

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?

The description is longer than average, but every sentence carries distinct information: the three link kinds, the four refusal cases, the preferred enum value, the task-not-link warning, and the return-id contract. The core purpose is front-loaded in the first sentence, and nothing is 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 no-output-schema create tool with three required parameters, the description covers the operation, error behavior, relationship semantics, and the return value's future use. There is no output schema to fall back on, and the description shoulders that burden successfully. Nothing an agent needs to call it correctly or handle the response is missing.

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?

Schema coverage is 100%, so the schema already documents all three parameters and the enum. The description adds meaning beyond the schema with the warning 'BOTH ARGUMENTS ARE TASKS, not links' and the explanation that no dependency_id exists yet because the link is being created by this call. This directly prevents the most likely parameter-misuse error.

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?

States a specific action ('Record that one task waits on, blocks, or is related to another') and names the resource: a link between two tasks. The three relationship types are enumerated and the creation semantics are unambiguous. It is easily distinguished from sibling tasks_get_dependencies (read) and tasks_remove_dependency (delete).

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?

Explicitly routes the agent: 'Use waiting_on for the ordinary case' and explains the direction semantics for that value. It also names tasks_remove_dependency as the tool that will later consume the returned id, giving a clear before/after workflow. It does not enumerate when to prefer blocking or related_to over waiting_on, though the schema's enum descriptions partially cover that.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

B3.4/5.0
Disambiguation4/5

Most tools follow a clear resource+action pattern and the descriptions are unusually precise about boundaries. A few near-overlaps remain: projects_get_finance vs projects_get_financials, and notes_create vs crm_log_activity on a deal are both plausible for recording a note on a deal.

Naming Consistency4/5

The domain_prefix_action convention is consistent across nearly all tools, e.g. crm_create_lead, projects_update_risk, timelog_approve_time. Deviations include standalone list_trash, meta tools like whoami/tool_search/tool_invoke, and the confusing projects_get_finance/projects_get_financials pair.

Tool Count1/5

With 105 tools, this far exceeds the 50+ threshold defined as an extreme mismatch. Even for a full ERP/CRM suite, the fine-grained split—39 project tools alone—creates a massive tool-selection surface that is hard for an agent to navigate reliably.

Completeness4/5

The surface covers CRM, projects, tasks, time/expenses, HR, notes, notifications, contracts, and reporting with create/read/update/delete for most primary entities. Minor gaps exist: crm_log_activity has no read-back path, contracts lack delete/restore, and proposals are intentionally read-only, but agents can work around these.