Skip to main content
Glama

mcp-wordpress-com__wpcom-checkout-url

Read-only

Generates a WordPress.com checkout link for plan purchases, domain registrations, or subscription renewals. Returns a ready-to-use checkout_url the user can open to complete the transaction. A "domain_transfer" product returns url_type "domain-transfer" and a link to the transfer flow instead, because a transfer needs the authorization code from the current registrar. Three modes (provide exactly one): (1) "products" - an array of up to 10 items with "product_slug" (plus optional "meta" for domain names and "quantity" for per-seat plans) to start a new checkout; optionally pass "wpcom_site" to tie the checkout to an existing site. (2) "subscription_id" - direct renewal when the subscription ID is known. (3) "renewal_product" + "wpcom_site" - direct renewal when only the product (slug or ID) and the site are known; the tool resolves the active subscription. Premium's plan slug is "value_bundle" (underscore); all other plan slugs use hyphens.

For plan slugs, prefer those returned by wpcom/plans-list. Through Royally: its server marks it read-only, so it runs straight away.

Input Schema

NameRequiredDescriptionDefault
site_idNoSite to run this tool on: 1484d0f5-e153-4114-b09b-6d03462b465a (https://public-api.wordpress.com/wpcom/v2/mcp/v1)
productsNoProducts to add to the cart for a new purchase. Provide exactly one of: products, subscription_id, or renewal_product.
wpcom_siteNoWordPress.com site identifier (numeric blog ID or site URL/slug). Required with "renewal_product". Optional with "products" to bind the checkout to an existing site.
renewal_productNoRecognized Store product slug, billing variation slug, or numeric product ID to renew. Requires "wpcom_site". Looks up the current user's active subscription for this product on the specified site.
subscription_idNoStore subscription ID for a direct renewal URL. Use when the ID is known.

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?

Adds value beyond the annotations by disclosing the return payload (checkout_url, url_type) and the non-obvious branching where a domain_transfer product returns url_type "domain-transfer" plus a transfer-flow link because an authorization code is needed. It is consistent with readOnlyHint=true and destructiveHint=false, but the trailing "Through Royally… runs straight away" sentence is tooling noise rather than behavioral disclosure, and auth/account requirements are unstated.

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 numbered list of three modes is well front-loaded and scannable, and the transfer caveat is placed before the mode enumeration where it matters. A few clauses duplicate the schema ("up to 10 items", quantity wording) and the final "Royally" sentence adds confusion rather than information.

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?

There is no output schema, and the description compensates by naming the returned fields and the alternate return shape for transfers. Combined with full mode routing and the slug convention, an agent has everything needed to pick a mode and build a correct call.

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, and the description earns an increment by adding the plan-slug convention not present in the schema: Premium's slug is "value_bundle" with an underscore while all other plan slugs use hyphens. It also restates the mode exclusivity and the max-10 cart size, which are already in the schema, so it stops short of a 5.

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 and resource ("Generates a WordPress.com checkout link") and enumerates the exact domains it covers: plan purchases, domain registrations, subscription renewals. It also distinguishes the domain_transfer special case and points to the wpcom/plans-list sibling, so an agent can separate it from wpcom-domain-purchase without opening a schema.

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 says "provide exactly one" of three modes and describes the condition selecting each: products for a new cart, subscription_id when the ID is known, renewal_product + wpcom_site when only product and site are known. It also names an alternative source of truth ("prefer those returned by wpcom/plans-list"), which is exactly the when-to-use guidance an agent needs.

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