Skip to main content
Glama

Manage deals

deals_manage
Destructive

Change deals. create (title and stageId from deal_stages_list), update (stageId moves it; omitted fields unchanged), delete (soft; confirm first), restore (ids from deals_list deleted).

Input Schema

NameRequiredDescriptionDefault
idNoRequired for: update, delete.
idsNorestore: deleted ids.
notesNoUsed by: create, update.
titleNoRequired for: create; optional for: update.
actionYes
closeAtNoUsed by: create, update. Expected close date, YYYY-MM-DD or ISO 8601.
stageIdNoRequired for: create; optional for: update.
companyIdNoUsed by: create, update.
contactIdNoUsed by: create, update.
deletedAtNorestore: a deleted_at (undoes that whole delete).
lostReasonNo
valueCentsNoUsed by: create, update. In the account's default currency (deals have no currency of their own).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / deletedAt / description
      Previous value: -"restore: a deleted_at from the deleted list (undoes that whole delete)."New value: +"restore: a deleted_at (undoes that whole delete)."
  2. Changed3 schema fields changed
    • changedInput schema / properties / deletedAt / description
      Previous value: -"restore: undo one delete, everything it removed (its deleted_at from the deleted list)."New value: +"restore: a deleted_at from the deleted list (undoes that whole delete)."
    • changedInput schema / properties / ids / description
      Previous value: -"restore: the deleted records to bring back."New value: +"restore: deleted ids."
    • addedInput schema / properties / lostReason
      Added value: +{
      +  "type": "string"
      +}
  3. Changed8 schema fields changed
    • changedInput schema / properties / closeAt / description
      Previous value: -"Expected close date, YYYY-MM-DD or ISO 8601."New value: +"Used by: create, update. Expected close date, YYYY-MM-DD or ISO 8601."
    • addedInput schema / properties / companyId / description
      Added value: +"Used by: create, update."
    • addedInput schema / properties / contactId / description
      Added value: +"Used by: create, update."
    • addedInput schema / properties / id / description
      Added value: +"Required for: update, delete."
    • addedInput schema / properties / notes / description
      Added value: +"Used by: create, update."
    • addedInput schema / properties / stageId / description
      Added value: +"Required for: create; optional for: update."
    • addedInput schema / properties / title / description
      Added value: +"Required for: create; optional for: update."
    • changedInput schema / properties / valueCents / description
      Previous value: -"In the account's default currency (deals have no currency of their own)."New value: +"Used by: create, update. In the account's default currency (deals have no currency of their own)."
  4. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false; the description adds real substance beyond them: delete is a soft delete, update leaves omitted fields unchanged, stageId assignment moves the deal between stages, and restore via deletedAt undoes an entire prior delete. Remaining gaps are permissions requirements and pagination/return behavior for create.

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?

A single dense sentence organized by action, with the highest-risk operation (delete) flagged inline rather than buried. No filler, and the action list is front-loaded right after the verb.

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

Completeness3/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 tool with no output schema, the description covers action selection and the delete/restore lifecycle well but omits what create returns (the new id), whether delete accepts only a single id, and never mentions lostReason or valueCents semantics. Adequate, not complete.

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

Parameters3/5

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

Schema description coverage is 83%, so the schema already documents most parameters including their action applicability. The description adds only marginal semantics ('stageId moves it', 'ids from deals_list deleted') and says nothing about lostReason or the currency implication of valueCents.

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?

Opens with a broad verb ('Change deals') but immediately enumerates the four supported operations (create/update/delete/restore), which pins the resource down. It also distinguishes itself from siblings by naming deal_stages_list as the source of stageId and deals_list as the source of restore ids, so the agent knows this is the write counterpart to those readers.

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?

Each action carries a short usage cue: create needs title and stageId from deal_stages_list, restore takes ids from deals_list deleted, delete is soft and should be confirmed first. That is clear per-action context, though there is no explicit 'do not use this for X, use sibling Y instead' exclusion.

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