Skip to main content
Glama

coc__CheckScriptRisk

Evaluates script content to identify execution risks and returns analysis results and related information for reference.

Instructions

[COC] 根据作业内容,对作业评估风险,返回相关分析的结果和信息,结果仅供参考。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "content": "<content>"
    },
    "name": "coc__CheckScriptRisk"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentYes脚本内容

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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 usefully states that results are advisory, but it does not clarify whether calling it executes or only analyzes the script, nor does it describe permissions, side effects, or response shape, which matters for a risk tool used near script execution.

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?

One short sentence that leads with the core action. Nothing is redundant, though the terseness leaves the gaps above unaddressed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and no annotations, the description should explain what the analysis returns and whether the script is actually run. It does neither, leaving an agent unable to predict the result of invoking it.

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 coverage is 100%: the single 'content' parameter is already documented with a description, length bounds, and an example. The description adds nothing about the parameter beyond what the schema states, so the baseline 3 applies.

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 action and resource: evaluate the risk of script content and return analysis results. It is clearly an assessment tool rather than an execution tool, so an agent can distinguish it from siblings like coc__ExecuteScript, although it does not explicitly name those siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no guidance on when to call this tool versus alternatives, for example whether it should be run before coc__ExecuteScript or coc__CreateScript. The only usage signal is the phrase 'results are for reference only', which is a caveat rather than a routing rule.

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

Deploy Server

Other Tools