Skip to main content
Glama

aom__ListAllScriptByName

Query and list AOM scripts by name, creator, project, or enterprise project with pagination and sorting, returning matching scripts and their basic details.

Instructions

[AOM] 该接口是脚本主页查询,可指定脚本名称和脚本创建人进行精确查询,返回包含脚本基本信息的列表数据。(注:接口目前开放的region为:华北-北京四,华东-上海一,华东-上海二,华南-广州)。

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": {
      "order_by_column": "<order_by_column>",
      "project_id": "<project_id>",
      "script_id": "<script_id>",
      "sort_order": "<sort_order>"
    },
    "name": "aom__ListAllScriptByName"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo查询接收的参数,版本管理时,name为脚本名称(版本管理查询时name不能为空),脚本管理页面查询时,name为接收模糊查询的参数,name是null,表示查询所有默认脚本。
page_numNopage_num为正整数。
create_byNo创建人,默认按照创建人搜索脚本。
page_sizeNo每页显示的条数,默认值是10。
script_idYes版本管理时需要查询的脚本id。
is_defaultNo查询规则,如果是类型为default,则为模糊查询和脚本管理主页展示,no_default为版本管理。
project_idYes项目id。
sort_orderYes排序规则(默认降序) 传入升序或降序,升序:ASC,降序:DESC。
order_by_columnYes需要排序的字段(默认为更新时间),支持字段有name,create_time和update_time。
enterprise_project_idNo企业项目id,根据企业项目id搜索。

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 full behavioral burden. It does add real value by disclosing the supported regions (华北-北京四, 华东-上海一, 华东-上海二, 华南-广州) and by stating that the result is a list of basic script information. However, it omits pagination defaults, permission/auth requirements, and what happens when filters conflict, which matter for a 10-parameter listing tool.

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?

The purpose statement is front-loaded in a single dense sentence, followed by a clearly separated parenthetical for region availability. There is little waste, though the sentence packs multiple ideas together and the '精确查询' wording costs accuracy.

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

Completeness3/5

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

With 10 parameters, no annotations, and no output schema, the description should do more, but it does cover purpose, return shape (a list of basic info), and region constraints. Missing are guidance on the required-parameter combinations, pagination behavior, and when to prefer this over version-listing siblings.

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 explains every parameter in detail, including name fuzzy vs. exact behavior and the is_default modes. The description only restates the name and creator filters at a high level and adds no syntax, defaults, or interaction rules beyond the schema. 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 operation and resource (脚本主页查询 returning a list of scripts) and lists the filterable dimensions (script name, creator). It is identifiable apart from generic siblings, but it gives no explicit differentiation from related tools such as aom__ListAllVersionByVersionId or aom__SearchTemplateById. The claim of '精确查询' on the name is also slightly at odds with the schema's fuzzy-match semantics.

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?

The description states only that this is a 'script homepage query'; it never says when to choose it over the version-management or template tools that appear among its siblings. The distinction between the two query modes (version management vs. script management page) exists only in the schema's parameter docs, not in the description. There are no exclusions or prerequisites.

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