Skip to main content
Glama

Set company profile

core_set_company_profile
Destructive

The business's own identity: seller block, tax id, payment instructions, country, currencies, tax scheme, numbering. One per workspace. The invoice document's seller comes from here — a document without it is incomplete, not wrong (INV-22). Patch semantics: only the fields you pass change; the name is required only the first time. Effects: company profile written.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "core_set_company_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoLegal or trading name, as it should appear on documents.
tax_idNoEIN / VAT id — printed on documents where present.
addressNoPostal address, as it should print.
countryNoWhere the business is, ISO 3166 two letters (US, NZ, CZ, HU). Sets how dates and amounts print.
currencyNoDefault billing currency, ISO 4217 (USD, NZD, CZK, EUR). Every invoice carries one; this is the one proposed.
tax_labelNoWhat the tax is called on documents: GST, VAT, Sales tax, ÁFA, DPH.
currenciesNoEvery currency this business bills in, comma-separated (e.g. "USD, CZK"). An invoice may carry any of these and no other.
footer_noteNoOne line at the document foot (returns policy, thanks, registration no).
tax_rate_bpNoDefault tax rate in basis points (1500 = 15%). Applied to every line unless the line says otherwise. Only meaningful when registered.
tax_id_labelNoHow the tax id is captioned on documents: GST No., IRD number, VAT ID, EIN. Defaults to "Tax ID".
number_formatNoInvoice numbering. Tokens: {NNNN} the sequence (width = number of Ns), {YYYY} or {YY} the year of issue. Default INV-{NNNN}; INV-{YYYY}-{NNN} restarts each year.
tax_registeredNoRegistered for the tax (GST/VAT)? Pass it explicitly either way — false is an answer, the setup checklist stays open until one is given. Unregistered businesses cannot put tax on a line; registered ones print TAX INVOICE and their tax id.
payment_instructionsNoHow customers pay: bank details, reference format. Printed on every invoice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, and the description adds material context those flags cannot: patch semantics where only passed fields change, name required only on first set, and an explicit effects line. It does not disclose whether overwritten values are recoverable or what a failed write leaves behind, which is the remaining gap for a destructive-flagged tool.

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 lines, front-loaded with scope, then the seller dependency, then the patch rule, then effects — no restatement of the name or title and no filler. The noun-list opening is terse but earns its place by enumerating the fields governed.

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, all-optional mutation with no output schema, the description covers scope, patch semantics, the conditional required field, and the write effect. Minor gaps remain — no mention of how to clear an existing field or whether a partial write can fail — but nothing essential to invoking it is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds two facts no schema field states: the empty required list is conditional (name required only the first time) and tax_registered must be passed explicitly either way because false is a meaningful answer. That materially changes how an agent constructs the call.

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

Purpose4/5

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

The opening line enumerates exactly what the tool owns — seller block, tax id, payment instructions, country, currencies, tax scheme, numbering — and 'Effects: company profile written' confirms it is a write. It does not name the read sibling (core_company_profile) or core_set_company_logo, so sibling differentiation is only implicit via 'One per workspace'.

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 clear motivating context for use: the invoice seller comes from here, documents without it are incomplete (INV-22), and the setup checklist stays open until tax_registered is answered. It does not explicitly say when-not to use it or route the agent to the read counterpart, but the conditions for calling are unambiguous.

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.