Skip to main content
Glama

SeoAiX SEO Audit

publish_draft

Publish ONE ready article draft live on the user's own Shopify store (ids from list_pending_approvals). Takes TWO calls. Call it first WITHOUT confirmToken: nothing changes, and you get a preview plus a confirmToken (valid 10 minutes, single use). Show the preview to the user and ask them. Only if they clearly say yes, call again with the same arguments plus that confirmToken. Never confirm on your own judgement, and never loop over many items. Needs a key with the "approve" permission.

Input Schema

NameRequiredDescriptionDefault
idYesDraft id from list_pending_approvals
api_keyNoStore-bound SeoAiX API key (inxy_sk_…). Optional if already sent as an Authorization: Bearer header.
confirmTokenNoOnly on the second call, from the preview

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations provided, the description carries the full behavioral burden and does so well. It discloses that the first call changes nothing, the second publishes live, the confirmToken is valid for 10 minutes and single-use, and an approve-permission key is required.

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?

The description is front-loaded with the core purpose and then lays out the two-step protocol and constraints. Every sentence contributes operational guidance, with no redundant filler.

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?

Given a three-parameter mutation tool with no annotations and no output schema, the description covers the essential call sequence, safety checks, token behavior, and permission needs. It provides enough context for an agent to invoke the tool correctly without needing further structured metadata.

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 baseline is 3. The description adds useful meaning beyond the schema by explaining the confirmToken lifecycle and the permission requirement tied to api_key, though it does not detail every parameter nuance.

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?

The description states a specific verb and resource: publish one ready article draft live on the user's Shopify store. It also identifies the source of the id via list_pending_approvals, making it clearly distinguishable from sibling tools.

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?

It explicitly defines the two-call workflow: first without confirmToken to preview, then only after clear user approval with the token. It also rules out autonomous confirmation and looping over many items, leaving no ambiguity about when and how to use the tool.

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.