Skip to main content
Glama

coc__ListPublicScripts

Lists Huawei Cloud COC public scripts using limit-and-marker pagination, with filters for name, type, and risk level to support script discovery and paging.

Instructions

[COC] 获取公共脚本列表,分页逻辑:采用limit+marker方式,提高分页效率。用自增id作为marker参数

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

Input Schema

NameRequiredDescriptionDefault
nameNo脚本名(精确搜索)
typeNo脚本类型
limitYes分页参数:每页返回记录个数限制
markerNo分页参数:上一页最后一个记录id
name_likeNo脚本名(只支持右模糊搜索)
risk_levelNo风险等级

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/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 disclosure burden. It does add useful context by stating the limit+marker pagination strategy and that marker is an auto-increment id, but it omits ordering guarantees, permission requirements, and anything about the result set.

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?

Two short clauses, purpose front-loaded ahead of the pagination detail, with no filler. The trailing "用自增id作为marker参数" largely restates the schema's marker description, a small redundancy.

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 six-parameter list tool with no output schema, the description covers the essential identity and the non-obvious pagination contract. It stops short of describing the filter combination behavior or result ordering, which leaves a modest gap.

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 the schema already documents all six parameters including the enum values and marker semantics. The description explains the pagination pair's intent (efficiency) but adds nothing about name, name_like, type, or risk_level, so it is a baseline case.

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 opens with a specific verb+resource ("获取公共脚本列表" / get public script list), which is unambiguous on its own. However, it never distinguishes this tool from the sibling coc__ListScripts (presumably non-public scripts), so an agent must infer the public/private boundary.

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 choose this tool over coc__ListScripts or coc__GetPublicScript, and no stated prerequisites or exclusions. The only usage-adjacent content is a note on the pagination mechanism, which is invocation detail rather than tool selection guidance.

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