Skip to main content
Glama

autoseo_connect_site

START HERE for AutoSEO on a new site. Connects ONE of four connector kinds (least intrusive first) and returns { id, kind, publicToken, capabilities } (plus hostedUrl for "hosted"). Pick the kind: "hosted" is the ZERO-SETUP DEFAULT and needs only name; TimeToPost hosts and server-renders the blog (JSON-LD, sitemap, robots AI-crawler allow-list), nothing to install, works for ANY site, pick it when unsure. "wp_rest" connects WordPress over its REST API (no plugin); connect runs the real capability probe, so a bad credential fails here with the exact reason. "git_pr" commits Markdown/MDX articles to a GitHub repo for the user's own CI to deploy (a pull request per article by default); connect verifies write access and auto-detects the site generator, returned as capabilities.detected (confirm contentDir with the user if ssg is "unknown"). "webhook" is the most-control path for any stack: TimeToPost POSTs HMAC-signed payloads to your endpoint; then call autoseo_integration_kit, install the /autoseo-publish endpoint in the user's codebase, and confirm with autoseo_verify_site. Required fields per kind are on the matching inputs. After ANY kind: autoseo_configure, then autoseo_propose_topics or autoseo_generate_post. capabilities refreshes on every autoseo_verify_site; publicToken is only needed for autoseo_integration_kit renderMode "ssr-hosted" (set as AUTOSEO_PUBLIC_TOKEN). CAPABILITY: draft: creates content that cannot reach an audience on its own. Safe for a draft-only agent token.

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": {
      "kind": "<kind>",
      "name": "<name>"
    },
    "name": "autoseo_connect_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoRequired for kind "wp_rest": the WordPress site URL (a bare domain is fine)
kindYesConnector kind: "hosted" (zero-setup default, only name needed, we host the blog), "wp_rest" (WordPress REST, url + username + appPassword), "git_pr" (GitHub repo, token + repo, optional branch/contentDir/mode), "webhook" (signed receiving endpoint, endpointUrl + optional signingSecret)
modeNogit_pr: "pr" (default) opens a pull request per article, a git-native approval gate; "direct" commits straight to the branch
nameYesHuman-readable label for this site, shown in the dashboard
repoNoRequired for kind "git_pr": the repository as "owner/name" (a github.com URL also works)
tokenNoRequired for kind "git_pr": a GitHub fine-grained PAT or App installation token with contents:write on the repo
branchNogit_pr: base branch for commits/PRs; omit to use the repo's default branch
usernameNoRequired for kind "wp_rest": the WP username the Application Password belongs to
contentDirNogit_pr: directory article files land in; omit to auto-detect from the repo (e.g. content/blog, _posts)
appPasswordNoRequired for kind "wp_rest": a WordPress Application Password (WP Admin → Users → Profile → Application Passwords)
endpointUrlNoRequired for kind "webhook": URL TimeToPost will POST signed articles to
signingSecretNowebhook: HMAC secret used to sign payloads; omit to let the backend generate one

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare openWorldHint=true, idempotentHint=false, and destructiveHint=false, but the description goes beyond them: connect performs a live capability probe so bad credentials fail here with the exact reason, git_pr verifies write access and auto-detects the site generator into capabilities.detected, and publicToken is only needed for renderMode "ssr-hosted". It also discloses the return shape and that capabilities refreshes on every autoseo_verify_site, which is genuinely behavioral context not present in the annotations.

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?

The critical routing guidance is front-loaded in the first two sentences, and the per-kind breakdown follows a consistent pattern. It is dense and parenthetical-heavy in places (e.g. the JSON-LD/sitemap/robots aside), but nearly every clause carries selection or sequencing information an agent needs.

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?

For a tool with 12 parameters and no output schema, the description compensates by naming the return fields ({ id, kind, publicToken, capabilities }, plus hostedUrl for hosted) and by documenting the post-connect workflow. Requirements are conditionally scoped per kind, and the capability restriction (`draft`) is disclosed, so nothing essential to a 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 schema already documents each parameter; the description still adds value by stating "Required fields per kind are on the matching inputs" and by tying parameters to conditions (hosted needs only name, contentDir should be confirmed with the user when ssg is "unknown", publicToken maps to AUTOSEO_PUBLIC_TOKEN). It stops short of restating per-field formats, which the schema handles.

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 opens with a specific action and resource ("Connects ONE of four connector kinds") and names each kind with its own verb-level distinction (hosts and server-renders, connects WordPress over REST, commits Markdown to a GitHub repo, POSTs HMAC-signed payloads). An agent can tell exactly which shape of connection this tool creates versus sibling tools like autoseo_verify_site or autoseo_integration_kit.

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 states the entry condition explicitly ("START HERE for AutoSEO on a new site"), gives a selection default ("hosted" is the ZERO-SETUP DEFAULT... pick it when unsure), and provides per-kind decision criteria including when to prefer git_pr's PR approval gate or webhook's control. It also closes the loop with the required follow-on sequence: autoseo_configure, then autoseo_propose_topics or autoseo_generate_post.

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.