Skip to main content
Glama

Mark deal lost

mark_deal_lost
DestructiveIdempotent

Mark a deal as lost with a reason, e.g. "Budget moved to 2027".

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": {
      "dealId": "<dealId>",
      "lossReason": "<lossReason>"
    },
    "name": "mark_deal_lost"
  }
}

Input Schema

NameRequiredDescriptionDefault
dealIdYes
lossReasonYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, idempotentHint=true, and openWorldHint=false, so the safety profile is covered elsewhere. The description adds essentially nothing beyond that: it does not say whether the state change is reversible, what happens to the deal's stage/pipeline position, or whether the loss reason is surfaced to other users.

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?

A single short sentence with the core action front-loaded and an inline example that earns its place. No filler, though it is brief enough that the terseness is more a gap in coverage than a virtue.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter, non-idempotent-by-name but destructive mutation with rich annotations and no output schema, the description gives the essential action and the meaning of the one non-obvious argument. Nothing critical to invoking it correctly is missing, even if richer behavioral notes would be a bonus.

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 0%, so the description must carry meaning. It explains that lossReason is free-text justification and gives a realistic example ('Budget moved to 2027'), which helps an agent phrase the value, but dealId is left entirely to its self-evident name and nothing is said about the 500-character bound or validation behavior.

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 ('Mark a deal as lost') plus the accompanying input ('with a reason'), so the operation is unmistakable. It does not explicitly differentiate from siblings such as mark_deal_won, delete_deal, or move_deal_stage, which keeps it from a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

The description offers no when-to-use guidance, no prerequisites (e.g. deal must be open), and no mention of the obvious alternative mark_deal_won or of move_deal_stage for pipeline changes. Usage is only inferable from the verb itself.

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.