Skip to main content
Glama

Проверка контрагента по ИНН или ОГРН

company_check
Read-onlyIdempotent

Fetch official Russian company details from EGRUL/EGRIP by INN or OGRN, including status, director, and PDF extract, for due diligence or contract filling.

Instructions

Сведения из ЕГРЮЛ/ЕГРИП ФНС по ИНН или ОГРН организации или ИП: полное и краткое название, ИНН, ОГРН, КПП, дата регистрации и возраст компании, статус (действует или деятельность прекращена), руководитель, регион, отметка о недостоверности сведений и ссылка на официальную выписку PDF. Используйте перед сделкой, для заполнения реквизитов договора или счёта. Номер предварительно проверяется по контрольной сумме. Поиск по названию ФНС для внешних запросов не поддерживает — нужен ИНН или ОГРН. Только чтение, без токена.

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": "company_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesИНН (10 или 12 цифр) или ОГРН/ОГРНИП (13 или 15 цифр)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety bar is low. The description adds real value beyond them: the no-token auth model and the fact that the number is checksum-validated before the call. It does not discuss rate limits or failure behavior on an invalid number, keeping it below a 5.

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?

Front-loaded with the returned dataset, then usage, then constraints. Dense but every sentence carries information; slightly overlong for a single-parameter tool but no filler.

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

Completeness5/5

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

No output schema exists, so the description carries the return-value burden alone and does so thoroughly by listing the full field set. Combined with usage triggers, the ID constraint and the auth note, an agent has everything it needs to call the tool.

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 coverage is 100% and the pattern already encodes accepted lengths, so baseline is 3. The description goes further by explaining the checksum pre-validation and clarifying that a name cannot substitute for the ID, which meaningfully reinforces the single parameter's semantics.

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 resource (ЕГРЮЛ/ЕГРИП ФНС) and lookup key (ИНН or ОГРН), and enumerates the returned fields (name, ИНН, ОГРН, КПП, status, director, region, PDF link), so the agent knows exactly what it does. It does not, however, explicitly contrast itself with the closest sibling validate_requisites, so it falls short of the sibling-differentiation needed for 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 Guidelines4/5

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

Gives concrete trigger scenarios (before a deal, filling contract/invoice details) and a hard constraint that name search is unsupported, so only ИНН or ОГРН will work. It stops short of naming an alternative tool or stating when NOT to use it, so no explicit routing to a sibling.

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