Skip to main content
Glama

Update company

update_company
Idempotent

Update fields on a company. Only the provided fields change. A shared company is never overwritten: a value it lacked is filled in for everyone, a changed value is saved on this organization's own copy — so the returned id can differ from the one passed. Omitted fields are kept. Admins and managers only (403 for others); 409 if this organization already has a company on the new domain. For the context text use set_company_context. Returns the company as this organization now sees it.

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": {
      "id": "<id>"
    },
    "name": "update_company"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesCompany id to change (UUID from list_companies or get_company).
nameNoCompany name, 1-200 characters.
domainNoCompany domain, e.g. acme.com; normalized, and the key existing companies are matched on. Max 253.
websiteNoCompany website URL, max 2048 characters.
locationNoHeadquarters or main location as free text, e.g. "Berlin, Germany".
metadataNoFree-form JSON object kept alongside the company.
descriptionNoShort description of the company, max 2000 characters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations: it explains that only provided fields change, that a shared company is never overwritten but merged/forked per organization, and — critically — that the returned id can differ from the one passed. It also discloses the 403 and 409 failure modes and describes what the return value represents, none of which the annotations convey.

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 core action and then layered with the merge caveat, the sibling pointer, and the error codes; nearly every clause carries information. It is dense and em-dash heavy, but there is essentially no filler.

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 no output schema, the description covers the return value ('the company as this organization now sees it'), the id-instability surprise, auth requirements, and conflict handling. For a 7-parameter mutation with cascading semantics, 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.

Parameters4/5

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

Schema coverage is 100%, so per-field constraints are already documented and the baseline is 3. The description still adds real meaning the schema cannot: the update is a patch rather than a replace, omitted fields are preserved, and domain is the match key whose conflict yields a 409.

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 (update fields on a company) and immediately pins down the semantics that distinguish it: partial update, shared-company merge behavior. It also explicitly routes the context-text case to a named sibling, so an agent can tell it apart from set_company_context without opening either 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?

Names the alternative tool for context text explicitly and states the caller restriction (admins and managers only, 403 otherwise) plus the 409 domain-conflict condition. It does not spell out when to use update_company versus create_company or update_organization, but the required id and 'update fields' framing make the intended case clear.

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