Skip to main content
Glama

Save a company

crm_save_company
Idempotent

Create a company, or update the one with this name (case-insensitive). With company_id, update that company instead, and a name renames it. Only the fields you send change; tags are added, custom fields merged. Costs $0.01 per call; nothing if it fails.

Input Schema

NameRequiredDescriptionDefault
nameNoRequired unless company_id is given; with it, the company's new name.
tagsNoTags to add, e.g. ["vip"]; a new tag is made on first use. crm_tag_records removes tags.
notesNo
domainNo
websiteNo
industryNo
company_idNo
custom_fieldsNoCustom fields as {"key": value}, merged into the existing ones; null clears one. Keys defined with crm_define_field are checked against their type.
employee_countNo
lifecycle_stageNo

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 past the annotations: discloses per-call cost ($0.01), that failures are free, case-insensitive name matching, additive tag behavior, and merge/null-clear semantics for custom fields. These are exactly the traits (billing, merge-vs-replace) annotations cannot convey and that drive correct invocation.

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?

Three short sentences, front-loaded with the create-or-update decision, then the id override, then mutation/billing semantics. No filler; every clause adds a decision-relevant fact.

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?

Covers matching, partial updates, merge behavior and cost for a 10-param nested-object tool with no output schema. The one gap is what comes back (the created/updated company id and whether an insert or update occurred), which matters for chaining calls since no output schema documents it.

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?

With only 30% schema coverage across 10 params, the description carries real weight: it defines name's dual role (required-to-create vs new-name-on-update), company_id's overriding behavior, and the merge semantics of tags and custom_fields. The remaining six params (notes, domain, website, industry, employee_count, lifecycle_stage) are left to their types/enum, which are self-explanatory but undocumented.

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?

A specific verb and resource with the upsert contract spelled out: create, or update the case-insensitive name match, or update/rename by company_id. An agent can tell exactly what record is touched without opening the 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?

Gives clear selection rules between the name path and the company_id path, plus the partial-update rule ('only the fields you send change'), which is the key usage context. It does not name alternatives such as crm_save_companies (bulk) or crm_merge_companies, leaving that routing 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