Skip to main content
Glama

respond_to_negotiation

Idempotent

Question, answer, propose/counteroffer, accept exact terms, decline or close. Requires current revision, idempotency key and merchant:work. Acceptance never signs or pays.

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": {
      "id": "<id>",
      "action": "<action>"
    },
    "name": "respond_to_negotiation"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
actionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Beyond readOnlyHint=false and idempotentHint=true, the description adds real behavioral context: optimistic concurrency via expectedRevision, idempotency keys, the merchant:work auth scope, and the crucial boundary that acceptance never signs or pays. It does not say what happens on a stale revision (error vs. conflict) or whether decline/close are terminal and irreversible.

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?

Two dense sentences with the action list front-loaded and constraints second; nothing is filler. Density tips into terseness in places ("merchant:work", "accept exact terms") that require prior knowledge to decode.

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

Completeness3/5

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

For a tool with five distinct action shapes and a nested terms object, no output schema and no descriptive annotations, the description covers the action surface, prerequisites, and the key non-side-effect guarantee. It leaves out error/conflict behavior on revision mismatch, what a successful accept returns, and any guidance on revision retrieval, which an agent would need in practice.

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 the load; it names expectedRevision and idempotencyKey and clarifies that accept is against exact terms (the termsHash path) while counteroffer reuses propose. It does not explain termsHash derivation, the paymentTerms enum options, or how the nested terms object is populated, leaving the heaviest parameters to the raw 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 enumerates the concrete actions the tool performs (question, answer, propose/counteroffer, accept, decline, close), which maps cleanly onto the schema's action kinds and makes the operation recognizable. It never explicitly names the resource being responded to (a negotiation thread) nor distinguishes itself from siblings like accept_work_ticket_quote, so it falls short of 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 Guidelines3/5

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

The prerequisites (current revision, idempotency key, merchant:work scope) implicitly tell the agent when the call is valid, but there is no explicit when-to-use/when-not guidance and no routing to alternatives. An agent must infer that pre-contract negotiation traffic belongs here while work-ticket quote acceptance belongs elsewhere.

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