Skip to main content
Glama

css__ListTemplates

Query CSS template lists for a project and optionally filter results by custom or system template type to identify available configurations.

Instructions

[CSS] 该接口用于查询模板列表。

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": {
      "project_id": "<project_id>"
    },
    "name": "css__ListTemplates"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNo模板类型。custom为自定义模板,system为系统模板。不指定查询模板类型默认查找自定义模板和系统模板。
project_idYes项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.7/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 it discloses nothing beyond 'query': no permission requirements, no statement of what the response contains, no note on whether system templates are included by default. The only behavioral hint, the default inclusion of custom and system templates, lives in the schema's type parameter rather than the description.

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?

A single short, front-loaded sentence with no filler or redundancy. Its brevity is efficient rather than padded, though it borders on under-specification.

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 only two well-documented parameters, no nested objects, and no pagination concept in the schema, the structured fields cover most of what an agent needs to invoke it. The missing piece is any indication of what the result set looks like or under what account/project context it is scoped.

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 both project_id and type are already fully documented, including the custom/system enum semantics and the default behavior. The description adds no parameter meaning beyond the schema, which is the expected baseline when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a verb (query) and resource (template list), so an agent can tell it lists templates. However, it is a near-restatement of the tool name with no scope detail, and it does not distinguish this from the many sibling ListTemplates tools across services or from css__ListConfs/ListPipelines.

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 or when-not-to-use guidance and no named alternative. The agent must infer from the name alone that this is for CSS template enumeration rather than, say, cluster or configuration listing.

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