Skip to main content
Glama

Zavod Stanki CNC Catalog

Заявка менеджеру завода

submit_lead

Отправить заявку менеджеру завода: имя (обязательно) + телефон/e-mail, опционально модель и комментарий. Требуется API-ключ (X-API-Key, Authorization: Bearer или аргумент api_key). Заявка попадает в CRM и Telegram-чат менеджеров; подтверждай у клиента согласие на обработку контактов.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
emailNo
phoneNo
api_keyNo
commentNo
machine_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
lead_idNo
messageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "lead_id": {
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "ok": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "ok"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior5/5

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

The description goes beyond annotations by disclosing that the lead enters the CRM and a manager Telegram chat, that an API key is required via header or argument, and that client consent for contact processing must be confirmed. This is very useful behavioral context for a write operation, especially since readOnlyHint is false and idempotentHint is false.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three concise sentences front-load the verb, resource, and required fields, then add auth, destination, and compliance guidance. There is no filler or repetition of schema contents.

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?

The description covers auth, consent, destination, and required/optional input in a compact way. An output schema exists, so return values need no explanation. The main gap is the ambiguous mapping of 'model' to machine_id and the implied requirement of phone/email that conflicts with the schema.

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?

With 0% schema description coverage, the description must compensate, and it does partially: it explains name, phone/email, comment, API key, and references a model. However, it does not map 'модель' to the actual machine_id parameter, and it suggests phone/e-mail are required while the schema marks them optional. This leaves room for misinterpretation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: 'send an application to the factory manager' with required and optional fields. It is clearly distinct from sibling tools like ask_manager or subscribe_to_factory_events, since it describes a lead submission rather than a general question or subscription.

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?

The description gives practical conditions: name is required, phone/email are expected, API key is needed, and client consent must be confirmed. However, it does not explicitly contrast this tool with alternatives such as ask_manager or subscribe_to_factory_events, so an agent must infer when this tool is preferred over those.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources