Skip to main content
Glama

customers_save_deal

Add a deal (name, and any of the rest), or change one (deal: its id; only the fields given). person and company are ids from customers_find_people and customers_find_companies (the person's company unless given). amount: its value in whole units of its currency (2400 or 2400.50); currency: a three-letter code, the last one used unless given. stage: by name (New, Talking, Quote sent, Won, Lost, or the company's own); moving a deal is changing its stage. owner: whose deal it is, a teammate's email address (the user unless given). No tool deletes a deal. reason: why you're making this change, in one sentence the person reads (at most 1000 characters). sources: references {title, href} in Home, never content; shown only to the person you act for.

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

Input Schema

NameRequiredDescriptionDefault
dealNo
nameNo
modelNo
notesNo
ownerNo
stageNo
amountNo
authorYes
personNo
reasonNo
companyNo
sourcesNo
currencyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=false and destructiveHint=false, so the description's job is to add mutation semantics — and it does: updates are partial ('only the fields given'), there is no deletion path anywhere, and sources are 'shown only to the person you act for', which is a real visibility constraint not expressible in annotations. Permissions, error behavior, and return content are still undisclosed.

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?

Purpose is front-loaded and nearly every clause carries operational meaning, including useful edge details like the 1000-character reason cap and the 'moving a deal is changing its stage' rule. It is dense and occasionally hard to scan because sentences wrap mid-clause across lines, but there is little filler to cut.

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 13-parameter mutation tool with no output schema and no schema descriptions, the definition covers the large majority of what an agent needs to call it correctly, plus the no-delete guarantee. Remaining holes are the required 'author' field, the 'model' and 'notes' parameters, and any hint of what the call returns.

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 description coverage is 0% across 13 parameters, so the description carries the full burden, and it explains most of them: deal as id, person/company as ids with a defaulting rule, amount in whole currency units with examples, currency as a three-letter code defaulting to the last used, stage by name with an enumerated list, owner as a teammate email defaulting to the user, reason length limit, and sources shape. The required 'author' parameter and 'model'/'notes' are never mentioned, leaving visible gaps.

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 precise verb+resource split: 'Add a deal (name, and any of the rest), or change one (deal: its id; only the fields given)', which tells an agent both what the tool does and how create vs. update is selected. It also names the sibling tools that produce the person and company ids, so it is separable from the find/save tools 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 Guidelines4/5

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

Gives clear conditions: supply no deal id to add, supply a deal id to change only the given fields, and use customers_find_people / customers_find_companies to resolve person and company ids. It also states 'No tool deletes a deal', closing off a plausible but wrong usage. It stops short of explicit exclusions versus customers_save_person or customers_save_company, so it is strong but not complete routing guidance.

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.