Skip to main content
Glama
TAMA-MCP-Server

TAMA-MCP-Server

by Gitreceiver

check_dependencies

Detect circular dependencies in a task list and return the cycle path when one exists, or no result when dependencies are valid.

Instructions

检查任务中是否存在循环依赖。

Returns:
    如果存在循环依赖,返回循环路径;否则返回None

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "check_dependencies"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.5/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It does well to state the return contract (cycle path or None), which is genuinely useful given there is no output schema, but it never states that the operation is non-mutating, and it also leaves out the scope of the check, its cost, and how a task is identified when there is no task parameter.

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 short blocks: the purpose statement is front-loaded, and the return contract follows immediately. There is no boilerplate and no repetition of the tool name.

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 zero-parameter read tool, the description covers the essential contract, including the return values, which matters because there is no output schema. The definition is nearly complete, but it still lacks an explicit statement about scope and a read-only guarantee in the absence of annotations.

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?

There are zero parameters, so there is nothing for the description to disambiguate; the baseline for this case is 4. The only relevant omission is that the description does not explain the implicit context (which task or graph) that replaces a task identifier.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and object: 'check whether a circular dependency exists in the task'. This clearly sets it apart from the mutating siblings add_dependency and remove_dependency. The remaining ambiguity is scope: with zero parameters, it is unclear whether it checks a single task's subtask tree or the entire dependency graph.

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 when-to-use guidance is only implied by semantics: the agent is expected to infer that this is a pre-flight validation before add_dependency. The description names no alternatives, no prerequisites, and no case in which the agent should not call it.

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