Skip to main content
Glama
MAASAI-Labs

X Marketplace Seller MCP

by MAASAI-Labs

Approve / complete / cancel a deal

approve_deal

Approve, complete, or cancel a marketplace deal: confirm an action to mark it agreed and reserve the listing, mark it sold, or cancel and reopen the listing; without confirm, returns a preview.

Instructions

Human-approval step. action 'approve' (requires confirm:true) marks the deal agreed and reserves the listing; 'complete' marks it sold; 'cancel' cancels and re-opens the listing. Without confirm only a preview is returned.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYes
dealIdYes
confirmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the mutation/safety profile is partly covered. The description usefully adds the confirm gate and preview fallback plus side effects (reserves/re-opens the listing), but does not state whether 'complete' and 'cancel' also honor the confirm preview behavior, leaving the confirmation contract only half disclosed.

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 dense sentences with the gating rule front-loaded and no filler; every clause adds operational meaning.

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 three-parameter mutation tool with no output schema, the description covers the destructive actions and the preview path adequately. The remaining gap is whether confirm:true is also required for 'complete' and 'cancel', which an agent would need to call the tool correctly.

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 parameter meaning. It explains the 'action' enum values well and clarifies 'confirm' semantics, but says nothing about 'dealId' and leaves the confirm requirement ambiguous for two of the three actions, so it only partially compensates for the coverage gap.

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 a specific operation and enumerates the three action values with their distinct effects ('approve' reserves the listing, 'complete' marks sold, 'cancel' re-opens the listing). This lets an agent distinguish it from nearby siblings like propose_deal and negotiate_offer. It stops short of explicitly naming a sibling it replaces or excludes.

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?

It gives clear per-action context for when each mode applies and adds a meaningful precondition (approve requires confirm:true). There is no explicit 'when-not' guidance or named alternative tool, so it lands at clear-context-but-no-exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.