Skip to main content
Glama
AskBase

AskBase

Official

decide_deal_suggestion

Accept or dismiss a deal suggestion to create a new deal, advance a deal, or flag it at risk; adjust deal details as needed and confirm the decision with the user first.

Instructions

Accept or dismiss a deal suggestion. Accepting a new_deal creates the deal (you can adjust name, amount, currency, close date); advance moves the deal; at_risk flags it. Confirm with the user first.

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": {
      "suggestion_id": "<suggestion_id>",
      "decision": "<decision>"
    },
    "name": "decide_deal_suggestion"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNonew_deal: deal name to use
amountNonew_deal: amount to use
currencyNonew_deal: ISO currency
decisionYesaccept or dismiss
suggestion_idYesSuggestion ID from list_deal_suggestions
expected_close_dateNonew_deal: YYYY-MM-DD

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden, and it does useful work by disclosing the per-decision side effect (accepting a new_deal actually creates a deal; advance moves; at_risk flags). It omits what dismiss does to the underlying record, whether acceptance is reversible, and any permission requirements. Solid but incomplete for a mutation tool with zero annotation coverage.

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?

Two sentences, front-loaded with the core action, then outcome mapping, then the safety caveat. Every clause carries information and nothing is padded.

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?

With an output schema present, return values need not be explained, and all six parameters are documented in the schema. The description covers side effects and the confirmation requirement, leaving only edge cases such as overhauling an existing deal on 'advance' or post-dismiss state recovery.

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 coverage is 100% and each optional parameter already carries a 'new_deal: ...' description, so the schema does the heavy lifting. The description's parenthetical about adjusting name, amount, currency, and close date largely restates that. Baseline 3 applies since little meaning is added beyond the schema.

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?

The description opens with a specific verb pair and resource: 'Accept or dismiss a deal suggestion.' It then maps each decision outcome (new_deal creates, advance moves, at_risk flags), which lets an agent distinguish this from create_deal or move_deal without opening schemas. It stops short of naming those siblings explicitly, so it lands at 4 rather than 5.

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?

Usage context is clear: the tool operates on a suggestion from list_deal_suggestions, and it adds an explicit procedural rule, 'Confirm with the user first.' It does not state when to prefer create_deal/move_deal directly over deciding a suggestion, so exclusions are absent.

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