Skip to main content
Glama
zients

@zients/line-mcp-server

by zients

Get Room Member Count

get_room_member_count

Retrieve the member count for a LINE multi-person chat room using its room ID. Requires the bot to be a member of the room.

Instructions

Get the number of members in a LINE multi-person chat room. The bot must be a member of the room.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
roomIdYesLINE Room ID (starts with "R")

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.1

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the prerequisite (bot must be a member) but does not mention error conditions, response format, or any side effects. Since it's a simple read operation, the lack of detail is a minor gap, but it could have been more explicit about being read-only or about failure cases.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences with zero redundancy. The primary action is front-loaded, and the prerequisite follows immediately. Every word earns its place.

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 simple read with one parameter and no output schema, the description covers the essentials: what it does, the target resource, and a key precondition. It could mention the return type (integer count) or error behavior, but these are largely implicit. Overall, it is sufficiently complete for an agent to call it correctly.

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?

The input schema already documents roomId with 'LINE Room ID (starts with "R")', so the schema provides full coverage. The description adds no additional meaning about the parameter, so it does not exceed the baseline of 3 for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'Get' and the resource 'the number of members in a LINE multi-person chat room', distinguishing it from sibling tools like get_group_member_count (for groups) and get_room_member_ids (for IDs). The condition that the bot must be a member adds specificity.

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?

It provides clear context: the tool is for LINE multi-person chat rooms, and the bot must be a member. It does not explicitly mention alternatives or when not to use it, but the purpose is unambiguous, and the prerequisite is stated. This meets the 'clear context, no exclusions' criterion.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zients/line-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server