Skip to main content
Glama
HubSpot MCP Server

HubSpot MCP Server

by eribichesu

update_deal

Update an existing HubSpot deal by ID, modifying fields such as amount, name, stage, pipeline, close date, and custom properties to keep sales records accurate.

Instructions

Update an existing deal in 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": {
      "dealId": "<dealId>"
    },
    "name": "update_deal"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountNoDeal amount/value
dealIdYesThe ID of the deal to update
dealnameNoDeal name/title
dealtypeNoType of deal
pipelineNoDeal pipeline ID
closedateNoExpected close date (YYYY-MM-DD format)
dealstageNoDeal stage
additionalPropertiesNoAdditional custom properties for the deal

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the full behavioral burden. It says the tool updates an existing deal but does not disclose partial-update semantics, permission requirements, treatment of unspecified fields, or what the call returns; for a mutation tool this is a significant gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is a single front-loaded sentence with no filler or redundancy. It is concise, though its terseness contributes to gaps assessed elsewhere.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has eight parameters, a nested custom-properties object, no annotations, and no output schema, yet the description only states the basic action. It does not explain update semantics or expected response, leaving an agent without important context for correct invocation.

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 the schema already documents all eight parameters including the nested additionalProperties object. The description adds no parameter-level meaning beyond the schema, making the baseline 3 appropriate.

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 a specific verb ('Update') and resource ('deal') and specifies scope ('existing'), so an agent knows it mutates a deal. It does not differentiate this tool from siblings such as create_deal or update_contact, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use guidance, no prerequisites, and no named alternative. The word 'existing' only weakly implies it is not for creating a deal; the agent must infer the rest.

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