Skip to main content
Glama

idt__Updateauthorization

Updates authorization records for a data instance using the provided entity, participant, and operation codes. Use it to modify access permissions for users, roles, groups, or teams.

Instructions

[IDT] 根据对象入参更新数据实例授权记录

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>",
      "entityId": "<entityId>",
      "instanceId": "<instanceId>",
      "operationCodes": "<operationCodes>",
      "principalId": "<principalId>",
      "principalType": "<principalType>"
    },
    "name": "idt__Updateauthorization"
  }
}

Input Schema

NameRequiredDescriptionDefault
appNameYesappName
entityIdYes数据实体ID
instanceIdYes数据实例ID
principalIdYes参与者ID
principalTypeYes参与者类型
operationCodesYes操作类型编码

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden and largely fails it. 'Update' implies mutation, but it does not say whether operationCodes replaces or is merged into the existing permission set, whether destructive replacement occurs, what permissions are required, or whether the change is reversible — the single most important semantic for an authorization-write tool.

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

Conciseness3/5

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

It is a single short sentence, which is efficient, but two of its components carry no information: the '[IDT]' prefix is a namespace artifact and '根据对象入参' merely says 'takes parameters'. The actionable content is only '更新数据实例授权记录'.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With six required parameters, no annotations, and no output schema, the description should explain merge-vs-replace semantics, side effects on existing grantees, and any authorization prerequisites. None of that is present, leaving the agent unable to predict the effect of the call on existing authorization data.

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

Parameters3/5

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

Schema description coverage is 100%, so all six required parameters (appName, entityId, instanceId, principalId, principalType, operationCodes) are already documented, including the principalType enum. The description adds nothing beyond that, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb+resource pair: '更新' (update) applied to '数据实例授权记录' (data instance authorization records). An agent can tell it is a mutation of instance-level authorization data. It does not, however, distinguish itself from other IDT tools such as the Check/Compare variants or attach-tag tools, so it stops short of full sibling differentiation.

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 guidance on when to use this tool versus alternatives, no precondition such as needing an existing authorization record, and no mention of what an agent should do first (e.g., check access via idt__CheckHasAccessAccessService). The phrase '根据对象入参' is not usage guidance, just a restatement that parameters are supplied.

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