Skip to main content
Glama

Update deal rules

update_deal_rules

Change your user's deal rules for the steps after a price is agreed, only as they tell you: auto = you may do that step alone, ask = ask them each time. Prices are not set here: for each item you ask your user whether you may close the deal alone and up to / from what price, and save that with save_price_range (no range = ask before every price). Turning a step to auto answers with a confirm_url: give it to your user as is and never open it yourself. Changes that make you ask more apply at once.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "update_deal_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
cancel_dealNo
set_handoffNo
confirm_doneNo
share_addressNo
share_contactNo
user_approvedNo
choose_paymentNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • removedInput schema / properties / clear_confirm_deal_max
      Removed value: -{
      -  "default": false,
      -  "title": "Clear Confirm Deal Max",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / clear_confirm_sale_min
      Removed value: -{
      -  "default": false,
      -  "title": "Clear Confirm Sale Min",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / confirm_deal
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "enum": [
      -        "auto",
      -        "ask"
      -      ],
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "title": "Confirm Deal"
      -}
    • removedInput schema / properties / confirm_deal_max_amount
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "integer"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "title": "Confirm Deal Max Amount"
      -}
    • removedInput schema / properties / confirm_deal_max_currency
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "title": "Confirm Deal Max Currency"
      -}
    • removedInput schema / properties / confirm_sale_min_amount
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "integer"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "title": "Confirm Sale Min Amount"
      -}
    • removedInput schema / properties / confirm_sale_min_currency
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "title": "Confirm Sale Min Currency"
      -}
    • removedInput schema / properties / only_in_range
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "boolean"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "title": "Only In Range"
      -}
  2. Changed4 schema fields changed
    • addedInput schema / properties / clear_confirm_sale_min
      Added value: +{
      +  "default": false,
      +  "title": "Clear Confirm Sale Min",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / confirm_sale_min_amount
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Confirm Sale Min Amount"
      +}
    • addedInput schema / properties / confirm_sale_min_currency
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Confirm Sale Min Currency"
      +}
    • addedInput schema / properties / only_in_range
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Only In Range"
      +}
  3. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare the operation is a non-read-only, idempotent=false, non-destructive write, so the baseline is covered. The description adds genuinely useful behavior beyond that: the confirm_url must be handed to the user and never opened, and stricter rules take effect immediately. That immediacy claim implicitly contrasts with other changes whose timing is left unstated, so the asymmetry is only half-explained.

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?

The description is front-loaded with the core purpose and every sentence carries content about consent, confirm_url handling, or price routing. The middle sentence about asking per item is dense and reads as a run-on, and the irregular indentation adds noise, but there is no filler.

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?

An output schema exists, so return values need not be explained, and annotations cover the safety profile. The remaining gap is the undocumented user_approved flag plus what happens to rule changes that loosen autonomy (the description only says stricter changes apply at once), which leaves an agent unsure how to call it correctly on a consent-sensitive mutation.

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 0%, so the description carries the full burden. It successfully defines the auto/ask enum meaning shared by six parameters, which is real added value. However, the seventh parameter, user_approved (boolean, default false), is never mentioned, and no individual step (cancel_deal, share_address, etc.) is described beyond its self-explanatory name.

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?

"Change your user's deal rules for the steps after a price is agreed" gives a specific verb, resource, and scope, and the auto/ask semantics are defined inline so the agent knows what a rule is. It also draws a hard boundary against save_price_range ("Prices are not set here"), making it distinguishable from the nearest sibling without opening a 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?

The description states the governing condition ("only as they tell you") and routes price-setting to save_price_range, which is clear when-to-use guidance. It stops short of stating when the tool should not be called at all beyond that single exclusion, and it doesn't cover partial updates vs. setting every step at once.

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.