Skip to main content
Glama

Update Company

update-company-tool
DestructiveIdempotent

Update an existing company in the CRM. Use the crm-schema resource to discover available custom attributes (custom fields).

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-tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe company ID to update.
nameNoThe company name.
custom_fieldsNoCustom attribute (custom field) values as key-value pairs. IMPORTANT: You MUST first read the crm-schema resource to discover valid field codes for this entity type. Unknown field codes will be rejected. Use exact field codes from the schema (e.g. "job_title", not "jobTitle").
account_owner_idNoWorkspace member ID responsible for this company. Pass null to clear it. Use whoami to discover valid IDs.

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / custom_fields / description
      Previous value: -"Custom field values as key-value pairs. IMPORTANT: You MUST first read the crm-schema resource to discover valid field codes for this entity type. Unknown field codes will be rejected. Use exact field codes from the schema (e.g. \"job_title\", not \"jobTitle\")."New value: +"Custom attribute (custom field) values as key-value pairs. IMPORTANT: You MUST first read the crm-schema resource to discover valid field codes for this entity type. Unknown field codes will be rejected. Use exact field codes from the schema (e.g. \"job_title\", not \"jobTitle\")."
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, idempotentHint=true, and openWorldHint=false, so the agent knows this is a destructive, repeatable mutation. The description adds the schema-lookup prerequisite for custom_fields, which is useful. What it omits is the crux for a tool flagged destructive: whether this is a partial merge or a full replace, and whether omitting a field clears it.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the action and followed by the one prerequisite an agent needs. Nothing is padding; every sentence carries information.

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?

An output schema exists and the input schema is fully documented, so the description does not need to restate parameters or return shapes. The remaining gap is update semantics under a destructive hint, which neither the description nor the schema resolves.

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 the schema already documents all four parameters in detail, including the null-to-clear behavior for account_owner_id and the exact-field-code warning for custom_fields. The description's only parameter-adjacent content duplicates the custom_fields guidance already in the schema, so it adds little beyond the baseline.

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 description states a specific verb and resource ('Update an existing company in the CRM'), which distinguishes it from create-company-tool, get-company-tool, and delete-company-tool by the verb alone. It does not explicitly name those siblings, but no agent would confuse it with them.

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?

It gives a concrete prerequisite for one field ('Use the crm-schema resource to discover available custom attributes'), which is genuinely actionable. However, it offers no guidance on when to choose this over siblings, no exclusions, and no note on whether omitted fields are preserved or cleared.

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.