Skip to main content
Glama

coc__ListScripts

Lists custom COC job scripts and filters them by script type, creator, name, risk level, or enterprise project, with pagination for browsing large result sets.

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": {
      "limit": "<limit>"
    },
    "name": "coc__ListScripts"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNo脚本类型
limitYes分页参数:每页返回记录个数限制
markerNo分页参数:上一页最后一个记录id
creatorNo创建人
name_likeNo脚本名(模糊)
risk_levelNo风险等级
enterprise_project_idNo企业项目id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden and delivers almost nothing: it does not state that this is a read-only listing, whether results are paginated via marker/limit cursors, what page size defaults apply, or whether any permission/enterprise-project scoping affects visibility. Only the schema's marker/limit hints at pagination behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short phrase with no wasted words and is front-loaded, but it is under-specified rather than genuinely concise; it reads as a label copied from the API catalog rather than a sentence written for an agent.

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?

For a seven-parameter list tool with no annotations and no output schema, the description should explain read-only semantics, pagination iteration, and the difference from the public-scripts variant. None of that is present, leaving meaningful gaps relative to the tool's complexity.

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 100%, so all seven parameters (type, limit, marker, creator, name_like, risk_level, enterprise_project_id) are already documented in the schema. The description adds no meaning beyond that, so the baseline of 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?

"[COC] 作业脚本列表:自定义脚本" states a verb+resource (list job scripts) plus a scope qualifier (custom scripts), which implicitly contrasts with the sibling coc__ListPublicScripts. It stops short of naming that alternative or describing what the listing returns, so it is clear but not fully differentiated.

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 when-to-use / when-not-to-use guidance, no mention of alternatives such as coc__ListPublicScripts, and no prerequisites or follow-up instructions. The agent must infer that this is the custom-script counterpart purely from the two-character qualifier "自定义".

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