Skip to main content
Glama

HubSpot MCP Server

by ajaystream

hubspot-list-objects

Retrieve a paginated list of HubSpot objects by type to explore data structure, properties, and metadata. Use for initial data discovery when search criteria or filters are unclear.

Instructions

🎯 Purpose: 1. Retrieves a paginated list of objects of a specified type from HubSpot. 📦 Returns: 1. Collection of objects with their properties and metadata, plus pagination information. 🧭 Usage Guidance: 1. Use for initial data exploration to understand the data structure of a HubSpot object type. 2. Helps list objects when the search criteria or filter criteria is not clear. 3. Use hubspot-search-objects for targeted queries when the data structure is known. 4. Use hubspot-batch-read-objects to retrieve specific objects by their IDs. 5. Use hubspot-list-associations to list associations between objects.

Input Schema

NameRequiredDescriptionDefault
afterNoThe paging cursor token of the last successfully read resource.
archivedNoWhether to return only results that have been archived.
associationsNoA list of object types to retrieve associated IDs for (e.g., appointments, companies, contacts, courses, deals, leads, line_items, listings, marketing_events, meetings, orders, postal_mail, products, quotes, services, subscriptions, tickets, users).
limitNoThe maximum number of results to display per page (max: 500).
objectTypeYesThe type of HubSpot object to list. 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.
propertiesNoA list of the properties to be returned in the response.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "after": { "description": "The paging cursor token of the last successfully read resource.", "type": "string" }, "archived": { "default": false, "description": "Whether to return only results that have been archived.", "type": "boolean" }, "associations": { "description": "A list of object types to retrieve associated IDs for (e.g., appointments, companies, contacts, courses, deals, leads, line_items, listings, marketing_events, meetings, orders, postal_mail, products, quotes, services, subscriptions, tickets, users).", "items": { "type": "string" }, "type": "array" }, "limit": { "default": 100, "description": "The maximum number of results to display per page (max: 500).", "maximum": 500, "minimum": 1, "type": "integer" }, "objectType": { "description": "The type of HubSpot object to list. 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": "A list of the properties to be returned in the response.", "items": { "type": "string" }, "type": "array" } }, "required": [ "objectType" ], "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