Skip to main content
Glama

campaignstack_connect_hubspot

Idempotent

Connect a HubSpot portal by providing a Private App access token (pat-na1-… or pat-eu1-…). Validates the token against the HubSpot CRM API (read ping + write-scope probe) and stores the integration. The private app must have crm.objects.contacts.read and crm.objects.contacts.write scopes; crm.objects.companies.read/write and crm.schemas.contacts.write are optional (company association + source tag). Returns success: true when the token is valid. On failure, errorCode is one of invalid_format, invalid_token, missing_scopes (errorDetail names the scopes), rate_limited, validation, unreachable. Note on missing_scopes: HubSpot reports subscription-tier gating with the same error, naming a scope the portal can never be granted (the Leads object needs Sales Hub Professional/Enterprise). If a scope is ticked in the private app UI but still reported missing, the portal tier is the cause, not the scope set. The token is never echoed back. HubSpot is in beta: it works, but not every path has been verified against a live portal yet.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
apiKeyYes
workspaceIdNoWorkspace ID (required for user keys; workspace keys are bound)

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changed
    • changedInput schema / properties / workspaceId / description
      Previous value: -"Workspace ID (defaults to the bound workspace)"New value: +"Workspace ID (required for user keys; workspace keys are bound)"
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

The description far exceeds what annotations provide. It discloses validation behavior, integration storage, a complete errorCode taxonomy, the subtle subscription-tier gating gotcha that mimics missing_scopes, the promise that the token is never echoed back, and beta-status limitations. These behavioral traits are genuinely additive and help the agent reason about outcomes; there is no contradiction with the annotations.

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?

The description is long, but every sentence earns its place: purpose, validation behavior, prerequisites, success contract, error taxonomy, a subtle failure-mode explanation, security reassurance, and caveat. It is front-loaded with the core action before diving into edge cases, and there is no redundant filler.

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?

Despite having no output schema, the description covers the success return (success: true), all failure errorCodes, the trickiest failure nuance (tier gating masquerading as missing scopes), and beta-status expectations. For a connection tool with complex external failure modes, nothing critical an agent needs to invoke it correctly is missing.

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 50% schema coverage, the description compensates meaningfully: it documents the apiKey token format (pat-na1-…/pat-eu1-…) and ties parameter semantics to behavioral consequences (scope requirements, validation, error codes). The workspaceId parameter is already described in the schema, so the description need not repeat it.

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 states a specific verb (connect) plus resource (HubSpot portal) and the precise mechanism (Private App access token). It separates itself from sibling connection tools like campaignstack_connect_apollo and campaignstack_connect_instantly by binding the action to HubSpot and describing the validation workflow, not just restating the name.

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?

The description conveys clear usage context: it states the token format expected (pat-na1-… or pat-eu1-…), the mandatory scopes required, and what validation will occur (read ping + write-scope probe). It does not explicitly name alternatives or exclusion conditions, but the prerequisites effectively tell an agent whether it is in a position to call the tool successfully.

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.

TDQS

A3.7/5.0
Disambiguation3/5

The set is enormous and generally well-differentiated through detailed cross-referenced descriptions, but several clusters blur together: archive/delete/remove have inconsistent permanence semantics (delete_campaign vs remove_signal_watch vs archive_campaign), create_connection_watch_agent explicitly overlaps with set_account_watcher, and the parallel draft-checkup and playbook-proposal flows (run_draft_checkup/get_draft_checkup/accept_draft_checkup vs propose_playbook_change/get_playbook_proposal/decide_playbook_proposal) present near-identical decision pipelines.

Naming Consistency4/5

Nearly every tool follows the campaignstack_<verb>_<noun> convention with disciplined get/list pairing and consistent verb choices (create/update/delete/pause/resume). Minor deviations like campaignstack_priority_enrich (adverb+verb) and campaignstack_whoami break the strict verb_noun pattern but are isolated and do not hinder navigation.

Tool Count1/5

223 tools is an extreme surface for any MCP server. Even though each tool maps to a distinct API operation and the underlying platform is broad, the scale far exceeds the 50+ threshold for an extreme mismatch and will overwhelm agents with selection overhead.

Completeness5/5

The surface is exhaustive for the LinkedIn outreach domain: full campaign/workflow/lead-list lifecycles, ICP and persona management, content scheduling and approvals, inbox and messaging, enrichment and integrations, signal watches and exclusions, review queues, playbook versioning, workspace admin, billing, and notifications. Minor gaps like a missing delete_lead or delete_company are explained by shared-data semantics, so no critical dead ends remain.

Resources