Skip to main content
Glama

Create company

create_company

Create a company record, or return the existing one for that domain. A new employer is shared with every organization; details that differ from an existing shared record are kept on this organization's own copy. Calling it again with the same domain returns the same company rather than a duplicate. Any member may call it. Prefer create_job, which resolves the company from its website; to change an existing company use update_company. Returns the company with its id.

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>",
      "domain": "<domain>"
    },
    "name": "create_company"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesCompany name, 1-200 characters.
domainYesCompany 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.3/5.0
Behavior4/5

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

Beyond the annotations it discloses the real side effects: a new employer is shared with every organization, divergent details live on this organization's own copy, and repeat calls with the same domain dedupe instead of duplicating. It also states the permission model ('Any member may call it') and the return shape. The only gap is a mild tension with idempotentHint=false, since the dedupe sentence reads as idempotent on the domain key while differing details still write org-scoped state — clarifying that distinction would earn a 5.

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?

Five short sentences, front-loaded with the create-or-return contract before routing advice, and each sentence carries distinct information. It is dense rather than padded, though the sharing/org-copy sentence is compact enough that it could be split for readability.

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?

With no output schema, the description correctly closes the loop with 'Returns the company with its id', and it covers the non-obvious shared-vs-org-copy semantics of a nested-metadata, 6-parameter mutation tool. What remains unstated is failure behavior (invalid domain, conflicting shared record) and whether metadata is merged or replaced on a repeat call.

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%, so every parameter (name, domain, website, location, metadata, description) is already documented in the schema, and the baseline of 3 applies. The description reinforces that domain is the matching key but adds no format, normalization, or merge semantics beyond what the schema already states.

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 opening sentence gives a specific verb and resource plus the upsert behavior ('Create a company record, or return the existing one for that domain'), which an agent cannot infer from the name alone. It also names the two siblings it must not be confused with (create_job, update_company), so the tool is distinguishable 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 Guidelines5/5

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

Explicit routing is provided: 'Prefer create_job, which resolves the company from its website' and 'to change an existing company use update_company'. That is both a when-to-use-this and a when-to-use-something-else rule, with the reason (website resolution) attached, leaving nothing to 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.

Resources