Skip to main content
Glama

davinci_script_templates

Lists built-in Groovy script templates for blank scripts, validation, generation, ECUC reports, queries, and parameter writes, so you can select a starting template for script creation.

Instructions

列出内置 Groovy 脚本模板(空白、校验、生成、ECUC 报告、查询、写参数)。

模板基于 AutomationInterface 官方 API 文档,可作为 davinci_script_create 的 template 参数。

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_templates"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.13.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It implies a safe, read-only enumeration by nature and adds useful provenance (templates are based on the official AutomationInterface API documentation), but it never states that the call has no side effects or describes what a returned entry looks like.

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?

Two short sentences, front-loaded with the action and the enumerated categories, then the downstream hook. No filler and nothing buried.

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 no-argument listing tool with no output schema, the description covers both what is listed and why an agent would list it. It does not describe the shape of an individual returned entry, which is the only meaningful gap and is minor at this complexity level.

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 tool takes zero parameters, so there is nothing to disambiguate; the baseline for this case is 4. The description still earns credit for explaining how the outputs feed into the template parameter of davinci_script_create.

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 uses a specific verb and resource ("列出内置 Groovy 脚本模板") and then enumerates six template categories, so the agent knows exactly what comes back. It names the companion tool davinci_script_create, which differentiates it from davinci_script_list or davinci_script_read, though it does not explicitly contrast those siblings by name.

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?

It clearly states the downstream use case: the returned templates are valid values for the template parameter of davinci_script_create. That gives the agent a concrete trigger for calling this first. It stops short of an explicit when-not clause (e.g. don't call if you already know the template name), leaving that to inference.

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