Skip to main content
Glama

Set Up Company

update_company
DestructiveIdempotent

Save the user's answers about their own business to their AccountsOS company: what kind of business it is (entity_type, for example sole_trader or ltd), the country it is registered in (ISO code such as GB, IE, US), the company or registration number, the name, what it does, the currency, the year-end month and VAT registration. Use it during setup, and when the user corrects one of these details. For a UK or Irish limited company with a registration number, call lookup_company and then link_company instead, which fills everything from the official register. Only pass what the user told you; never guess.

Input Schema

NameRequiredDescriptionDefault
nameNoRegistered/legal company name (the business being kept books for).
companyNoWhich company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default.
countryNoISO 3166-1 alpha-2 country code where the business is registered (for example GB, IE, US, AU, AE). Sets which tax rules apply. Refused once the company has bookkeeping entries.
vat_numberNoVAT/GST registration number. Providing a number also marks the company VAT registered unless vat_registered is explicitly false.
entity_typeNoBusiness structure (e.g. "ltd" for a UK limited company, "sole_trader", "llp", "fzco" for a UAE free-zone company). Use the value appropriate to the company's country. Drives which tax rules apply.
trading_nameNoTrading name / "doing business as", if different from the registered name.
company_numberNoCompany/registration number (e.g. UK Companies House number, IE CRO number, DK CVR number). Setting this lets us sync filing deadlines from the registry.
vat_registeredNoWhether the business is VAT/GST registered. Set true when the user confirms they are registered, false when they confirm they are not. Also false for a business whose sales are all VAT-exempt and that cannot reclaim VAT (an investment fund, a Belgian Article 44 exempt taxpayer): it files no periodic return, so keep its vat_number and pass vat_registered false. If a UK registration has been CANCELLED, pass vat_deregistration_date instead.
business_summaryNoWhat the business does, in one plain sentence in the user's own words, e.g. "Mobile dog groomer" or "Two-person web design agency". Save it whenever the user says what they do: it tells categorisation and advice what kind of business this is.
default_currencyNoISO 4217 default currency code, e.g. GBP, EUR, USD, AED, DKK. Uppercased automatically.
incorporation_dateNoDate the company was incorporated, YYYY-MM-DD. Pass it whenever the user tells you, and ALWAYS for a UK limited company with no company number yet (just incorporated, or not on Companies House yet): use today for "just incorporated". For such a company it sets up the estimated first-year deadlines (Corporation Tax registration, first confirmation statement, first accounts, first CT return) so the founder sees their first year mapped out; tell them what is coming and when.
financial_year_end_monthNoMonth (1-12) the financial year ends. Only set when the user tells you their year-end; do not guess.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is conveyed structurally. The description adds useful behavioral context via the 'never guess' instruction and the register-first routing for UK/IE companies, but it never explains overwrite semantics — whether omitted fields are preserved, what an existing country/entity_type change does to prior data (the schema notes country is 'refused once there are bookkeeping entries', which the description omits). For a 12-parameter mutation flagged destructive, that is a real gap.

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 action and the field list, followed by the usage rule and the sibling routing, with no padding sentences. The field enumeration is long but functional — it doubles as the list of things the agent should elicit from the user — though it could be trimmed slightly without loss.

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?

For a tool with 12 optional parameters, no output schema and full schema coverage, the description supplies exactly what structured fields don't: when to call it, when to use a sibling instead, and the anti-guessing constraint. Return values are not needed since no output schema exists and the effect is a save. An agent can invoke this correctly from the definition alone.

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 coverage is 100%, so every parameter is already documented in detail, including the conditional vat_registered/vat_deregistration_date logic. The description's parameter mentions (sole_trader/ltd, GB/IE/US ISO codes) largely restate schema content rather than adding semantics beyond it. Baseline 3 applies because the schema carries the load.

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 opens with a specific verb+resource ('Save the user's answers ... to their AccountsOS company') and enumerates the exact attributes covered (entity type, country, registration number, name, activity, currency, year-end, VAT). It also explicitly distinguishes itself from lookup_company and link_company, so the agent can separate it from the read-from-register path without consulting schemas.

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 triggers ('during setup, and when the user corrects one of these details') and an explicit exclusion with the alternative named ('For a UK or Irish limited company with a registration number, call lookup_company and then link_company instead'). It also states the data-collection rule ('Only pass what the user told you; never guess'), which is real routing guidance, not filler.

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.