Skip to main content
Glama

davinci_script_list

Scan local Groovy scripts to list their tasks and static check results, skipping Output, GenData, and build folders. Use it to inspect DaVinci automation scripts by directory or project.

Instructions

扫描本地 Groovy 脚本,列出每个脚本里的任务与静态检查结果。

不传 directory/project 时扫描 DAVINCI_MCP_ROOTS。自动跳过 Output、GenData、build。

Args: directory: 要扫描的目录。 project: 扫描该工程目录及其 Scripts 子目录。 recursive: 是否递归子目录。 limit: 最多返回多少条。

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": "davinci_script_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
projectNo
directoryNo
recursiveNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.13.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations to lean on, the description carries the burden and does disclose meaningful behavior: the implicit default roots, the directories silently excluded from traversal, and the shape of what is returned (tasks plus static-check results per script). It stops short of stating whether the scan is purely read-only, how deep the default recursion goes at scale, or the cost of scanning large trees.

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?

Front-loads the purpose in the first sentence, then defaults and exclusions, then a compact Args block. No filler. Slightly hurt by the fact that the most important behavioral rule (default root) is buried in a prose sentence rather than attached to the directory parameter.

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 four-parameter, no-output-schema, no-annotation tool, the definition covers purpose, defaults, exclusions, and return content — enough to call it correctly. What is missing is guidance for interpreting or acting on the returned static-check results and any indication of scan cost on large trees.

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?

Schema description coverage is 0%, so the description must compensate, and it does document all four parameters in an Args block. The explanations are minimal though — 'directory: the directory to scan', 'recursive: whether to recurse', 'limit: max entries returned' mostly restate the parameter names, and only 'project' adds real semantics (scan the project dir and its Scripts subdirectory). The default-root fallback lives in the body rather than on the directory parameter.

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?

States a concrete verb+resource: scan local Groovy scripts and list the tasks and static-check results found in each script. The scope (local filesystem scan) is unambiguous. It does not, however, distinguish itself from siblings like davinci_script_tasks or davinci_script_lint, whose names suggest overlapping output.

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?

Gives useful default behavior: with no directory/project it scans DAVINCI_MCP_ROOTS and auto-skips Output, GenData, and build directories. That is context, not selection guidance — there is no statement of when to pick this tool over the per-script lint/tasks tools, nor any prerequisite or cost warning for a filesystem-wide scan.

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