Skip to main content
Glama
HubSpot MCP Server

HubSpot MCP Server

by eribichesu

get_company

Fetch a HubSpot company by ID and return selected properties, enabling assistants to look up account details for CRM tasks.

Instructions

Get a specific company by ID from HubSpot

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": {
      "companyId": "<companyId>"
    },
    "name": "get_company"
  }
}

Input Schema

NameRequiredDescriptionDefault
companyIdYesThe ID of the company to retrieve
propertiesNoList of company properties to retrieve

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations at all, the description carries the full behavioral burden and says nothing about error handling (e.g., unknown companyId), required auth scopes, or whether missing properties are silently omitted. For a read tool this is low-risk, but an agent still has no signal on failure behavior or the shape of the result.

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?

A single eight-word sentence with zero filler, and the key discriminator ('by ID') is front-loaded. It is efficient but borders on terse, leaving room for one short clause about behavior without becoming bloated.

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?

For a simple two-parameter read with full schema coverage and no output schema, the definition is minimally sufficient to invoke correctly. However, it omits not-found behavior and ignores the properties parameter's practical effect, which are the only remaining gaps for a tool this simple.

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 companyId and the properties array (including its default field list) are already fully documented in structured data. The description adds nothing about the 'properties' parameter, such as that omitting it yields only the default five fields, so it sits at 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 gives a specific verb and resource ('Get a specific company') plus the retrieval key ('by ID') and the platform ('HubSpot'), so an agent can tell it apart from list-style siblings like get_companies or search_contacts without opening the schema. It stops just short of naming those alternatives explicitly.

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?

'by ID' implies this is the single-record lookup path versus a listing tool, which is the only usage signal present. There is no explicit when-to-use/when-not guidance, no mention of what to do when you only have a name or domain, and no routing to get_companies or search tools.

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