Skip to main content
Glama

idt__UpdateXdmPolicy

Updates an XDM policy for a specified application by changing its policy set, principal, and blacklist setting.

Instructions

[IDT] update

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__UpdateXdmPolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsNo
appNameYesappName
applicationIdNo应用ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.5/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 behavioral burden and delivers nothing. It does not say this is a mutation, what permissions are required, whether the update is partial or full-replace, what the nested `params` object overwrites, or what nulling behavior `needSetNullAttrs` implies.

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?

Two words is not conciseness but under-specification; there is no structure, no front-loaded purpose statement, and the "[IDT]" prefix conveys nothing to an agent. Nothing here earns its place because nothing informative is present.

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?

For a mutation tool with a deeply nested 3-parameter object schema, nested time objects, an array parameter, no annotations, and no output schema, the description should explain the payload shape and side effects. It explains nothing, leaving the agent to guess at a destructive operation.

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?

Schema coverage is 67%, and the description adds zero meaning beyond the schema's field-level descriptions (which are themselves partly ambiguous, e.g. policySet/principal both described as "租户"). Nothing explains how the nested `params` payload maps to an update, nor how appName/applicationId scope the operation.

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 only "[IDT] update" – a bare verb with no resource named. The resource (XdmPolicy) is inferable only from the tool name, and "[IDT]" is an unexplained tag. It does not distinguish this from siblings like idt__PatchCreateXdmPolicy or idt__ExecuteSelectXDmPolicyXdmPolicy.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use guidance, no prerequisites, no mention of alternatives such as UpdateByConditionXdmPolicyRule or PatchCreateXdmPolicy. The agent gets no basis for choosing this write tool over the many sibling mutation tools.

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