Skip to main content
Glama

HubSpot MCP Server

by ajaystream

hubspot-batch-read-objects

Retrieve multiple HubSpot objects of the same type by their IDs in a single batch operation. Use this tool when object IDs are known to efficiently access data with optional property and history filters.

Instructions

🎯 Purpose: 1. Retrieves multiple HubSpot objects of the same object type by their IDs in a single batch operation. 🧭 Usage Guidance: 1. Use this tool to retrieve objects when the object IDs are known.

Input Schema

NameRequiredDescriptionDefault
inputsYesArray of object IDs to read (maximum 100 per batch)
objectTypeYesThe type of HubSpot object to read. Valid values include: appointments, companies, contacts, courses, deals, leads, line_items, listings, marketing_events, meetings, orders, postal_mail, products, quotes, services, subscriptions, tickets, users. For custom objects, use the hubspot-get-schemas tool to get the objectType.
propertiesNoOptional list of property names to include in the results
propertiesWithHistoryNoOptional list of property names to include with history

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "inputs": { "description": "Array of object IDs to read (maximum 100 per batch)", "items": { "additionalProperties": false, "properties": { "id": { "description": "ID of the object to read", "type": "string" } }, "required": [ "id" ], "type": "object" }, "maxItems": 100, "minItems": 1, "type": "array" }, "objectType": { "description": "The type of HubSpot object to read. Valid values include: appointments, companies, contacts, courses, deals, leads, line_items, listings, marketing_events, meetings, orders, postal_mail, products, quotes, services, subscriptions, tickets, users. For custom objects, use the hubspot-get-schemas tool to get the objectType.", "type": "string" }, "properties": { "description": "Optional list of property names to include in the results", "items": { "type": "string" }, "type": "array" }, "propertiesWithHistory": { "description": "Optional list of property names to include with history", "items": { "type": "string" }, "type": "array" } }, "required": [ "objectType", "inputs" ], "type": "object" }

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/ajaystream/hubspot-mcp-custom'

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