Skip to main content
Glama

drs__ListsAgencyPermissions

Lists the agency permissions needed for database replication based on source and target database types and whether the databases are self-built.

Instructions

[DRS] 根据源库类型,目标库类型,是否自建,获取委托所需要的权限

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": {
      "is_non_dbs": "<is_non_dbs>",
      "project_id": "<project_id>"
    },
    "name": "drs__ListsAgencyPermissions"
  }
}

Input Schema

NameRequiredDescriptionDefault
is_non_dbsYes是否自建。
project_idYes租户在某一Region下的Project ID。租户在某一Region下的Project ID。
source_typeNo源库类型
target_typeNo目标库类型

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/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 is silent on whether the call is read-only, whether it mutates or creates an agency, what the returned permission list looks like, or any auth/tenant constraints implied by project_id. The only behavioral hint is that output varies by the DB-type inputs, which is minimal for a tool with zero annotation coverage.

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 compact sentence with the controlling inputs front-loaded and no filler. It is efficient, though the extreme brevity is part of why guidance and behavior are missing.

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?

For a four-parameter tool with no annotations and no output schema, the description does not explain what is returned (a list of permission actions? a policy document?), how the result should be used, or whether an existing agency is required. The 100% schema coverage covers inputs but leaves the agent without enough context to call this confidently in a multi-step flow.

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 every parameter is already documented in the schema, giving a baseline of 3. The description restates that source_type, target_type, and is_non_dbs determine the result but adds no format, allowed values, or interaction detail beyond the schema; it also ignores project_id entirely.

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 states a specific verb-plus-resource in Chinese ('获取委托所需要的权限' = retrieve the permissions required by the agency) and enumerates the three inputs that drive the result (source DB type, target DB type, self-built flag), which distinguishes it from the generic IAM permission-listing siblings. It is clear enough to act on, though it never says whether it returns a computed requirement set or existing grants.

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?

No when-to-use or when-not-to-use guidance is given, and no alternatives are named despite many permission-listing siblings (iam__ListProjectPermissionsForAgency, drs__ShowAgencyInfo, drs__UpdateAgencyPolicy). Nothing states prerequisites such as whether the agency must already exist before calling it.

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