Skip to main content
Glama

Sigmora

Dismiss a store ad draft

product_drafts_reject
DestructiveIdempotent

Dismiss a store ad draft (queued, ready or failed). Free.

REST: POST /v1/product-drafts/{draftId}/reject.

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": {
      "draftId": "<draftId>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "product_drafts_reject"
  }
}

Input Schema

NameRequiredDescriptionDefault
draftIdYesThe draft (`drafts[].id` from GET /v1/product-drafts).
workspaceNoWorkspace slug. Omit to use the workspace your credential is bound to. An API key names its own workspace, and a value that disagrees with it is refused rather than ignored.
idempotencyKeyYesRequired for anything that spends or creates durable state. Generate a unique id per logical call. Retrying with the SAME id and the SAME arguments returns the stored result instead of doing — and charging for — the work twice; the same id with different arguments is refused with `conflict`.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the mutation and retry profile is covered. The description adds two useful facts beyond that: the call is free and it applies only to unreleased drafts in three states. It does not say whether dismissal is reversible or what happens to the underlying ad data, which matters for a destructive operation.

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 short lines: the operation with its state scope and cost first, the REST endpoint second. Nothing is padded and the key constraint is front-loaded.

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?

With rich annotations and an output schema, the description only needs to carry scope, cost and targeting, which it does. The one gap worth noting for a destructive tool is the absence of any statement about reversibility or side effects on the draft.

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 100%, with draftId, workspace and idempotencyKey all documented in the schema including the idempotency retry semantics. The description adds no parameter meaning beyond that, so the baseline of 3 applies.

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 gives a specific verb plus resource, 'Dismiss a store ad draft', and scopes it to drafts in queued, ready or failed state. It is clearly distinguishable from approve/push siblings by the verb alone, though it never names an alternative explicitly.

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?

Applicability is stated through the parenthetical '(queued, ready or failed)', which tells the agent which draft states accept the call. There is no guidance on when to dismiss versus approve/push, and no note on preconditions such as required permissions or what happens if the draft is already published.

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