Skip to main content
Glama

drs__ListUsers

Retrieves source database user information for a specified DRS migration job, helping manage user accounts separately during migration.

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": {
      "job_id": "<job_id>",
      "project_id": "<project_id>"
    },
    "name": "drs__ListUsers"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes任务ID
project_idYes租户在某一Region下的project ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/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. It implies a read-only query but says nothing about required permissions, whether the job must be running or completed, whether results are paginated or truncated, or what the response contains — significant gaps for a job-scoped lookup.

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 DRS prefix and purpose front-loaded; the preamble about users being handled separately earns its place as rationale, and there is no redundant filler.

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

Completeness3/5

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

With two simple parameters fully documented in the schema and no output schema, the description covers the essential purpose but not what the returned user records look like or the conditions under which the call succeeds, leaving the agent to discover those at runtime.

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 coverage is 100% and both parameters (job_id, project_id) are documented there, so the baseline of 3 applies. The description adds no extra meaning about how job_id scopes the query to a specific migration's source database, which would have been valuable.

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 gives a concrete verb and resource ("查询源库的用户信息") plus the migration-workflow context in which users are handled separately, which distinguishes it from generic user-listing siblings such as rds__ListDbUsers. It stops short of explicitly naming an alternative, but an agent can tell what the tool returns and roughly where it fits.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the sentence about migrating users needing separate handling suggests this is called during a DRS migration task, but there is no explicit when-to-use statement, no prerequisite (e.g. job state), and no pointer to alternatives for non-migration user lookups.

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