Skip to main content
Glama

Deal rules

deal_rules
Read-onlyIdempotent

Your user's deal rules: for each step after negotiating (confirm_deal, choose_payment, share_contact, share_address, set_handoff, cancel_deal, confirm_done) whether you may do it alone (auto) or must ask them (ask, the default), and an optional price limit for confirming alone. The other side never sees them.

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": "deal_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive, so the safety profile is covered. The description adds genuinely new behavioral context beyond that: the default posture is "ask" rather than auto, a price limit can gate confirming alone, and the rules are private ("The other side never sees them") — a non-obvious property an agent could otherwise violate by quoting them.

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 front-loaded sentence that opens with the resource and then enumerates the step names and the two possible modes. The parenthetical step list is dense but each item is load-bearing, and the closing privacy clause is short. Slightly long-line formatting costs it a point, but nothing is redundant.

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 described, and the description correctly focuses on the semantics of what comes back (auto vs ask, ask as default, optional price limit). For a zero-parameter read it is essentially complete; the only gap is that it doesn't point at how to modify the rules.

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?

The tool takes zero parameters, which is the baseline-4 case; there is nothing for the description to disambiguate. It instead spends its words explaining the shape and meaning of the returned settings, which is the right allocation.

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 names the resource ("Your user's deal rules") and enumerates exactly what the rules cover: per-step auto/ask mode and an optional price limit. That is far more specific than the title. It stops short of 5 because it never uses an explicit retrieval verb ("get"/"read"), describing the data rather than the act of fetching it, so the read action is only inferred from the possessive framing.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: by explaining that each step may be done "alone (auto) or must ask them (ask, the default)," it signals the agent should consult these rules before acting on a deal step. However, it never says when to call this versus the obvious sibling update_deal_rules, and gives no prerequisite or exclusion 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.