Skip to main content
Glama

aom__SearchTemplateById

Retrieve details of an AOM execution plan by its template ID using the project ID and share type to inspect a specific plan.

Instructions

[AOM] 该接口可根据执行方案id查询执行方案详情。(注:接口目前开放的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": {
      "project_id": "<project_id>",
      "share_type": "<share_type>",
      "template_id": "<template_id>"
    },
    "name": "aom__SearchTemplateById"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes租户从IAM申请到的projectid,一般为32位字符串。
share_typeYes模板共享类型,默认为private。可选public private
template_idYes方案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 provided, so the description carries the full burden. '查询' (query) signals a read-only operation, and the region list is genuine behavioral context that the schema cannot convey. However, it says nothing about permission requirements, what happens for a nonexistent template id, or how share_type (public/private) changes which template is returned, leaving real gaps for a no-annotation 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 content is two compact sentences: the action first, then the region constraint in parentheses. Little is wasted, though the '[AOM]' tag and the restatement of '执行方案id' are minor filler.

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?

This is a simple 3-parameter read tool with fully documented parameters, so the bar is low, and the region note adds relevant context. It is still incomplete for a tool with no annotations and no output schema, because the description never says what the returned template details contain or how errors or missing ids behave.

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%: project_id length, share_type values (public/private, default private), and template_id are all documented in the schema. The description adds only 'by execution plan id,' which restates the template_id role without new syntax or format meaning, so the schema does the heavy lifting and the 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 gives a specific verb and resource: it queries the details of an execution plan (template) by its plan id, which matches the tool name SearchTemplateById. It does not say how this differs from sibling list operations such as aom__ListTemplateByJobId, but the single-item lookup is unambiguous.

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 only guidance is the regional availability note (Beijing-4, Shanghai-1, Shanghai-2, Guangzhou), which is useful but is a constraint on where the tool can be used, not guidance on when to use it. Nothing says when to reach for this tool versus the sibling list/search tools, and nothing states prerequisites beyond the schema's required ids.

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