Skip to main content
Glama

Sigmora

Approve a store ad draft

product_drafts_approve
DestructiveIdempotent

Approve a store ad draft: renders its final (charged by the render path) and pushes it to the rule's destinations.

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

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_approve"
  }
}

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

B3.3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is covered. The description does add genuinely new context: the action is charged via the render path and pushes to external destinations. However it omits whether approval is reversible or what happens on render failure, which matters for a destructive, charging 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 compact sentences front-load the action and its consequences, followed by the REST route for orientation. Every clause carries information; there is no padding or repetition of the title.

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?

An output schema exists, so return values need not be explained, and the cost/side-effect disclosure is a real plus. Still, for a destructive, charged mutation the description leaves out reversibility and required draft state, which are the details an agent most needs before calling it.

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%, and the schema itself explains draftId, workspace binding, and idempotency/conflict semantics in detail. The description adds no parameter-level 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?

States a specific verb (approve) and resource (store ad draft) and adds the two resulting effects: rendering the final and pushing to the rule's destinations. It does not explicitly differentiate itself from siblings such as product_drafts_push, product_drafts_reject, or the other *_approve tools, so an agent must infer the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no when-to-use / when-not-to-use guidance and no mention of alternatives, despite several plausible siblings (push, reject, sigma_approve). The description implies usage by describing effects, but it never states preconditions such as the draft needing to be in a pending state, nor when to choose push instead of approve.

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