Skip to main content
Glama

Coinage

Counter offer

counter_offer
Idempotent

Counter an open offer with a different amount. Requires scope trading:write. Ask the person before calling. The previous offer stays in the lineage. The amount must meet the seller's private floor, which is never returned.

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": {
      "offerId": "<offerId>",
      "amount": "<amount>"
    },
    "name": "counter_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesPrice in integer US cents.
offerIdYes
idempotencyKeyNoClient retry key. 8 to 128 letters, digits, underscores, or hyphens.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial context the annotations cannot convey: the required auth scope, the human confirmation requirement, the lineage behavior (the prior offer is preserved, not deleted), and the hidden validation constraint (the seller's private floor). This is exactly the kind of what-happens-and-what-can-fail information annotations don't carry.

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?

Five short sentences, purpose front-loaded, then permission, then human-confirmation, then side effects, then validation. Nothing is redundant and each clause adds a distinct decision-relevant fact.

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?

For a mutation tool with no output schema, the description covers auth, safety, side effects, and validation well. It does not say what a successful call returns (a new offer object, its id, its status) or how a below-floor amount fails, which are the remaining gaps.

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?

Schema coverage is 67% and offerId has no schema description; the description implies it identifies the offer being countered. The 'amount' parameter gains meaning beyond 'integer US cents' by being bound to the seller's private floor, which is a real validity rule the schema cannot express.

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?

States a specific verb and resource ('Counter an open offer with a different amount') and scopes it to open offers, which cleanly separates it from accept_offer, reject_offer, withdraw_offer, and submit_offer without needing to name them.

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?

Gives a concrete prerequisite (scope trading:write) and an explicit interaction rule ('Ask the person before calling'), so an agent knows the gating conditions. It stops short of naming when to pick this over accept/reject, but the 'different amount' framing makes that choice largely self-evident.

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