Skip to main content
Glama
1C OData MCP

1C OData MCP

Описание объекта

read.schema.describe_entity
Read-only

Describe fields, types, and relationships for a specific 1C entity set from $metadata; use it before searching to identify available fields and query structure.

Instructions

Показывает поля (с типами) и связи конкретного объекта 1С из $metadata. Принимает техническое имя EntitySet, напр. 'Catalog_Контрагенты' или 'Document_РеализацияТоваровУслуг'. Используйте перед поиском, чтобы узнать доступные поля.

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": {
      "entitySet": "<entitySet>"
    },
    "name": "read.schema.describe_entity"
  }
}

Input Schema

NameRequiredDescriptionDefault
databaseNoИмя базы 1С из list_databases. Без указания — база по умолчанию; если баз несколько и неясно какая, спросите пользователя.
entitySetYesТехническое имя объекта, напр. Catalog_Контрагенты

Output Schema

NameRequiredDescriptionDefault
keysYes
classYes
fieldsYes
entitySetYes
relationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.6/5.0
Behavior3/5

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

The readOnlyHint/openWorldHint annotations already establish this as a safe read against a live external metadata source, and the description is consistent with them by noting the data comes from $metadata. Beyond that it adds little: no mention of behavior when the EntitySet is unknown or how the default database is resolved, though the schema covers the latter.

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?

Three short sentences, front-loaded with purpose followed by the argument format and the usage rule. Minor redundancy with the schema's own EntitySet example is the only waste.

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 two-parameter read tool with full schema coverage, an output schema present, and annotations covering safety, the description supplies purpose and a usage trigger. Nothing essential is missing, though a pointer to the listing sibling would complete the routing picture.

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 coverage is 100%, so both parameters are already documented in structured form. The description's EntitySet example ('Catalog_Контрагенты', 'Document_РеализацияТоваровУслуг') repeats what the schema field description already provides, adding no new meaning.

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 precise verb and resource: it shows the fields (with types) and relations of a specific 1C object read from $metadata. The qualifier 'конкретного объекта' implicitly contrasts with the listing sibling, but no sibling is named, so differentiation relies on inference.

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?

Explicitly says to use it before searching in order to learn the available fields, which gives a clear trigger condition. It stops short of stating when not to use it or naming an alternative such as read.schema.list_entities.

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