Skip to main content
Glama

Octolane

create_deal

Destructive

Create a new deal in the CRM and assign it to a pipeline stage. Requires a pipeline_id (use list_pipelines to find it), plus at least ONE of account_domain, name, or primary_contact_email. Prefer account_domain or primary_contact_email: a freeform name alone gives the deal nothing findable to attach to, and some callers refuse it outright. The associated account is auto-created and linked by its domain as part of this call (an existing account is reused, never duplicated) - do NOT create the account in a separate step first. If only a PERSON's name is known (e.g. a call attendee, not a company), call search_contacts first and pass their resolved email as primary_contact_email - the account domain is derived from it automatically. Any primary_contact_email/additional_contact_emails must come from a real source (a tool/search result, attachment, email thread, or the user); never guess a name@company address. Use when asked to add a deal, create an opportunity, log a new prospect, or start tracking a sale. For multiple deals at once, prefer bulk_create_deals (creates accounts and contacts inline).

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": {
      "pipeline_id": "<pipeline_id>"
    },
    "name": "create_deal"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoDeal name. If omitted, auto-generated from account/contact.
stage_idNoStage UUID within the pipeline. Defaults to first stage.
deal_sizeNoDeal value in dollars
close_dateNoExpected close date as ISO 8601 string
next_stepsNoDescription of next steps for this deal
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.
owner_emailNoEmail of the deal owner (org member). Defaults to current user.
pipeline_idYesPipeline UUID from list_pipelines
account_domainNoDomain of the associated company (must exist in CRM)
next_action_dateNoNext follow-up date as ISO 8601 string
primary_contact_emailNoEmail of the primary contact (must exist in CRM)
additional_contact_emailsNoEmails of additional contacts (must exist in CRM)

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true, openWorldHint=true and idempotentHint=false, but the description adds real behavior the annotations cannot convey: the account is auto-created and linked by domain, existing accounts are reused rather than duplicated, and emails must come from a verified source rather than being guessed. What it omits is the consequence of idempotentHint=false (a repeated call creates a second deal) and any statement of what the call hands back, which matters because there is no output schema.

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 paragraph is front-loaded with the core action and constraints, then moves into edge-case guidance, and every sentence carries actionable information. It is denser than strictly necessary - the identity-safety guidance could be tightened - but there is no filler or repetition.

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 12-parameter destructive mutation with no output schema, the description covers prerequisites, identity sourcing, account side effects, and the bulk alternative, which is most of what an agent needs. The remaining gaps are the return value and the duplicate-deal risk implied by idempotentHint=false.

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, but the description contributes a constraint the schema does not express: beyond the required pipeline_id, at least one of account_domain, name, or primary_contact_email must be supplied, with a stated preference for domain/email because a bare name gives nothing findable to attach to. It also explains that the account domain is derived from primary_contact_email. It says nothing extra about stage_id, deal_size, owner_email, or additional_contact_emails, leaving those to the schema.

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?

The opening sentence names a specific verb and resource ('Create a new deal in the CRM') plus the additional effect of assigning a pipeline stage. It also separates itself from siblings by telling the caller not to use create_account first and to use bulk_create_deals for multiple deals, so an agent can route correctly without opening another 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?

It spells out the trigger intents ('add a deal, create an opportunity, log a new prospect, or start tracking a sale'), the prerequisite tool (list_pipelines for pipeline_id), the resolution workflow for people vs companies (search_contacts then pass the resolved email), and the explicit alternative (bulk_create_deals for multiple deals). This is a full when/when-not/with-what map.

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