Skip to main content
Glama

Octolane

bulk_update_deals

DestructiveIdempotent

Update fields on existing deals/opportunities in one DB-backed call (max 25, applied synchronously with no preview). Use this for deal updates, including one known deal. records is keyed by opportunity UUID (opportunity_id), where each value is a field patch keyed by property_name. Before calling, resolve deal IDs with search_deals and discover valid fields with get_deal_fields for the relevant pipeline. For opportunity_close_date, send the calendar date as YYYY-MM-DD (no time or timezone). Custom deal fields are pipeline-scoped; do NOT guess property names. Relationship fields take UUIDs: opportunity_account uses company_id, opportunity_contact uses people_id, and opportunity_other_stakeholders uses an array of people_id values. For more than 25 records, split the set into batches of at most 25 and call this tool once per batch - the MCP server has no async bulk-update job.

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": {
      "records": "<records>"
    },
    "name": "bulk_update_deals"
  }
}

Input Schema

NameRequiredDescriptionDefault
recordsYesObject keyed by opportunity/deal UUID (`opportunity_id`). Each value is a field patch keyed by property_name.
session_idNoThe ID of the task this call belongs to. Leave it out on your first call. On every later call for the same task, send the ID an earlier result gave you, and pass it to any subagent working on that task.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety bar is partly met, but the description adds substantive behavior: the 25-record cap, synchronous application, the absence of any preview, and the fact that no async bulk-update job exists. It also discloses pipeline-scoped custom fields and the exact UUID shape of relationship fields, which the agent cannot infer from annotations.

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?

The core operation, limit, and sync/no-preview behavior are front-loaded, and every subsequent sentence carries a concrete rule (date format, relationship UUIDs, batching). It is dense but justified; a small amount of repetition about batching and the lack of an async job could be tightened.

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

Completeness4/5

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

For a destructive, nested-object mutation this covers the input side thoroughly, including limits, field discovery, and value typing. The notable gap is the response: with no output schema, the description never says what a call returns (e.g., per-record success/failure or partial-apply behavior), which matters for an agent batching many records.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds real meaning beyond it: `records` is keyed by opportunity UUID with values that are field patches keyed by property_name, close dates must be YYYY-MM-DD, and specific relationship properties map to specific ID types (opportunity_account→company_id, opportunity_contact→people_id, opportunity_other_stakeholders→array of people_id). It does not explain the session_id parameter's semantics beyond what the schema already states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource ("Update fields on existing deals/opportunities in one DB-backed call"), states the scope limit (max 25, synchronous, no preview), and implicitly separates itself from siblings like bulk_delete_deals and update_deal_stage by naming the exact operation. An agent can identify the tool's function without opening the schema.

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

Usage Guidelines5/5

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

Explicitly says to use this for deal updates "including one known deal," names prerequisites (resolve IDs with search_deals, discover fields with get_deal_fields for the relevant pipeline), warns not to guess custom property names, and gives a concrete batching rule for more than 25 records. Both when-to-use and how-to-prepare are covered.

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.

Resources