Skip to main content
Glama

Create company

create_company

Creates a company (the seller) of the signed-in user; the user becomes its owner. The company is created without bank accounts (create_bank_account adds them); the logo and the KSeF connection are set up only in the app.

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

Input Schema

NameRequiredDescriptionDefault
vatNoThe VAT settings of the company.
nameYesThe name of the company as printed on documents (one line).
typeYesThe legal form of the company.
notesNoInternal notes about the company, never printed on documents; null means no notes (on update it removes them).
addressYesThe address of the company; the country is required.
contactNoThe contact data printed on documents.
tax_numberNoThe tax number of the company, digits only; null clears it.
pdf_einvoiceNoWhether the PDF of issued invoices embeds the e-invoice data (ZUGFeRD / Factur-X); null means automatic (on for companies in Germany).
invoice_prefixNoThe prefix of the invoice numbers; by default <year>-. It must differ from the proforma prefix: equal prefixes, or one being the other followed by digits only, would share one number counter, so proformas would take numbers from the invoice series; such a value is a validation error.
proforma_prefixNoThe prefix of the proforma numbers; by default <year>-PR-. It must differ from the invoice prefix and the corrective invoice prefix: equal prefixes, or one being the other followed by digits only, would share one number counter, so proformas would take numbers from the invoice series; such a value is a validation error.
electronic_addressNoThe electronic address where the company receives e-invoices.
registration_numberNoThe company registration number, digits only; null clears it.
proforma_validity_daysNoHow many days a proforma is valid by default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag this as a non-read-only, non-idempotent, non-destructive write with no open-world calls, so the safety profile is covered. The description adds genuine behavioral context beyond that: side effect of granting the caller ownership, and the deliberate omissions (bank accounts, logo, KSeF connection). It does not mention validation failure modes such as country immutability or prefix conflicts, which are only in the schema.

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?

Two sentences, front-loaded with the action and ownership result, then the exclusions with the sibling tool named inline. No filler and nothing repeated from the title.

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 13-parameter creation tool with nested objects and no output schema, the description covers the non-obvious semantics an agent needs (ownership, absent bank account, app-only setup). It could have stated what is returned on success, but the fully documented schema carries the rest.

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 description coverage is 100%, so the baseline is 3; every field including nested VAT, address, and prefix constraints is documented in the schema. The description adds no parameter-level meaning beyond noting what cannot be configured at creation time.

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 uses a specific verb and resource ('Creates a company') and immediately scopes it: it is the seller company belonging to the signed-in user, who becomes owner. That distinguishes it from create_customer and create_bank_account without requiring the schema to be opened.

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?

It tells the agent that bank accounts are not created here and names create_bank_account as the follow-up tool, and that logo and KSeF setup only happen in the app, which prevents futile attempts. It stops short of explicitly contrasting with update_company or stating prerequisites such as requiring an authenticated user session.

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