Skip to main content
Glama
nubiia-dev

@iamsamuelfraga/mcp-hubspot

by nubiia-dev

hubspot_associations_create

Link two HubSpot CRM objects (e.g., call to contact, meeting to deal) using labeled associations. Supports predefined and custom association types.

Instructions

Create or update an association between two HubSpot CRM objects using the v4 API. Use this to link a call/meeting/note/task/email to a contact, company, deal, or ticket, or to link any two objects with a labeled relationship.

Default HUBSPOT_DEFINED typeIds (verify via hubspot_associations_labels_list): Call: Contact 194 | Company 182 | Deal 206 | Ticket 220 Email: Contact 198 | Company 186 | Deal 210 | Ticket 224 Meeting: Contact 200 | Company 188 | Deal 212 | Ticket 226 Note: Contact 202 | Company 190 | Deal 214 | Ticket 228 Task: Contact 204 | Company 192 | Deal 216 | Ticket 230

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toIdYesHubSpot ID of the target record
fromIdYesHubSpot ID of the source record
toTypeYesObject type of the target record (e.g., "contacts", "companies", "deals", "tickets")
fromTypeYesObject type of the source record (e.g., "contacts", "deals", "calls", "meetings")
associationTypesYesOne or more association type specifiers. Use hubspot_associations_labels_list to discover available types for your portal.
Behavior2/5

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

No annotations are provided, so the description carries full burden of behavioral disclosure. It states 'Create or update' suggesting idempotency, but does not confirm if update means overwriting existing associations or adding new ones. It also does not mention permissions (e.g., required scopes), error handling (e.g., what happens on conflict), or rate limiting. These gaps reduce transparency.

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

Conciseness3/5

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

The description is front-loaded with purpose, then provides a helpful reference table for default typeIds. However, the table is somewhat lengthy and could be streamlined or moved to a usage note. The description is concise enough but not optimally structured; it mixes general usage with specific examples.

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?

Given the tool has 5 required parameters, no output schema, and sibling tools, the description covers key usage examples but lacks return value explanation (e.g., the created association ID or confirmation). It also does not mention that associations can be one-to-many or that the 'associationCategory' field limits the category. For a creation tool, information about the response (e.g., status, association URI) is important for the agent to know what to expect.

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?

Input schema has 100% coverage with descriptions for each parameter, so baseline is 3. The description adds limited value beyond schema: it provides a table of default HUBSPOT_DEFINED typeIds for common object pairings, which aids quick use but not essential. No parameters are explained in more depth than the schema.

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 clearly states the tool creates or updates an association between two HubSpot CRM objects using the v4 API, and lists example link combinations (call to contact, etc.). It is specific about the resource and action. However, it does not explicitly differentiate from sibling tools like hubspot_associations_batch_create, though the singular 'create' implies single pair. Purpose is clear but could be stronger by contrasting with batch operation.

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool versus alternatives (e.g., batch_create for multiple associations, archive to remove). The description implies direct use for single associations but does not state prerequisites, when not to use (e.g., if object types are invalid), or that associationTypes must be discovered via labels_list. Usage context is implied but not systematically addressed.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nubiia-dev/mcp-hubspot'

If you have feedback or need assistance with the MCP directory API, please join our Discord server