Skip to main content
Glama
mcp-group-chat

mcp-group-chat

get_group

Retrieve group details by group ID, returning all fields to members and only public fields to guests or invalid-token callers.

Instructions

查看群组信息。

群成员会得到群组的全部字段;未入群或 token 无效时只能得到访客 可见的公开字段。

Args: group_id: 群组 ID。 token: 成员身份令牌,可选。

Returns: 有权限查看的群组信息。

Raises: GroupNotFoundError: 群组不存在或已解散。

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": {
      "group_id": "<group_id>"
    },
    "name": "get_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenNo
group_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does real work: it discloses permission-dependent field visibility (member vs guest view), the silent degradation on an invalid token, and a named failure mode (GroupNotFoundError for missing or dissolved groups). It never states the operation is read-only in so many words, but "查看" makes that clear.

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?

Content is front-loaded: purpose first, then the permission behavior, then Args/Returns/Raises. The docstring scaffolding (Args/Returns/Raises headers) is conventional and slightly redundant given an output schema exists, but nothing is padded.

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

Completeness4/5

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

For a two-parameter read tool with an output schema, the definition covers purpose, conditional visibility, and the error case, which is enough to call it correctly. The only gap is how to obtain a valid token, which the agent must infer from sibling tools.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It explains that token is an optional membership identity token that determines which fields are returned, which is genuinely new meaning beyond the bare "Token" string in the schema; group_id only restates the parameter name, which is a minor shortfall.

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 opens with a specific verb+resource ("查看群组信息"), so the agent immediately knows this is a single-group read by ID. It does not explicitly contrast itself with siblings like get_member or list_members, but the resource is unambiguous.

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 implied rather than stated: the token paragraph tells the agent that supplying a membership token yields full fields while omitting it yields only public fields, which is effectively a when-to-use signal. However, there is no explicit guidance on when to prefer this tool over siblings or where a token comes from (e.g., join_group).

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