Skip to main content
Glama

Coinage

Submit offer

submit_offer
Idempotent

Submit the buyer's offer on a conversation. Requires scope trading:write. Ask the buyer before calling. The amount is integer US cents and must meet the seller's private floor. The floor is never returned. Pass idempotencyKey so a retry does not create a second offer.

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

Input Schema

NameRequiredDescriptionDefault
amountYesPrice in integer US cents.
listingIdNoListing id, when the buyer's thread already exists.
conversationIdNoConversation id from start_conversation.
idempotencyKeyNoClient retry key. 8 to 128 letters, digits, underscores, or hyphens.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, so safety is partly covered. The description adds real behavioral context beyond them: the hidden seller floor that silently constrains success, the fact that the floor value is unreachable, and the write scope required. It stops short of saying what happens on a below-floor rejection or what the call returns.

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, front-loaded with purpose, then requirement, consent, value constraint, and retry guidance. No sentence is redundant and the ordering matches the order an agent needs the facts.

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 four-parameter mutation with no output schema and no annotation coverage of the domain constraints, the description supplies the key hidden rule (the private floor) and the idempotency contract. It does not describe the failure mode when the amount is below the floor or what the successful response contains, 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 100%, so the schema already defines all four parameters. The description nonetheless adds meaning the schema does not: the amount 'must meet the seller's private floor' and the floor is 'never returned', plus 'Pass idempotencyKey so a retry does not create a second offer', which explains the retry intent behind an already-documented field.

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 and resource: 'Submit the buyer's offer on a conversation.' It is clearly a write action scoped to a conversation thread. It does not explicitly contrast itself with siblings like counter_offer or accept_offer, so an agent must infer the distinction from the verb alone.

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?

'Ask the buyer before calling' gives an explicit precondition for invocation, and 'Requires scope trading:write' states an access requirement. It lacks an explicit when-not statement or a named alternative for related flows (e.g., countering instead of submitting), which keeps it below a 5.

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