Skip to main content
Glama
sam-wilkie

Kommo Kiro MCP

create_company

Create a company record using just a name; duplicates are not checked, so search existing companies first with list_companies. Returns the new company.

Instructions

Create a company record with a name only. Not idempotent: duplicates are not checked, so look with list_companies first. Returns the created company. To create a company alongside a new lead, use create_lead_complex.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesCompany name, e.g. "Acme Inc".

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoCompany ID.
nameNoCompany name.
_linksNoHAL links as returned by Kommo (self, next, ...).
group_idNoID of the responsible user's group.
_embeddedNoEmbedded tags and leads.
account_idNoKommo account ID.
created_atNoCreation time, Unix seconds.
created_byNoID of the user who created it.
updated_atNoLast update time, Unix seconds.
updated_byNoID of the user who last updated it.
closest_task_atNoNext task deadline, Unix seconds, or null.
responsible_user_idNoID of the responsible Kommo user.
custom_fields_valuesNoCustom field values in Kommo format: objects with field_id, field_code and values.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.3
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "description": "The created company.",
      +  "properties": {
      +    "_embedded": {
      +      "additionalProperties": true,
      +      "description": "Embedded tags and leads.",
      +      "properties": {
      +        "tags": {
      +          "description": "Embedded tags.",
      +          "items": {
      +            "additionalProperties": true,
      +            "description": "A Kommo tag.",
      +            "properties": {
      +              "color": {
      +                "description": "Tag color, or null.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "id": {
      +                "description": "Tag ID.",
      +                "type": "integer"
      +              },
      +              "name": {
      +                "description": "Tag name.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "_links": {
      +      "additionalProperties": true,
      +      "description": "HAL links as returned by Kommo (self, next, ...).",
      +      "properties": {},
      +      "type": "object"
      +    },
      +    "account_id": {
      +      "description": "Kommo account ID.",
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "closest_task_at": {
      +      "description": "Next task deadline, Unix seconds, or null.",
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "created_at": {
      +      "description": "Creation time, Unix seconds.",
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "created_by": {
      +      "description": "ID of the user who created it.",
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "custom_fields_values": {
      +      "description": "Custom field values in Kommo format: objects with field_id, field_code and values.",
      +      "items": {
      +        "additionalProperties": true,
      +        "description": "One custom field with its values.",
      +        "properties": {},
      +        "type": "object"
      +      },
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    },
      +    "group_id": {
      +      "description": "ID of the responsible user's group.",
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "id": {
      +      "description": "Company ID.",
      +      "type": "integer"
      +    },
      +    "name": {
      +      "description": "Company name.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "responsible_user_id": {
      +      "description": "ID of the responsible Kommo user.",
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "updated_at": {
      +      "description": "Last update time, Unix seconds.",
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "updated_by": {
      +      "description": "ID of the user who last updated it.",
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / name / description
      Previous value: -"Company name"New value: +"Company name, e.g. \"Acme Inc\"."
  3. First observedv1.0.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false and openWorldHint=true; the description reinforces non-idempotency and adds the concrete consequence (duplicates are not checked) plus the dedup workaround. It does not mention permissions or any failure modes, so it stops just short of full behavioral coverage.

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?

Four short sentences, each load-bearing: purpose, non-idempotency caveat with remedy, return value, and the alternative tool. The scope constraint is front-loaded and nothing is padded.

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?

An output schema exists, so return values need not be detailed, yet the description still notes the created company is returned. For a one-parameter creation tool with full annotation coverage, the agent has everything needed to call it correctly.

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?

There is a single parameter with 100% schema description coverage, so the schema already carries the semantics (including the "Acme Inc" example). The description's "with a name only" merely restates that the call is minimal and adds no format or constraint detail beyond the schema.

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?

States a specific verb+resource (create a company record) and immediately scopes it ("with a name only"). It also names the sibling create_lead_complex for the adjacent use case, so the agent can distinguish this from other creation tools without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives explicit when-to-use guidance (check list_companies first because duplicates are unchecked) and names the alternative path (create_lead_complex when creating alongside a lead). Both the pre-condition and the routing decision are stated outright rather than implied.

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