Skip to main content
Glama

idt__SaveXdmFolderAndPolicySetRelation

Saves XDM folder and policy set relations, including optional inheritance from the direct parent folder, to persist IDT access policy mappings.

Instructions

[IDT] save

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

Input Schema

NameRequiredDescriptionDefault
paramsNo
appNameYesappName
applicationIdNo应用ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.7/5.0
Behavior1/5

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

No annotations exist, so the description carries the full disclosure burden and delivers none. Nothing says whether save is an upsert or insert, whether existing relations are overwritten or replaced, what needSetNullAttrs or inheritParentFolder do to persisted state, or what permissions are required — all critical for a mutation tool.

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 concise, it is under-specified; there is no front-loaded purpose statement and no structure to speak of. Brevity here costs the agent all the context it needs rather than saving it effort.

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 that takes a nested array of relation records with null-setting flags and folder-inheritance behavior, plus no output schema and no annotations, the definition is completely inadequate. An agent has no way to know what success looks like or what state the call mutates.

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 a middling 67%, so the description needed to compensate and adds nothing beyond field-level schema text. The interesting semantics — array batching via params, the meaning of needSetNullAttrs and inheritParentFolder, and the interplay of source/target/tenant objects — are absent, leaving only the raw schema to explain a non-obvious write payload.

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 tag "[IDT]" plus the verb "save" — it merely restates the verb already embedded in the tool name (SaveXdmFolderAndPolicySetRelation) and never names the resource being saved or what a folder/policy-set relation is. An agent cannot distinguish this from PatchCreate, SaveAll, or Create siblings on the basis of this text.

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 at all: no mention of when to prefer this save over CreateXDmFolderAndPolicySetRelation or the Patch* variants, no prerequisites, no statement about batching via the params array. Only the name hints that writes belong here.

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