Skip to main content
Glama

lts__CreateAgencyAccess

Creates a cross-account log access configuration in Huawei Cloud LTS, linking agency and delegated project, log group, and log stream details for multi-account log ingestion.

Instructions

[LTS] 新建跨账号日志接入

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

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID,账号ID,日志组ID、日志流ID,获取方式请参见:[获取项目ID,获取账号ID,日志组ID、日志流ID](lts_api_0006.xml)
preview_agency_listYes预览代理列表

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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. It reveals nothing about required permissions, whether the operation is idempotent or destructive, what happens on duplicate agency entries, or what a successful call returns - significant gaps for a cross-account mutation.

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?

It is a single bracketed phrase with zero wasted words, so it is maximally concise. But at that length it is under-specified rather than efficiently structured: there is no sentence-level scaffolding, no front-loaded scope, and nothing an agent can act on.

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

Completeness2/5

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

The tool takes a nested array of 14-field objects and performs a cross-account security-sensitive write, with no annotations and no output schema. For that complexity, a one-line label leaves the agent without the permission model, side effects, or failure modes it needs.

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%, including per-field descriptions for the nested preview_agency_list object, so the schema does the heavy lifting and the baseline of 3 applies. The description adds no meaning beyond the schema - it does not explain the relationship between project_id and the agency project IDs, nor what a 'preview' entry represents.

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 gives a specific verb+resource ('新建' / create, '跨账号日志接入' / cross-account log access), which is more than a bare restatement of the name. However, it offers no differentiation from close siblings such as lts__CreateAccessConfig or lts__CreateAomMappingRules, so an agent cannot tell from the text alone which creation tool applies.

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 indication of when to use this tool versus CreateAccessConfig, UpdateAccessConfig, or the IAM agency tools that appear as siblings. No prerequisites (e.g., an existing agency or cross-account authorization) are mentioned.

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