Skip to main content
Glama

Create a company

create_company

Changes data: adds a supplier, forwarder or customer to the organization, as the person who connected this app, and records it in the organization's audit log. Use it only when the user asks to add a company (or to sync one from their ERP), and say what you are about to add first. Look it up with list_companies (query for a name, erp_code for an ERP code) before creating one: a name the organization already has, as a company's name or one of its other spellings, is refused with an error that names the existing company, and nothing is created, so use that company instead. An erp_code is not unique, so looking a company up by it may return several. Answers with the company and its id such as "cmp_12". To change one use update_company; merging and deleting companies are done in Trackberry only.

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": {
      "name": "<name>"
    },
    "name": "create_company"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe company's name as its documents write it, such as "Progum Co., Ltd".
rolesNoWhat it is to the organization: any of supplier, forwarder, customer. Omit when unknown; a document later sets it.
countryNoTwo-letter ISO 3166 country code such as "PE".
erp_codeNoThe company's code in the organization's ERP, so list_companies can find it by that code.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

The description carries far more than the annotations: it discloses that creation is attributed to the connecting user, that the action is written to the organization's audit log, that duplicate names are refused with an all-or-nothing error naming the existing company, and what the response looks like. This is consistent with readOnlyHint=false, destructiveHint=false and idempotentHint=false.

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 mutation warning and scoped to the essentials; almost every clause carries operational value (audit log, confirm-first, duplicate rule, alternatives). The duplicate-lookup sentence packs name ambiguity, alias spellings, error shape and fallback into one long clause, which costs a little readability but not correctness.

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?

With no output schema, the description still states the return value ('the company and its id such as cmp_12'), covers the failure path and its recovery, and names the boundary with sibling tools. Nothing an agent needs to call this correctly is missing.

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 already 100%, but the description adds real meaning: erp_code is explicitly non-unique so a lookup may return several candidates, and name matching is enforced against existing company names and their alias spellings, which tells the agent how strict the name argument is. Country and roles are not elaborated on, but the schema already documents both.

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?

Opens with a specific verb plus resource plus effect: 'Changes data: adds a supplier, forwarder or customer to the organization'. It distinguishes itself from update_company (changes), list_companies (lookups) and add_company_alias by contrast, so an agent can route correctly without opening a 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 an explicit trigger ('only when the user asks to add a company, or to sync one from their ERP'), a required prerequisite action (look up with list_companies first, with the right parameter for each lookup type), and explicit exclusions pointing to update_company and to Trackberry for merges and deletions. When-to-use, when-not-to-use and alternatives are all covered.

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