Skip to main content
Glama
dealdesk-mcp

dealdesk-mcp

dealdesk.create_company

Destructive

Creates a company in the DealDesk customer directory using a legal name or name alias. Optionally set an external ID, tax ID, email domains, and project, or let the external ID auto-generate.

Instructions

Create a company in the customer directory. Send legalName or name at the top level (name maps to legalName). externalId is optional and auto-generated as local-company- when omitted — do not require fields.externalId.

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": "dealdesk.create_company"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoAlias for legalName when legalName is omitted (mapped server-side)
taxIdNo
fieldsNoOptional extras (customFields, addresses, …). Prefer top-level legalName/name; fields.legalName/fields.name are also accepted.
localeNo
legalNameNoLegal company name (required unless name is provided)
projectIdNoDealDesk project id. Omit when the OAuth token or API key authorizes exactly one project. Required when Connect authorized several projects.
externalIdNoImmutable business key. Omit to auto-generate local-company-<uuid> (UI default). Not required.
displayNameNoDisplay name (defaults to legalName)
emailDomainsNo
registrationIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.1
    • changedInput schema / properties / projectId / description
      Previous value: -"DealDesk project id (must match API key / OAuth project)"New value: +"DealDesk project id. Omit when the OAuth token or API key authorizes exactly one project. Required when Connect authorized several projects."
    • changedInput schema / required
      Previous value: -[
      -  "projectId"
      -]New value: +[]
  2. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and openWorldHint=true, so the safety profile is known. The description adds genuinely useful behavioral context about externalId auto-generation and that fields.externalId should not be treated as required, but it says nothing about what happens on a taxId or externalId collision, whether creation is idempotent, or what permissions are needed for a mutation flagged destructive.

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?

Two sentences, front-loaded with the action and then the field-precedence rules. The second sentence is dense but every clause (alias mapping, auto-generation, do-not-require note) carries real calling information, so there is little waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a ten-parameter create tool with a nested fields object, no output schema, and a destructive annotation, the definition covers the two parameters most likely to be called incorrectly but omits return shape, conflict behavior, and the meaning of several scalar fields. It is adequate to attempt a call, not complete enough to predict its outcome.

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 60%, so the baseline sits at 3. The description's guidance largely restates what the schema descriptions already state for name ('Alias for legalName') and externalId ('Omit to auto-generate local-company-<uuid>'), though it does add a precedence hint that fields.legalName/fields.name are also accepted. It leaves taxId, registrationId, emailDomains, locale, and displayName unaddressed.

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 sentence gives a specific verb and resource ('Create a company in the customer directory'), which cleanly separates it from sibling reads like get_company and list_companies and from patch_company. It stops short of naming the update path explicitly, so the create-vs-modify distinction is inferred from the verb rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage guidance is present but scoped to parameters rather than to tool selection: it tells the caller to omit projectId when a single project is authorized and to omit externalId to auto-generate. There is no statement of when to reach for this tool instead of patch_company or create_contact, and no note on duplicate handling or prerequisites, so selection guidance remains implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools