Skip to main content
Glama
Storno CLI

Storno CLI

Official
by stornoro

clients_create

Create a new company or individual client record manually, optionally auto-filling company details through ANAF or registry lookups before saving.

Instructions

Create a new client manually. Supports both company and individual client types. Company details (address, VAT, bank account, etc.) can be auto-filled using clients_anaf_lookup or clients_from_registry before calling this tool.

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": "clients_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
cnpNoPersonal numeric code / CNP (for individual type)
cuiNoCompany tax ID / CUI (for company type)
cityNoCity
nameYesClient name (company or individual full name)
typeNoClient type: "company" (default) or "individual"
emailNoClient email address
notesNoInternal notes about the client
phoneNoClient phone number
countyNoCounty / state
statusNoPartner rule: active (default), warning (a notice is shown when the client is picked on an invoice) or blocked (the client cannot be invoiced — issue is refused)
addressNoStreet address
countryNoISO 3166-1 alpha-2 country code (default: RO)
vatCodeNoVAT registration code (e.g., RO12345678)
bankNameNoBank name
currencyNoPreferred currency for this client (ISO 4217, e.g., EUR, USD, RON)
idNumberNoClient identification number (personal ID, passport, etc.)
companyIdNoCompany UUID override (uses active company if not set)
affiliatedNoAffiliated party — D394 sets prsAfiliat = 1 when an affiliated partner appears on an invoice of the period
isVatPayerNoWhether the client is registered for VAT
postalCodeNoPostal / ZIP code
bankAccountNoIBAN or bank account number
creditLimitNoPartner rule: maximum outstanding balance in the company currency; issuing an invoice that would exceed it returns a `warning` (never a refusal). null removes the limit
contactPersonNoName of the primary contact person
registrationNumberNoTrade registry number (e.g., J40/1234/2020)
defaultPaymentTermDaysNoDefault payment term in days for invoices issued to this client
overdueRemindersDisabledNotrue = the automatic overdue reminders of the company skip this client (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.60
    • addedInput schema / properties / overdueRemindersDisabled
      Added value: +{
      +  "description": "true = the automatic overdue reminders of the company skip this client (default false)",
      +  "type": "boolean"
      +}
  2. Changed3 schema fields changedv1.0.48
    • addedInput schema / properties / affiliated
      Added value: +{
      +  "description": "Affiliated party — D394 sets prsAfiliat = 1 when an affiliated partner appears on an invoice of the period",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / creditLimit
      Added value: +{
      +  "anyOf": [
      +    {
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Partner rule: maximum outstanding balance in the company currency; issuing an invoice that would exceed it returns a `warning` (never a refusal). null removes the limit"
      +}
    • addedInput schema / properties / status
      Added value: +{
      +  "description": "Partner rule: active (default), warning (a notice is shown when the client is picked on an invoice) or blocked (the client cannot be invoiced — issue is refused)",
      +  "enum": [
      +    "active",
      +    "warning",
      +    "blocked"
      +  ],
      +  "type": "string"
      +}
  3. First observedv1.0.17

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=false, so the safety profile is covered structurally. The description adds the useful "manually" framing and the prefill workflow, but it does not address the non-idempotent behavior (whether a repeated call with the same name creates a duplicate) or permission requirements. It adds context but not rich behavioral disclosure beyond the annotations.

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 short sentences with zero filler: purpose first, then the supported type distinction, then the prefill workflow. Every sentence carries information an agent needs before calling.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 26-parameter mutation tool with only one required field, the description covers purpose, types, and the data-sourcing path, and annotations cover the safety profile. It leaves gaps around required-field guidance, what happens on duplicate creation, and what the call returns, which matter given the parameter breadth.

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% across all 26 parameters, including detailed notes on status, creditLimit, and affiliated, so the schema carries the semantic load and the baseline is 3. The description only adds that company fields (address, VAT, bank account) can be sourced from the lookup tools, which is workflow context rather than parameter-level meaning.

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 and resource ("Create a new client") plus the qualifier "manually", which implicitly separates it from clients_from_registry, and it explicitly names both supported client types (company, individual). An agent can distinguish this from clients_update, clients_from_registry, and oauth2_clients_create 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 Guidelines4/5

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

Gives concrete when-to-use context by naming clients_anaf_lookup and clients_from_registry as pre-steps for auto-filling company details before calling this tool. It does not state when not to use it (e.g., duplicate handling or preferring the registry tools outright), so it falls short of a full when/when-not/alternatives treatment.

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

Deploy Server

Other Tools