Skip to main content
Glama
bit2beat

Bitrix24 MCP server

b24_groups_list

List Bitrix24 workgroups and projects filtered by active status and visibility settings.

Instructions

Lista grupos de trabajo (workgroups y proyectos) con filtros por estado y visibilidad.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filterNoFiltros. Ejemplo: { "ACTIVE": "Y", "VISIBLE": "Y" }. Campos: NAME, ACTIVE, VISIBLE, OPENED, PROJECT
selectNo
webhook_urlNo

Implementation Reference

  • The groupsList function that executes the tool logic. Calls Bitrix24 API 'sonet_group.get' via fetchAllPages with optional filter and select parameters, returning the groups with pagination support.
    export async function groupsList({ filter = {}, select, webhook_url }) {
      const client = new Bitrix24Client(resolveWebhook(webhook_url));
      const groups = await fetchAllPages(client, 'sonet_group.get', {
        filter,
        ...(select ? { select } : {}),
      });
      return { portal: client.portal, total: groups.length, groups };
    }
  • Zod schema for the b24_groups_list tool input validation. Defines optional filter (record), select (array of strings), and webhook_url parameters.
    export const groupsListSchema = z.object({
      filter: z.record(z.any()).optional().default({}).describe(
        'Filtros. Ejemplo: { "ACTIVE": "Y", "VISIBLE": "Y" }. ' +
        'Campos: NAME, ACTIVE, VISIBLE, OPENED, PROJECT'
      ),
      select: z.array(z.string()).optional(),
      webhook_url: z.string().url().optional(),
    });
  • index.js:244-246 (registration)
    Registration of the 'b24_groups_list' tool on the MCP server with its description, schema shape, and wrapped handler.
    server.tool('b24_groups_list',
      'Lista grupos de trabajo (workgroups y proyectos) con filtros por estado y visibilidad.',
      groupsListSchema.shape, wrap(groupsList));
  • index.js:55-63 (registration)
    Import of groupsListSchema and groupsList from the feed-notifications module into the index.js file.
    import {
      feedPostSchema, feedPost,
      notifySendSchema, notifySend,
      groupsListSchema, groupsList,
      chatSendSchema, chatSend,
      bizprocListSchema, bizprocList,
      bizprocStartSchema, bizprocStart,
      telephonyCallsSchema, telephonyCalls,
    } from './src/tools/feed-notifications.js';
Behavior2/5

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

No annotations provided, so description must carry the burden. It only states it lists with filters, implying a read operation, but does not disclose permissions, rate limits, return format, or any side effects. Lacks depth.

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?

Single sentence with no redundant information. Action and resource are front-loaded. Every word serves a purpose.

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

Completeness2/5

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

No output schema exists, yet description does not explain return values or pagination. For a list tool, this is a significant gap. Does not cover all parameter behaviors or usage context.

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?

Description adds meaning for the 'filter' parameter by mentioning 'filtros por estado y visibilidad', but does not explain 'select' or 'webhook_url'. Schema coverage is 33%, so description partially compensates.

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?

Description clearly states the verb 'Lista' (lists) and the resource 'grupos de trabajo (workgroups y proyectos)', and mentions filtering by status and visibility. This distinguishes it from sibling tools like b24_users_list or b24_departments_list.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives like b24_departments_list or b24_tasks_list. Does not specify context, prerequisites, or when not to use.

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

Install Server

Other Tools

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/bit2beat/bitrix24-mcp'

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