Skip to main content
Glama

idt__ExecuteGenerateBusinessCodeXdmPolicySet

Generates business code for an XDM policy set, enabling Huawei Cloud users to produce policy-scoped code from natural-language requests.

Instructions

[IDT] generateBusinessCode

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "idt__ExecuteGenerateBusinessCodeXdmPolicySet"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2/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 state whether generating a code mutates server state, whether codes are unique or persisted, whether collisions are possible, or whether any permission is required — critical for a tool whose name implies code creation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short, but brevity here is under-specification rather than economy — a four-word fragment plus a bracketed tag conveys no information beyond the tool name. There is no structure to speak of, though also no wasted prose.

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?

With no annotations, no output schema, and no parameter documentation, the description is the only channel for explaining behavior, and it supplies nothing. An agent cannot tell what the tool returns, whether it writes data, or how to distinguish it from roughly a dozen sibling code-generation tools.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema is an empty object with zero parameters, so there is no parameter meaning for the description to add; the baseline for a zero-parameter tool applies. Nothing in the schema is left ambiguous.

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?

"[IDT] generateBusinessCode" only restates the verb+object already encoded in the tool name, adding the tag prefix and nothing else. It never says what a business code is, what entity it is generated for (XdmPolicySet appears only in the name), or how it differs from the many sibling ExecuteGenerateBusinessCode* tools.

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 guidance, no prerequisites, and no mention of any alternative such as ShowByCodeXdmPolicySet or PatchCreateXdmPolicySet. The agent must infer entirely from the name whether this creates a persistent code, previews one, or assigns one to an existing policy set.

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