Skip to main content
Glama

idt__ListByPrincipalprincipal

Retrieves data entity authorization records filtered by principal ID, principal type, app name, and paging or sorting parameters to support access audits.

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>",
      "curPage": "<curPage>",
      "pageSize": "<pageSize>"
    },
    "name": "idt__ListByPrincipalprincipal"
  }
}

Input Schema

NameRequiredDescriptionDefault
appNameYesappName
curPageYes当前页
endIndexNo结束索引
pageSizeYes每页大小
sortTypeNo排序类型
conditionNo排序字段
totalRowsNo总行数
startIndexNo起始索引
totalPagesNo总页数
maxPageSizeNo最大分页数
principalIdNo参与者ID
principalTypeNo参与者类型

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/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 behavioral burden. It implies a read-only query, but never states whether pagination is mandatory, what happens if curPage/pageSize are omitted, whether results are filtered by app scope, whether authorization or permissions are required, or what the response contains. For a 12-parameter query tool with zero annotation coverage, these are significant gaps.

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

Conciseness4/5

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

A single, front-loaded sentence with the verb and resource leading and no wasted wording. It is concise, though partly because it omits necessary detail rather than because it is well-structured.

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 12 parameters (3 required), no output schema, and no annotations, the description is far too thin to let an agent understand return shape, pagination semantics, or the principal-filter behavior. It covers only the headline purpose of a fairly complex listing tool.

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 the schema already documents every parameter, including the principalType enum values. The description adds only that the principal is the primary filter and that other conditions are also accepted; it does not clarify how principalId and principalType interact or which of the pagination and sort parameters matter in practice. Baseline 3 is right.

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

Purpose3/5

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

The description states a specific verb (查询/query) and resource (数据实体授权记录 – data entity authorization records) scoped to a principal. This is enough to distinguish it from the delete_* siblings, but it never explicitly tells the agent how it differs from other list tools such as idt__ListLifecycleBusinessOperationByTemplateId, leaving purpose only partly clear.

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 or when-not-to-use guidance, no statement of prerequisites or required permissions, and no named alternative. The agent must infer the appropriate context entirely from the tool name and the parameter list.

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