Skip to main content
Glama

Lovie Company Formation

Update Company

company_update_company

UpdateCompany patches mutable company fields in a single call: name, logo_url, aliases, sibling_company_ids, and — for a company Lovie did not incorporate — its entity type, state, formation date, EIN and principal address. sibling_company_ids replaces the stored list and needs company.company.update on every listed company too; empty leaves it, clear_sibling_company_ids empties it. Every field is left untouched when unset, the five profile fields included: send only what you are changing, and the rest keeps its stored value. The app removes a stored entity type, state, formation date or EIN by naming it in clear_fields; an empty value never removes one. address cannot be cleared, and is replaced whole when sent, so send every line of it. The profile fields, and clearing them, are REFUSED for a company whose source is LOVIE_FORMATION. Its formation is the filing of record, and letting the two disagree would mean the certificate says one thing and the dashboard another, with nothing to say which is right. Name and logo stay editable there, as they always were; a request mixing them with profile fields is refused whole, with nothing written. MCP-exposed so a founder can correct their own company by asking. It writes and is not idempotent. You cannot remove a value (clear_fields from an assistant is refused with PERMISSION_DENIED), and you may fill in a profile fact only where none is stored: changing a stored one, or sending any ein once one is on file, is refused the same way. Re-sending a stored value you read is not a change. For any refusal, tell the user to make it in Lovie.

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": {
      "company": "<company>",
      "companyId": "<companyId>"
    },
    "name": "company_update_company"
  }
}

Input Schema

NameRequiredDescriptionDefault
companyYes
companyIdYesUUID value wrapper.
clearFieldsNo
clearSiblingCompanyIdsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / company / properties / dunsCaseReference
      Added value: +{
      +  "maxLength": 100,
      +  "pattern": "^[A-Za-z0-9-]*$",
      +  "type": "string"
      +}
    • addedInput schema / properties / company / properties / dunsNumber
      Added value: +{
      +  "maxLength": 9,
      +  "pattern": "^([0-9]{9})?$",
      +  "type": "string"
      +}
    • changedInput schema / properties / company / properties / source / enum
      Previous value: -[
      -  "COMPANY_SOURCE_UNSPECIFIED",
      -  "COMPANY_SOURCE_LOVIE_FORMATION",
      -  "COMPANY_SOURCE_USER_CREATED",
      -  "COMPANY_SOURCE_IMPORTED"
      -]New value: +[
      +  "COMPANY_SOURCE_UNSPECIFIED",
      +  "COMPANY_SOURCE_LOVIE_FORMATION",
      +  "COMPANY_SOURCE_IMPORTED"
      +]
    • addedInput schema / properties / company / properties / websiteUrl
      Added value: +{
      +  "maxLength": 1000,
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / properties / clearSiblingCompanyIds
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / company / properties / siblingCompanyIds
      Added value: +{
      +  "items": {
      +    "description": "UUID value wrapper.",
      +    "properties": {
      +      "value": {
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "maxItems": 20,
      +  "type": "array"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / clearFields
      Added value: +{
      +  "items": {
      +    "enum": [
      +      "COMPANY_PROFILE_FIELD_ENTITY_TYPE",
      +      "COMPANY_PROFILE_FIELD_STATE_OF_FORMATION",
      +      "COMPANY_PROFILE_FIELD_FORMED_ON",
      +      "COMPANY_PROFILE_FIELD_EIN"
      +    ],
      +    "type": "string"
      +  },
      +  "maxItems": 4,
      +  "type": "array"
      +}
  4. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare openWorldHint=false and destructiveHint=false, so the description carries heavy extra weight and delivers: it states the operation writes, is not idempotent, requires company.company.update on every listed sibling company, discloses PERMISSION_DENIED refusals, and explains the LOVIE_FORMATION write-refusal policy and that a mixed request is refused whole. This is rich behavioral context beyond the annotations, with no contradiction of destructiveHint=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?

The field list and key constraints are front-loaded, and given the tool's complexity most sentences earn their place (clear semantics, LOVIE_FORMATION refusal, permission notes). It is nonetheless dense and long with stacked em-dash clauses, which slightly impedes fast scanning, keeping it just below the top mark.

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 an output schema present, the description needn't explain returns, and it covers the essential complexity: mutability, partial-update behavior, clear/refuse rules, permission requirements, non-idempotency, and the refusal-handling instruction. Nothing an agent needs to call it correctly 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 description coverage is low (25%), so the description must compensate and largely does: it explains sibling_company_ids replace/leave/clear semantics, that clear_fields names fields to remove while empty values never remove, that address is replaced whole and cannot be cleared, and the fill-only-where-none-stored rule for profile facts and ein. This adds meaning far beyond the terse schema, covering the parameters an agent would otherwise get wrong.

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 ('UpdateCompany patches mutable company fields') and enumerates exactly which fields are mutable (name, logo_url, aliases, sibling_company_ids, entity type/state/formation/EIN/address). It clearly distinguishes updating from creation or reading, which an agent can separate from siblings like company_create_company and company_get_company 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?

It gives explicit when/when-not conditions: send only changed fields, profile fields are refused for LOVIE_FORMATION companies, clear_fields is refused from an assistant with PERMISSION_DENIED, and the fallback is to tell the user to make the change in Lovie. These are concrete routing and exclusion rules, not inference.

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.