Skip to main content
Glama

idt__DeleteByConditionXdmTeamAndTeamRoleRelation

Deletes XDM team-to-team-role relation records that match specified filter conditions, enabling targeted cleanup of team role assignments for an application.

Instructions

[IDT] deleteByCondition

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

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 supplied, so the description carries the full behavioral burden, and it discloses nothing. For a destructive delete-by-condition tool it does not state whether rows are hard-deleted, whether it cascades to members, what permissions are required, or that an unbounded condition can wipe the whole relation set.

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 the brevity is under-specification rather than economy: two tokens that convey no information beyond the identifier. There is no front-loaded statement of intent, scope, or safety posture to reward.

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?

Given a destructive operation, no annotations, no output schema, and a nested three-parameter schema that includes a complex filter DSL, the definition is wholly inadequate. An agent cannot determine the target entity, the deletion mode, or the blast radius from this text.

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 input is a deeply nested condition/filter structure, so the description should clarify how conditions are combined (joiner, operator, conditionValues, preCondition). It adds zero meaning beyond the schema and does not even mention the required appName or the wrapping params.condition object.

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 just the tag "[IDT]" plus "deleteByCondition", which restates the tool name rather than stating what is deleted. It never names the resource (the team/team-role relation) or the condition semantics, so an agent must read the tool name literal to know the target entity.

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?

There is no guidance on when to use this tool versus alternatives, despite many closely related siblings (logical-delete, patch-delete, delete-member, delete-by-condition variants for other entities). Nothing indicates whether deletes are physical or logical, or which variant to pick.

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