Skip to main content
Glama

roster_allowlist

Exports QQ numbers of everyone granted a selected permission scope (DM, Qzone, or group) as a ready-to-use allowlist for other tools.

Instructions

导出某类权限下所有人的 QQ 号。可以直接当白名单喂给别的工具。

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": {
      "scope": "<scope>"
    },
    "name": "roster_allowlist"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeYesdm / qzone / group

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the substantive behavior that the output is a flat set of QQ numbers suitable for use as a whitelist, which is genuinely useful. It does not state whether the operation is read-only, what happens for an empty scope, ordering/dedup, or any privacy/permission constraints on exporting identifiers.

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?

Two short sentences with the output described first and the downstream use second; nothing is padded. It is efficient, though the vague '某类权限' phrasing costs a bit of precision rather than length.

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?

For a one-parameter export tool with no annotations and no output schema, the description covers the essential 'what you get back' point (a QQ-number list usable as a whitelist). It stops short of describing the output shape, scope semantics, or side-effect profile, which an agent would need with no structured fields to fall back on.

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 the single enum parameter is documented in the schema, so the baseline is 3. The description adds only the framing that the parameter selects a permission/visibility category, which is slightly at odds with the dm/qzone/group enum but does not extend meaning beyond the schema.

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 and resource: exporting the QQ numbers of everyone under a given permission/visibility category. It is clear what the tool produces, but it never contrasts itself with close siblings like roster_list or roster_get, so an agent must infer the difference from the name alone. The phrase '某类权限' also loosely reframes the schema's dm/qzone/group scope concept.

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?

'可以直接当白名单喂给别的工具' hints at a downstream use case (generating a whitelist for other tools), which implies usage context. However, there is no explicit when-to-use versus roster_list/roster_get guidance, and no stated preconditions or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.