Skip to main content
Glama

SeoAiX SEO Audit

publish_draft

Publish ONE ready article draft live on the user's own store (its Shopify blog, or the SeoAiX-hosted blog for a software site) (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.

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": {
      "id": "<id>"
    },
    "name": "publish_draft"
  }
}

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.8/5.0
Behavior5/5

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

No annotations are supplied, so the description carries the full burden and does: it discloses that the first call is a no-op returning a preview plus a single-use, 10-minute confirmToken, that the second call must repeat the same arguments, and that an 'approve'-scoped key is required. This is exactly the mutating-behavior disclosure an agent needs for a publish operation.

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?

Front-loaded with the action and scope, then the two-call protocol, then the safety rule and permission. Nearly every sentence adds a distinct constraint, though the stacked parentheticals in the first sentence ('(its Shopify blog...)(ids from list_pending_approvals)') make the opening slightly cluttered.

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 mutation tool with no annotations and no output schema, the description covers the safety profile, the confirmation protocol, token lifetime, permission requirements, and where ids originate. Nothing essential for correct invocation 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 baseline is 3, but the description adds meaning beyond the schema: it explains why confirmToken appears only on the second call, that arguments must be identical between calls, and that the token expires in 10 minutes and is single-use. The id's provenance from list_pending_approvals is reinforced rather than newly explained.

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 ('Publish') and resource ('ONE ready article draft live on the user's own store'), scopes the destination (Shopify blog vs SeoAiX-hosted blog), and points to the sibling list_pending_approvals as the id source. This clearly distinguishes it from read-only siblings like list_pending_approvals or get_store_status.

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?

Explicitly prescribes the call sequence (first without confirmToken, then with it after user approval), names the precondition (ids come from list_pending_approvals), states the permission requirement ('approve' key), and gives exclusions ('Never confirm on your own judgement, and never loop over many items'). An agent knows exactly when and how to invoke it.

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.