Skip to main content
Glama

Octolane

bulk_delete_deals

DestructiveIdempotent

Delete one or more deals/opportunities from the CRM by ID or exact name, in a single call. This is a soft delete; deals are removed from the pipeline and search results but can be restored with restore_deal. Accepts opportunity_ids and/or names (500 total selectors max). Name matching is exact after trimming/case folding and can delete multiple active matching deals. Use search_deals first for fuzzy names. This is destructive - confirm with the user before calling.

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": "bulk_delete_deals"
  }
}

Input Schema

NameRequiredDescriptionDefault
namesNoExact deal/opportunity names to delete. Exact match after trimming/case folding; may delete multiple matching active deals.
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.
opportunity_idsNoDeal/opportunity IDs to delete.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond the annotations (which already declare destructiveHint=true and idempotentHint=true) by disclosing that this is a *soft* delete, that deals vanish from pipeline and search results but remain restorable, and that name matching can hit multiple active deals. The only shortfall is no detail on partial-failure behavior when some selectors match nothing.

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?

Front-loads the action and scope, then layers matching rules, the soft-delete caveat, and the confirmation requirement. Every sentence carries actionable information; none repeat the structured fields verbatim.

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 3-parameter destructive batch tool with no output schema, the description covers matching semantics, batching limits, reversibility, and the confirmation gate. What is missing is only the outcome reporting (e.g., counts of deleted vs. unmatched selectors).

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 the baseline is 3, and the description earns above that by explaining the 'and/or' combination of opportunity_ids and names and by tightening the cap to 500 *total* selectors (the schema's maxItems applies per array). Case-folding/trimming semantics are repeated from the schema, limiting further credit.

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?

States a specific verb (Delete), resource (deals/opportunities), the addressing modes (by ID or exact name), and the batch scope (one or more, single call). It implicitly separates itself from restore_deal and search_deals, so an agent can distinguish it from siblings without opening any 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 routes the agent: use search_deals first when names are fuzzy, restore_deal is the recovery path, and confirm with the user before calling because it is destructive. Both the when-to-use and a hard prerequisite are stated.

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