Skip to main content
Glama

market_accept

Destructive

Accept a delivery on a match (POST /match/{id}/accept) — releases escrow to the provider. You must be the buyer party; the backend enforces it.

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": {
      "match_id": "<match_id>"
    },
    "name": "market_accept"
  }
}

Input Schema

NameRequiredDescriptionDefault
match_idYesThe marketplace match id (UUID). You must be its buyer.
idempotency_keyNoYour own opaque key: the same key accepts once, never twice.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedInput schema / properties / idempotency_key / default
      Removed value: -null
    • removedInput schema / properties / idempotency_key / title
      Removed value: -"Idempotency Key"
    • removedInput schema / properties / match_id / title
      Removed value: -"Match Id"
    • removedInput schema / title
      Removed value: -"market_acceptArguments"
    • removedOutput schema / title
      Removed value: -"market_acceptDictOutput"
  2. Changed2 schema fields changed
    • addedInput schema / properties / idempotency_key / description
      Added value: +"Your own opaque key: the same key accepts once, never twice."
    • addedInput schema / properties / match_id / description
      Added value: +"The marketplace match id (UUID). You must be its buyer."
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "title": "market_acceptDictOutput",
      +  "type": "object"
      +}
  4. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false; the description adds real value beyond them by disclosing the consequence (escrow released to the provider) and an authorization constraint enforced server-side. It stops short of saying the release is irreversible or what happens on a rejected accept.

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?

Two tight sentences: action and effect first, then the permission constraint. No restated boilerplate and nothing that could be cut.

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 needn't be described, and the mutation's safety profile plus auth requirement are covered. The only gap is failure/irreversibility behavior for a destructive escrow-releasing call.

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 100%, so both match_id and idempotency_key are fully documented in the schema, including the buyer-ownership requirement and the single-use key rule. The description adds nothing parameter-specific beyond that, so baseline 3 applies.

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 ('Accept'), resource ('a delivery on a match'), the underlying endpoint, and the material effect ('releases escrow to the provider'). This is clearly distinguishable from siblings like market_provide or market_match 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 Guidelines3/5

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

It gives a hard precondition ('You must be the buyer party; the backend enforces it'), which implies when the tool is callable, but it names no alternatives and no explicit when-not-to-use case (e.g. dispute, rematch paths such as market_request_rematch).

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