Skip to main content
Glama

b24_im_user_get

Read-onlyIdempotent

Fetch a Bitrix24 user's IM profile, including name, avatar, work status, and online status; omit the user ID to retrieve the acting user's profile.

Instructions

Get a user's IM profile (im.user.get): name, avatar, work status, online.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "b24_im_user_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_idNoUser id to fetch. Omit for the acting user.
webhook_urlNoOverride the default incoming webhook for this call (https://<portal>/rest/<user_id>/<token>/). If omitted, uses personal_webhook, then the X-B24-Webhook HTTP header, then the BITRIX_WEBHOOK_URL env default.
personal_webhookNoAct as a specific user (their personal incoming webhook). Takes precedence over webhook_url. Required to write to the portal under that user's permissions.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is fully covered without the description. The description's extra content is the list of returned fields, which largely duplicates the output schema rather than adding behavioral context such as permission requirements or cross-portal lookup behavior implied by openWorldHint.

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?

A single efficiently front-loaded sentence with the operation and the returned fields. The parenthetical API method name is mildly redundant but useful for mapping to the underlying REST call.

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?

With an output schema present and full parameter documentation plus rich safety annotations, the definition covers what an agent needs to invoke the tool correctly. What is missing is routing guidance against same-family siblings that return overlapping user data.

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 description coverage is 100%, including the key detail that user_id may be omitted to fetch the acting user, plus the full webhook precedence chain. The description adds no parameter meaning beyond the schema, so the baseline of 3 applies.

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?

States a specific verb and resource ("Get a user's IM profile") plus the underlying API method and the fields returned (name, avatar, work status, online). The qualifier "IM" distinguishes it in spirit from the general b24_user_get sibling, though the description never names that alternative explicitly.

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 choose this over b24_user_get, b24_user_current, or b24_user_search, and no stated prerequisites or exclusions. The only cue is the word "IM" in the object name, which is implied context at best.

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

Deploy Server

Other Tools