Skip to main content
Glama

set_crm_owner_mapping

Destructive

Map CRM owners to FuseAI users, replacing each listed owner's current mapping. The mapping is saved in FuseAI and decides whose CRM records each user sees in FuseAI (for example "My HubSpot Contacts") and which CRM owner FuseAI sets on contacts it later pushes to the connected CRM, including the scheduled auto-push when it is on. Pass mappings as an array of { crmOwnerId, mappedUserId }: crmOwnerId is the _id of an owner row from list_crm_owners (not the CRM's own user id); mappedUserId is the FuseAI user id (null to unmap). Needs crmIdentifier + crmAccountId.

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": {
      "mappings": "<mappings>",
      "crmIdentifier": "<crmIdentifier>",
      "crmAccountId": "<crmAccountId>"
    },
    "name": "set_crm_owner_mapping"
  }
}

Input Schema

NameRequiredDescriptionDefault
mappingsYes
crmAccountIdYes
crmIdentifierYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Despite annotations already marking this as destructive and open-world, the description adds substantial behavioral detail beyond them: it explains that existing mappings are replaced, that saved mappings control which CRM records each FuseAI user sees, and that they determine the owner FuseAI later pushes to the connected CRM, including scheduled auto-push.

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?

The description is dense but front-loaded: purpose and replacement semantics come first, then downstream effects, then parameter requirements. Every sentence supplies information an agent needs in order to invoke the tool correctly.

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?

For a destructive mapping tool with no output schema, the description covers the essential context: what is replaced, required identifiers, how to obtain the owner id, null unmapping semantics, and the downstream visibility and push consequences. Nothing material is missing for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

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

Schema description coverage is 0%, so the description carries the full parameter explanation burden. It defines crmOwnerId as the owner-row _id from list_crm_owners rather than the CRM's native user id, explains mappedUserId as a FuseAI user id with null meaning unmap, and clarifies that crmIdentifier and crmAccountId are required.

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 description uses a specific verb and resource ('Map CRM owners to FuseAI users') and clearly states the replacement behavior for each listed owner's current mapping. It distinguishes the operation from read-only owner listing by explaining that this persists a mapping and affects downstream CRM visibility and push behavior.

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?

It gives clear usage context: callers must supply mappings plus crmIdentifier and crmAccountId, and crmOwnerId must come from list_crm_owners. It does not explicitly say when not to use this tool or name a competing mapping-related sibling beyond list_crm_owners as a data source, so it falls short of full alternative routing.

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.