Skip to main content
Glama
AskBase

AskBase

Official

create_deal

Creates a CRM deal from confirmed details, defaults to the first pipeline stage, and requires an ISO currency when an amount is set.

Instructions

Create a deal. Changes the CRM: confirm the details with the user first. Amounts need an ISO currency. Defaults to the default pipeline's first stage.

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

Input Schema

NameRequiredDescriptionDefault
nameYesShort deal name, e.g. '20 seats for Acme'
stageNoStage name or ID
amountNoDeal value
currencyNoISO currency, e.g. USD (required with an amount)
company_idNoCompany (defaults to the contact's)
contact_idNoMain contact
pipeline_idNoPipeline (default pipeline if omitted)
expected_close_dateNoYYYY-MM-DD

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations present, the description carries the full burden. It discloses the key trait that this mutates the CRM and should be user-confirmed, plus defaulting behavior. It does not cover permissions/auth requirements, duplicate handling, or what happens if the referenced pipeline/stage is invalid.

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?

Four short sentences, mutation warning and the confirm-first instruction front-loaded, constraints after. No filler sentences and nothing repeated needlessly.

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 an 8-parameter mutation tool with an output schema (so return values need no explanation) and full schema coverage, the description supplies the essential safety guidance and defaulting rules. Missing only edge-case behavior such as invalid stage or duplicate detection.

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 adds a genuine cross-field constraint ('Amounts need an ISO currency') and a default not fully spelled out in the schema ('Defaults to the default pipeline's first stage'). That is real meaning beyond the field-by-field descriptions.

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?

States a specific verb and resource: 'Create a deal.' An agent immediately knows the outcome. It does not distinguish this from siblings like list_deals, get_deal, move_deal, or decide_deal_suggestion, but the create semantics are unambiguous on their own.

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?

Implies usage through 'Changes the CRM: confirm the details with the user first,' which is a useful pre-call guideline. It never says when to create a deal versus moving an existing one via move_deal, or when a deal should be created from a suggestion instead — no explicit alternatives are named.

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