Skip to main content
Glama

HubSpot deals

list_hubspot_deals
Read-onlyIdempotent

HubSpot deals: name, stage, pipeline, amount, close date. Read live from the organization's connected HubSpot. Read-only: it never changes anything in HubSpot. Rows come back normalized, with a url to open the record in HubSpot when there is one. Pass next_cursor back as cursor for the next page. When HubSpot is not connected the call fails with NOT_CONNECTED (or RECONNECT_REQUIRED when the saved connection needs renewing); an admin connects it in the web app, which get_soundcheck_link target org_integrations opens. Org admins and owners only. organization_id defaults to your active organization.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_hubspot_deals"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNofree-text search across the default searchable properties
limitNorows per page; 25 when omitted
sinceNoonly records modified on or after this day, counted in UTC
stageNoexact HubSpot deal stage id, such as closedwon
cursorNonext_cursor from the previous page
organization_idNoorganization to act in, an id from get_me; omit to use your active organization

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNotool payload (API/composite/confirmation object); object, array, or primitive JSON
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true, destructiveHint=false, yet the description still adds substantial behavior: rows are normalized, a url to open the record in HubSpot is included when available, paging via next_cursor, and specific failure modes (NOT_CONNECTED, RECONNECT_REQUIRED) with the remedy link. The permission boundary (org admins and owners only) is also disclosed, which annotations cannot express.

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?

Content is front-loaded with the resource and its fields, followed by read-only and paging behavior, then error handling. A couple of sentences duplicate schema facts (cursor echo, organization_id default), which is minor waste but keeps the definition longer than strictly necessary.

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?

For an open-world read tool with an output schema, the description covers what an agent needs before and after the call: safety profile, pagination contract, authentication/permission requirements, default organization behavior, and the exact error codes with their remedy. Nothing material is missing.

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 every parameter including q, limit, since, stage, cursor, and organization_id is already documented in the schema. The description restates the next_cursor-to-cursor mapping and the organization_id default without adding format, syntax, or prioritization guidance beyond the schema, 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 names the resource (HubSpot deals) and enumerates the fields returned (name, stage, pipeline, amount, close date), and clarifies the data is read live from the connected HubSpot. The resource noun itself separates it from list_hubspot_companies and list_hubspot_contacts, but the description does not explicitly contrast with those siblings or state the verb 'list' up front.

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?

Usage context is implied rather than stated: it is implicitly a browsing/lookup tool for deals, and the description supplies prerequisites (HubSpot must be connected, caller must be an org admin/owner) plus pagination guidance. There is no explicit when-to-use or when-not-to-use statement, and no pointer to a sibling for a different slice of HubSpot data.

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.