Skip to main content
Glama

asm__CreateMesh

Creates an ASM service mesh with the specified region, version, clusters, and sidecar injection settings for managing service-to-service traffic.

Instructions

[ASM] 该API用于创建一个网格

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": {
      "apiVersion": "<apiVersion>",
      "kind": "<kind>",
      "metadata": "<metadata>",
      "spec": "<spec>"
    },
    "name": "asm__CreateMesh"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesAPI类型,固定值“Mesh”或“mesh”,该值不可修改Mesh
specYes集合类的元素类型,您对需要管理的网格对象进行详细描述的主体部分都在spec中给出。ASM通过spec的描述来创建或更新对象
statusNo集合类的元素类型,用于记录对象在系统中的当前状态信息。
metadataYes网格的基本信息,为集合类的元素类型,包含一组由不同名称定义的属性
apiVersionYesAPI版本,固定值“v1”,该值不可修改v1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.9/5.0
Behavior1/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, and it discloses nothing: it does not cover permissions, idempotency, conflict behavior, asynchronous provisioning, or what happens to nested cluster and injection settings. For a create operation with a deeply nested spec, this is a critical gap.

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?

The single sentence is trivially concise with no wasted words, but it is under-specified rather than well-structured. There is no front-loading of useful information, and the description is too short to be useful to an agent.

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

Completeness1/5

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

The tool has 5 top-level parameters, 4 required, plus nested objects, and has no output schema and no annotations. A one-line description is entirely inadequate for this level of complexity: an agent learns nothing about required field semantics, failure modes, or results.

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 apiVersion, kind, metadata, spec, and the nested cluster, installation, and injection fields. The description adds no additional meaning about how to populate these, so the baseline of 3 applies.

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

Purpose2/5

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

The description "[ASM] 该API用于创建一个网格" only restates the tool name (CreateMesh) as "create a mesh". It gives no scope, no target resource detail, and no differentiation from siblings such as DeleteMesh, ShowMesh, or ListMeshes.

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?

No when-to-use guidance, no prerequisites, and no mention of alternatives. It never says what must exist before creating a mesh or when to prefer another sibling tool.

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