Skip to main content
Glama

roster_check

Check whether a person has a specific permission (DM, Qzone, or group). Access is default-deny, so call it before acting to confirm what is explicitly granted.

Instructions

判断某个人有没有某项权限(默认拒绝)。别的工具在动手前应该先问一句。

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

Input Schema

NameRequiredDescriptionDefault
uinYesQQ 号
scopeYesdm 私聊 / qzone 空间 / group 群聊

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

There are no annotations, so the description bears the full burden. It usefully discloses the fail-closed semantics ('默认拒绝'), which is the key behavioral trait. However, it doesn't state whether it's a read-only check, what happens with unknown users, or anything about auth or return values.

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, purpose first and usage second, with no filler. Slightly informal phrasing but nothing that wastes agent attention.

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 no output schema, the description should clarify return values; it implies a yes/no answer but never explicitly states the result form or any error/unknown-user behavior. For a simple two-parameter check tool, that is adequate but with gaps.

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?

Both parameters (uin, scope) are fully documented in the schema, including the enum values with their meaning (dm/qzone/group), so schema coverage is 100%. The description adds no parameter-level meaning beyond that baseline.

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 concrete verb and object, '判断某个人有没有某项权限' (check whether a person has a permission), which is unambiguous. It doesn't name which sibling it differs from, but the deny-by-default and precondition framing produces a clear functional identity.

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

Usage Guidelines4/5

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

'别的工具在动手前应该先问一句' gives explicit when-to-use guidance: call this as a precondition before other tools act. It lacks any when-not-to-use or alternatives clause, which keeps it out of 5 territory.

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