Skip to main content
Glama

idt__CreateXDmPermissionAssignmentXdmPermissionAssignment

Creates an XDM permission assignment for an application by linking a permission with a policy, enabling access-control setup through the Huawei Cloud MCP server.

Instructions

[IDT] create

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": {
      "appName": "<appName>"
    },
    "name": "idt__CreateXDmPermissionAssignmentXdmPermissionAssignment"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsNo
appNameYesappName
applicationIdNo应用ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.6/5.0
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description carries the full behavioral burden, and it discloses nothing: not what is created, whether the call is idempotent, what permissions are required, what happens if a matching assignment already exists, or whether appName in the path scopes the write. For a mutation tool with deeply nested required objects (policy, permission, tenant), this is a total gap.

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

Conciseness1/5

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

Two tokens, zero information; this is under-specification, not conciseness. There is no structure, no front-loaded purpose, and no sentence that an agent could act on.

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?

A create/mutation tool with no annotations, no output schema, nested required objects, and ambiguous timestamp/audit fields should explain at minimum the required nested fields and the path-vs-body relationship. None of that is present, so the definition is not complete enough to invoke correctly without reverse-engineering the schema.

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

Parameters2/5

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

Three parameters with 67% schema description coverage, and the description contributes nothing beyond the schema. The existing schema descriptions are also near-useless ("ID", "appName", "租户" repeated on unrelated fields), so an agent gains no semantic meaning about the path appName versus body applicationId, or the required permission/policy references, from either source.

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 is the bracketed tag "[IDT]" plus the verb "create" in quotes; it adds no resource, scope, or domain beyond what the tool name (CreateXDmPermissionAssignment) already states. This is a tautology rather than a statement of what the tool does, so it cannot distinguish this tool from sibling creates such as CreateXDmPermission or CreateXDmPermissionOperation.

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, when-not-to-use, or prerequisite information at all. The word "create" hints that the tool inserts a permission assignment, which is the only reason this is not scored 1 for misleading, but nothing tells an agent when to pick this over Save, SaveAll, or PatchCreate siblings.

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