Skip to main content
Glama

b24_crm_get

Read-onlyIdempotent

Fetch a single CRM record by ID and return all fields, including classic entities or modern crm.item API payloads for deals, leads, contacts, companies, quotes, and Smart Process items.

Instructions

Fetch a single CRM record by id (all fields).

Returns the record payload (classic entities return the fields object; the modern crm.item API returns {"item": {...}}).

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": {
      "id": "<id>"
    },
    "name": "b24_crm_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRecord id.
entityNoClassic CRM entity: 'lead', 'deal', 'contact', 'company', or 'quote'. Ignored when entity_type_id is set.deal
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.
entity_type_idNoNumeric CRM entity type id for the modern crm.item.* API (e.g. 1=lead, 2=deal, 1030+=Smart Process). Set this to work with SPA items.
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

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds the useful behavioral detail that two backends exist (classic entities vs modern crm.item) with different payload shapes. However, it does not cover failure behavior (missing id, wrong entity type) and its return-shape note overlaps with the existing output schema.

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, front-loaded sentences with no filler; the core action comes first and the payload caveat second. The second sentence partially restates information already available in the output schema, which keeps it from a 5.

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 single-record read with full schema coverage and a declared output schema, the definition covers the essentials: how to identify the record and what shape the payload takes. What is missing is only edge-case behavior such as not-found handling, which is minor for this tool type.

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%, so every parameter including entity, entity_type_id, and the webhook overrides is already documented. The description adds only "by id (all fields)," which conveys that no field selection is possible but little else beyond the schema. Baseline 3 applies when the schema carries the load.

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: "Fetch a single CRM record by id (all fields)." That clearly distinguishes it from list-style siblings such as b24_crm_list, and "all fields" signals it is not a field-filtered variant. It stops short of naming an alternative explicitly, so it is not a 5.

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 only implied: the agent can infer it should call this when it already has a record id. There is no explicit guidance on when to choose it over b24_crm_list or b24_crm_fields, and no statement about what to do when the id is unknown or the record is missing.

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