Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ONEC_BASE_URLYesBase URL of the 1C HTTP API used by the MCP server, for example http://127.0.0.1:8001/v1.
MCP_ENABLE_DRAFTSNoSet to 1 to enable the create_draft tool. When enabled, use tool confirmation in the MCP client.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Use catalog and stock for read operations. Use preview to prepare draft data. Show every unresolved position to the operator. Request operator approval before calling create_draft.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_catalogB

Return registered product SKUs and customer codes.

get_stockB

Return product details and informational stock for an exact SKU.

preview_requestC

Prepare a draft from a text request and identify lines needing review.

Prompts

Interactive templates invoked by user choice

NameDescription
order_intakeGuide the operator through reviewing an incoming order.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 3 tools

Disambiguation5/5

Each tool has a clearly distinct role: catalog browsing, SKU-level stock lookup, and natural-language request drafting. There is no meaningful overlap between them.

Naming Consistency5/5

All three tools follow a consistent verb_noun snake_case convention: get_catalog, get_stock, preview_request. The pattern is predictable and readable.

Tool Count5/5

Three tools is a well-scoped set for a demo server covering catalog, stock, and request preview. Each tool serves a distinct purpose without bloat.

Completeness3/5

The server covers catalog lookup, stock lookup, and request preview, but there is no tool to submit, update, or retrieve a finalized request. This is a notable workflow gap if the intent is end-to-end request handling.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues