Skip to main content
Glama
FLUF-io

@fluf/mcp

Official
by FLUF-io

approve_draft

Approve a review draft and send it to the marketplace, optionally correcting fields first, to resolve a failed draft and publish the listing.

Instructions

Approve a review draft and send it to the marketplace, optionally correcting fields first — the way to resolve a failed draft. Read the draft with list_drafts before calling this, take the new value from the product's own details (its measured size, its actual brand), and confirm with the user before you send: this publishes a real listing. state comes back as listed (live now), pending (accepted, publishes shortly — do not resend) or failed (the marketplace refused again; message says why and draft is the refreshed draft to try once more). Requires Pro plan (API tokens on lower plans are read-only and the request will return a 403 'plan limit' error).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
editsNoField name → new value, using the keys from the draft's `fields` (only fields marked `editable: true`). For a `select` field send one of its `options` values; a multi-select field (colours) takes an array of them. Omit to send the draft exactly as it stands.
draft_idYesThe draft's `id` from list_drafts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.7

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and delivers: it warns this publishes a real listing, discloses the Pro-plan requirement and the resulting 403 'plan limit' error, and explains the return contract for every `state` value (listed/pending/failed) including that `failed` refreshes the draft and that `pending` must not be resent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded in the first clause and every sentence carries operational content. It is dense rather than padded, though the long single paragraph packs several distinct concerns (precondition, sourcing, confirmation, plan gating, return states) that could be marginally tighter.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, but the description compensates by fully enumerating the `state` outcomes and the `message`/`draft` fields carried on failure. For a nested-object, plan-gated mutation tool, nothing an agent needs to call it correctly is missing.

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 `edits` semantics are already documented. The description still adds value by framing `edits` as optional correction and telling the agent where new values should come from (measured size, actual brand), which is guidance the schema does not provide.

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+resource ('Approve a review draft and send it to the marketplace') with an explicit secondary capability ('optionally correcting fields first'). It also distinguishes itself from the sibling list_drafts, which is framed as the read step that precedes it.

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

Usage Guidelines5/5

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

Gives explicit when-to-use ('the way to resolve a `failed` draft'), a required precondition (read the draft with list_drafts first), a data-sourcing rule (take the value from the product's own details), and a gating action (confirm with the user before sending). It also names a when-not-to-act case: re-sending on a `pending` result.

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